hr-design-system-handlebars 1.110.10 → 1.110.12
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 +24 -0
- package/dist/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +2 -0
- package/dist/assets/index.css +55 -48
- package/dist/views/components/forms/choice.hbs +6 -5
- package/dist/views/components/forms/controls.hbs +3 -3
- package/dist/views/components/forms/input.hbs +4 -25
- package/dist/views/components/forms/message.hbs +4 -5
- package/dist/views/components/forms/select.hbs +4 -4
- package/dist/views/components/forms/textarea.hbs +3 -3
- package/dist/views_static/components/forms/choice.hbs +6 -5
- package/dist/views_static/components/forms/controls.hbs +3 -3
- package/dist/views_static/components/forms/input.hbs +4 -25
- package/dist/views_static/components/forms/message.hbs +4 -5
- package/dist/views_static/components/forms/select.hbs +4 -4
- package/dist/views_static/components/forms/textarea.hbs +3 -3
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +3 -1
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +2 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +2 -0
- package/src/assets/css/custom-utilities.css +1 -1
- package/src/assets/tailwind.css +11 -0
- package/src/stories/views/components/forms/choice.hbs +6 -5
- package/src/stories/views/components/forms/controls.hbs +3 -3
- package/src/stories/views/components/forms/input.hbs +4 -25
- package/src/stories/views/components/forms/message.hbs +4 -5
- package/src/stories/views/components/forms/select.hbs +4 -4
- package/src/stories/views/components/forms/textarea.hbs +3 -3
- package/tailwind.config.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.110.12 (Thu Oct 17 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- reactivate error icon in message.hbs [#1116](https://github.com/mumprod/hr-design-system-handlebars/pull/1116) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.110.11 (Wed Oct 16 2024)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Forms colors and spacing v2 [#1115](https://github.com/mumprod/hr-design-system-handlebars/pull/1115) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.110.10 (Wed Oct 16 2024)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hessenschau . d e",
|
|
194
196
|
"meta_application_name": "hessenschau.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr . d e",
|
|
194
196
|
"meta_application_name": "hr.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-bigband . d e",
|
|
194
196
|
"meta_application_name": "hr-bigband.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-fernsehen . d e",
|
|
194
196
|
"meta_application_name": "hr-fernsehen.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-inforadio . d e",
|
|
194
196
|
"meta_application_name": "hr-inforadio.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
|
|
194
196
|
"meta_application_name": "hr-rundfunkrat.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
|
|
194
196
|
"meta_application_name": "hr-sinfonieorchester.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-werbung . d e",
|
|
194
196
|
"meta_application_name": "hr-werbung.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr1 . d e",
|
|
194
196
|
"meta_application_name": "hr1.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr2 . d e",
|
|
194
196
|
"meta_application_name": "hr2.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr3 . d e",
|
|
194
196
|
"meta_application_name": "hr3.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr4 . d e",
|
|
194
196
|
"meta_application_name": "hr4.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite you-fm . d e",
|
|
194
196
|
"meta_application_name": "you-fm.de"
|
|
195
197
|
}
|
package/dist/assets/index.css
CHANGED
|
@@ -1571,6 +1571,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1571
1571
|
-webkit-box-orient: horizontal;
|
|
1572
1572
|
-webkit-line-clamp: none;
|
|
1573
1573
|
}
|
|
1574
|
+
.\!block {
|
|
1575
|
+
display: block !important;
|
|
1576
|
+
}
|
|
1574
1577
|
.block {
|
|
1575
1578
|
display: block;
|
|
1576
1579
|
}
|
|
@@ -1722,6 +1725,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1722
1725
|
.min-h-3 {
|
|
1723
1726
|
min-height: 0.75rem;
|
|
1724
1727
|
}
|
|
1728
|
+
.min-h-6 {
|
|
1729
|
+
min-height: 1.5rem;
|
|
1730
|
+
}
|
|
1725
1731
|
.min-h-\[88px\] {
|
|
1726
1732
|
min-height: 88px;
|
|
1727
1733
|
}
|
|
@@ -2030,6 +2036,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2030
2036
|
.cursor-pointer {
|
|
2031
2037
|
cursor: pointer;
|
|
2032
2038
|
}
|
|
2039
|
+
.cursor-text {
|
|
2040
|
+
cursor: text;
|
|
2041
|
+
}
|
|
2033
2042
|
.resize {
|
|
2034
2043
|
resize: both;
|
|
2035
2044
|
}
|
|
@@ -2265,10 +2274,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2265
2274
|
.rounded-lg {
|
|
2266
2275
|
border-radius: 0.5rem;
|
|
2267
2276
|
}
|
|
2268
|
-
.rounded-b {
|
|
2269
|
-
border-bottom-right-radius: 0.25rem;
|
|
2270
|
-
border-bottom-left-radius: 0.25rem;
|
|
2271
|
-
}
|
|
2272
2277
|
.rounded-l {
|
|
2273
2278
|
border-top-left-radius: 0.25rem;
|
|
2274
2279
|
border-bottom-left-radius: 0.25rem;
|
|
@@ -2330,9 +2335,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2330
2335
|
.border-t {
|
|
2331
2336
|
border-top-width: 1px;
|
|
2332
2337
|
}
|
|
2333
|
-
.border-t-0 {
|
|
2334
|
-
border-top-width: 0px;
|
|
2335
|
-
}
|
|
2336
2338
|
.border-t-\[3px\] {
|
|
2337
2339
|
border-top-width: 3px;
|
|
2338
2340
|
}
|
|
@@ -2396,6 +2398,14 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2396
2398
|
border-color: #000000;
|
|
2397
2399
|
border-color: var(--color-footer-heading);
|
|
2398
2400
|
}
|
|
2401
|
+
.border-form-highlight {
|
|
2402
|
+
border-color: #006eb7;
|
|
2403
|
+
border-color: var(--color-form-highlight);
|
|
2404
|
+
}
|
|
2405
|
+
.border-form-highlight-dark {
|
|
2406
|
+
border-color: #006eb7;
|
|
2407
|
+
border-color: var(--color-form-highlight-dark);
|
|
2408
|
+
}
|
|
2399
2409
|
.border-gray-200 {
|
|
2400
2410
|
--tw-border-opacity: 1;
|
|
2401
2411
|
border-color: rgba(229, 231, 235, 1);
|
|
@@ -2421,14 +2431,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2421
2431
|
border-color: rgba(96, 96, 96, 1);
|
|
2422
2432
|
border-color: rgba(96, 96, 96, var(--tw-border-opacity));
|
|
2423
2433
|
}
|
|
2424
|
-
.border-link {
|
|
2425
|
-
border-color: #006eb7;
|
|
2426
|
-
border-color: var(--color-link);
|
|
2427
|
-
}
|
|
2428
|
-
.border-link-dark {
|
|
2429
|
-
border-color: #006eb7;
|
|
2430
|
-
border-color: var(--color-link-dark);
|
|
2431
|
-
}
|
|
2432
2434
|
.border-navigation-border-color {
|
|
2433
2435
|
border-color: #fff;
|
|
2434
2436
|
border-color: var(--color-navigation-border-color);
|
|
@@ -2437,11 +2439,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2437
2439
|
border-color: #005293;
|
|
2438
2440
|
border-color: var(--color-primary-ds);
|
|
2439
2441
|
}
|
|
2440
|
-
.border-red-400 {
|
|
2441
|
-
--tw-border-opacity: 1;
|
|
2442
|
-
border-color: rgba(248, 113, 113, 1);
|
|
2443
|
-
border-color: rgba(248, 113, 113, var(--tw-border-opacity));
|
|
2444
|
-
}
|
|
2445
2442
|
.border-servicenavigation-border-color {
|
|
2446
2443
|
border-color: #fff;
|
|
2447
2444
|
border-color: var(--color-servicenavigation-border-color);
|
|
@@ -2649,16 +2646,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2649
2646
|
background-color: #005293;
|
|
2650
2647
|
background-color: var(--color-primary-ds);
|
|
2651
2648
|
}
|
|
2652
|
-
.bg-red-100 {
|
|
2653
|
-
--tw-bg-opacity: 1;
|
|
2654
|
-
background-color: rgba(254, 226, 226, 1);
|
|
2655
|
-
background-color: rgba(254, 226, 226, var(--tw-bg-opacity));
|
|
2656
|
-
}
|
|
2657
|
-
.bg-red-500 {
|
|
2658
|
-
--tw-bg-opacity: 1;
|
|
2659
|
-
background-color: rgba(239, 68, 68, 1);
|
|
2660
|
-
background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
|
|
2661
|
-
}
|
|
2662
2649
|
.bg-slate-200 {
|
|
2663
2650
|
--tw-bg-opacity: 1;
|
|
2664
2651
|
background-color: rgba(226, 232, 240, 1);
|
|
@@ -2747,9 +2734,6 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2747
2734
|
.fill-\[\#606060\] {
|
|
2748
2735
|
fill: #606060;
|
|
2749
2736
|
}
|
|
2750
|
-
.fill-blue-500 {
|
|
2751
|
-
fill: #3b82f6;
|
|
2752
|
-
}
|
|
2753
2737
|
.fill-blue-congress-hex {
|
|
2754
2738
|
fill: #005293;
|
|
2755
2739
|
}
|
|
@@ -2778,6 +2762,10 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2778
2762
|
fill: #000000;
|
|
2779
2763
|
fill: var(--color-footer-text);
|
|
2780
2764
|
}
|
|
2765
|
+
.fill-form-highlight {
|
|
2766
|
+
fill: #006eb7;
|
|
2767
|
+
fill: var(--color-form-highlight);
|
|
2768
|
+
}
|
|
2781
2769
|
.fill-link {
|
|
2782
2770
|
fill: #006eb7;
|
|
2783
2771
|
fill: var(--color-link);
|
|
@@ -3584,7 +3572,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3584
3572
|
border-bottom-color: var(--color-secondary-ds);
|
|
3585
3573
|
}
|
|
3586
3574
|
.counter-reset {
|
|
3587
|
-
counter-reset:
|
|
3575
|
+
counter-reset: cnt1729160000017;
|
|
3588
3576
|
}
|
|
3589
3577
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
3590
3578
|
font-size: 0.75rem;
|
|
@@ -3998,7 +3986,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3998
3986
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3999
3987
|
}
|
|
4000
3988
|
.-ordered {
|
|
4001
|
-
counter-increment:
|
|
3989
|
+
counter-increment: cnt1729160000017 1;
|
|
4002
3990
|
}
|
|
4003
3991
|
.-ordered::before {
|
|
4004
3992
|
position: absolute;
|
|
@@ -4016,7 +4004,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
4016
4004
|
--tw-text-opacity: 1;
|
|
4017
4005
|
color: rgba(0, 0, 0, 1);
|
|
4018
4006
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4019
|
-
content: counter(
|
|
4007
|
+
content: counter(cnt1729160000017);
|
|
4020
4008
|
}
|
|
4021
4009
|
/*! ****************************/
|
|
4022
4010
|
/*! DataPolicy stuff */
|
|
@@ -4133,7 +4121,7 @@ select + label {
|
|
|
4133
4121
|
}
|
|
4134
4122
|
@supports selector(:has(+ *)) {
|
|
4135
4123
|
select + label {
|
|
4136
|
-
top:
|
|
4124
|
+
top: 1px !important;
|
|
4137
4125
|
--tw-translate-y: 0.75rem !important;
|
|
4138
4126
|
--tw-scale-x: 1 !important;
|
|
4139
4127
|
--tw-scale-y: 1 !important;
|
|
@@ -4349,6 +4337,8 @@ input[type='radio']:checked::after {
|
|
|
4349
4337
|
--structure-nav-text-mobile: var(--color-primary-ds);
|
|
4350
4338
|
|
|
4351
4339
|
--color-error: #cc1a14;
|
|
4340
|
+
--color-form-highlight: var(--color-link);
|
|
4341
|
+
--color-form-highlight-dark: var(--color-link-dark);
|
|
4352
4342
|
|
|
4353
4343
|
--feature-box-height: 0;
|
|
4354
4344
|
}
|
|
@@ -5009,6 +4999,9 @@ input[type='radio']:checked::after {
|
|
|
5009
4999
|
/* Font */
|
|
5010
5000
|
--font-title: RobotoCond, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
5011
5001
|
--font-weight-title: 700;
|
|
5002
|
+
|
|
5003
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
5004
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
5012
5005
|
}
|
|
5013
5006
|
[data-theme='hr-sinfonieorchester'] .ardplayer.ardplayer-light-mode {
|
|
5014
5007
|
--ardplayer-color-primary-base: #AB2F2D;
|
|
@@ -5430,6 +5423,9 @@ input[type='radio']:checked::after {
|
|
|
5430
5423
|
--search-border-color-desktop: var(--color-navigation-icons);
|
|
5431
5424
|
|
|
5432
5425
|
--feature-box-height: 96px;
|
|
5426
|
+
|
|
5427
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
5428
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
5433
5429
|
}
|
|
5434
5430
|
[data-theme='hr2'] .ardplayer.ardplayer-light-mode {
|
|
5435
5431
|
--ardplayer-color-primary-base: #8C033D;
|
|
@@ -5546,6 +5542,9 @@ input[type='radio']:checked::after {
|
|
|
5546
5542
|
--search-border-color-desktop: #606060;
|
|
5547
5543
|
|
|
5548
5544
|
--feature-box-height: 96px;
|
|
5545
|
+
|
|
5546
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
5547
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
5549
5548
|
}
|
|
5550
5549
|
[data-theme='hr3'] .ardplayer.ardplayer-light-mode {
|
|
5551
5550
|
--ardplayer-color-primary-base: #c20016;
|
|
@@ -5926,13 +5925,13 @@ input[type='radio']:checked::after {
|
|
|
5926
5925
|
.last-of-type\:pb-3:last-of-type {
|
|
5927
5926
|
padding-bottom: 0.75rem;
|
|
5928
5927
|
}
|
|
5929
|
-
.checked\:border-
|
|
5928
|
+
.checked\:border-form-highlight:checked {
|
|
5930
5929
|
border-color: #006eb7;
|
|
5931
|
-
border-color: var(--color-
|
|
5930
|
+
border-color: var(--color-form-highlight);
|
|
5932
5931
|
}
|
|
5933
|
-
.checked\:bg-
|
|
5932
|
+
.checked\:bg-form-highlight:checked {
|
|
5934
5933
|
background-color: #006eb7;
|
|
5935
|
-
background-color: var(--color-
|
|
5934
|
+
background-color: var(--color-form-highlight);
|
|
5936
5935
|
}
|
|
5937
5936
|
.checked\:bg-white:checked {
|
|
5938
5937
|
--tw-bg-opacity: 1;
|
|
@@ -6195,9 +6194,9 @@ input[type='radio']:checked::after {
|
|
|
6195
6194
|
.peer:focus ~ .peer-focus\:border-r {
|
|
6196
6195
|
border-right-width: 1px;
|
|
6197
6196
|
}
|
|
6198
|
-
.peer:focus ~ .peer-focus\:text-
|
|
6197
|
+
.peer:focus ~ .peer-focus\:text-form-highlight {
|
|
6199
6198
|
color: #006eb7;
|
|
6200
|
-
color: var(--color-
|
|
6199
|
+
color: var(--color-form-highlight);
|
|
6201
6200
|
}
|
|
6202
6201
|
.aria-hidden\:hidden[aria-hidden="true"] {
|
|
6203
6202
|
display: none;
|
|
@@ -7304,6 +7303,10 @@ input[type='radio']:checked::after {
|
|
|
7304
7303
|
padding-left: 0px;
|
|
7305
7304
|
}
|
|
7306
7305
|
|
|
7306
|
+
.md\:pl-3 {
|
|
7307
|
+
padding-left: 0.75rem;
|
|
7308
|
+
}
|
|
7309
|
+
|
|
7307
7310
|
.md\:pl-5 {
|
|
7308
7311
|
padding-left: 1.25rem;
|
|
7309
7312
|
}
|
|
@@ -8197,9 +8200,9 @@ input[type='radio']:checked::after {
|
|
|
8197
8200
|
border-color: #cc1a14;
|
|
8198
8201
|
border-color: var(--color-error);
|
|
8199
8202
|
}
|
|
8200
|
-
.dark\:border-
|
|
8203
|
+
.dark\:border-form-highlight-dark:where(.dark, .dark *) {
|
|
8201
8204
|
border-color: #006eb7;
|
|
8202
|
-
border-color: var(--color-
|
|
8205
|
+
border-color: var(--color-form-highlight-dark);
|
|
8203
8206
|
}
|
|
8204
8207
|
.dark\:border-text-dark:where(.dark, .dark *) {
|
|
8205
8208
|
border-color: #f0f0f0;
|
|
@@ -8228,6 +8231,10 @@ input[type='radio']:checked::after {
|
|
|
8228
8231
|
background-color: #006eb7;
|
|
8229
8232
|
background-color: var(--color-podcast-text);
|
|
8230
8233
|
}
|
|
8234
|
+
.dark\:fill-form-highlight-dark:where(.dark, .dark *) {
|
|
8235
|
+
fill: #006eb7;
|
|
8236
|
+
fill: var(--color-form-highlight-dark);
|
|
8237
|
+
}
|
|
8231
8238
|
.dark\:fill-link-dark:where(.dark, .dark *) {
|
|
8232
8239
|
fill: #006eb7;
|
|
8233
8240
|
fill: var(--color-link-dark);
|
|
@@ -8258,9 +8265,9 @@ input[type='radio']:checked::after {
|
|
|
8258
8265
|
.dark\:border-t-transparent:where(.dark, .dark *) {
|
|
8259
8266
|
border-top-color: transparent;
|
|
8260
8267
|
}
|
|
8261
|
-
.peer:focus ~ .peer-focus\:dark\:text-
|
|
8262
|
-
color: #
|
|
8263
|
-
color: var(--color-
|
|
8268
|
+
.peer:focus ~ .peer-focus\:dark\:text-form-highlight-dark:where(.dark, .dark *) {
|
|
8269
|
+
color: #006eb7;
|
|
8270
|
+
color: var(--color-form-highlight-dark);
|
|
8264
8271
|
}
|
|
8265
8272
|
@media print {
|
|
8266
8273
|
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
{{~changeRandom~}}
|
|
1
2
|
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-6 md:mb-12{{/unless}} gap-y-4 md:gap-y-5"
|
|
2
3
|
{{#unless _inGroup}}
|
|
3
4
|
{{#if _required}}
|
|
4
5
|
ax-load
|
|
5
|
-
x-data="inputHandler('input{{
|
|
6
|
+
x-data="inputHandler('input{{getRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
6
7
|
x-init="validateChoice()"
|
|
7
8
|
x-ignore
|
|
8
9
|
{{/if}}
|
|
9
10
|
{{/unless}}
|
|
10
11
|
>
|
|
11
|
-
<div class="flex flex-row items-center w-full
|
|
12
|
-
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-
|
|
12
|
+
<div class="flex flex-row items-center w-full cursor-pointer ">
|
|
13
|
+
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-form-highlight dark:border-form-highlight-dark {{~inline-switch _type '["checkbox","radio"]' '[" checked:bg-form-highlight checked:border-form-highlight"," checked:bg-white checked:border-form-highlight rounded-full",""]'}}"
|
|
13
14
|
{{#if _required}}
|
|
14
|
-
:class="{' border-
|
|
15
|
+
:class="{' border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
15
16
|
{{/if}}
|
|
16
17
|
{{#if _inGroup }}
|
|
17
18
|
{{#if _required}}
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
{{/if}}
|
|
60
61
|
{{/if~}}
|
|
61
62
|
>
|
|
62
|
-
<label for="input{{getRandom}}" class="items-center justify-center text-xs text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
|
+
<label for="input{{getRandom}}" class="min-h-6 pt-0.5 items-center justify-center pl-2 text-xs cursor-pointer md:pl-3 text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
64
|
{{#if _hasBody}}
|
|
64
65
|
{{decorator_body}}{{#unless _inGroup}}{{#if _required}}*{{/if}}{{/unless}}
|
|
65
66
|
{{else}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="flex items-center justify-between">
|
|
2
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
-
<div class="flex items-center">
|
|
1
|
+
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
+
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-init="validateField()"
|
|
5
5
|
x-ignore
|
|
6
6
|
>
|
|
7
|
-
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-form-highlight dark:form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="input{{getRandom}}"
|
|
10
10
|
id="input{{getRandom}}"
|
|
11
11
|
x-bind:data-is-valid="valid ? 'true' : 'false'"
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
data-hr-search-suggest='{"templateUrl":"{{resourceUrl "suche/index~suggest.jsp"}}"}'{{/if}}
|
|
43
43
|
>
|
|
44
44
|
|
|
45
|
-
<label for="input{{getRandom}}" class="{{_labelClass}} absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
45
|
+
<label for="input{{getRandom}}" class="{{_labelClass}} cursor-text absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
46
46
|
|
|
47
47
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
48
48
|
|
|
49
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
49
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
50
50
|
{{#if _hasBody}}
|
|
51
51
|
{{decorator_body}}
|
|
52
52
|
{{else}}
|
|
@@ -72,25 +72,4 @@
|
|
|
72
72
|
<div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
73
73
|
|
|
74
74
|
</div>
|
|
75
|
-
<div class="hidden">
|
|
76
|
-
<div class="px-4 py-2 font-bold text-white bg-red-500 rounded-t">
|
|
77
|
-
DEBUG
|
|
78
|
-
</div>
|
|
79
|
-
<div class="px-4 py-3 bg-red-100 border border-t-0 border-red-400 rounded-b text-error">
|
|
80
|
-
<div>name:<span x-text="name" class="font-bold" ></span></div>
|
|
81
|
-
<div>isFocused:<span x-text="isFocused" class="font-bold" :class="isFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
82
|
-
<div>wasFocused:<span x-text="wasFocused" class="font-bold" :class="wasFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
83
|
-
<div>valid:<span x-text="valid" class="font-bold" :class="valid ? 'text-green-800' : 'text-error'"></span></div>
|
|
84
|
-
|
|
85
|
-
<div>hideDescription:<span x-text="hideDescription()" class="font-bold" :class="hideDescription() ? 'text-green-800' : 'text-error'"></span></div>
|
|
86
|
-
<div>hideError:<span x-text="hideError()" class="font-bold" :class="hideError() ? 'text-green-800' : 'text-error'"></span></div>
|
|
87
|
-
<div>input.length:<span x-text="input{{getRandom}}.length " class="font-bold" ></span></div>
|
|
88
|
-
<div>input:<span x-text="input{{getRandom}}" class="font-bold" ></span></div>
|
|
89
|
-
<div>errorMessage:<span x-text="errorMessage" class="font-bold" ></span></div>
|
|
90
|
-
<div>valueMissing:<span x-text="valueMissing" class="font-bold" ></span></div>
|
|
91
|
-
<div>typeMismatch:<span x-text="typeMismatch" class="font-bold" ></span></div>
|
|
92
|
-
<div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-error'"></span></div>
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
75
|
</div>
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/success_icon}}
|
|
5
|
-
<span class="font-bold text-green-800">{{
|
|
5
|
+
<span class="h-5 font-bold text-green-800">{{#if this.successText}}{{this.successText.richtext}}{{else}}{{~loca "webform_send_text_success"}}{{/if}}</span>
|
|
6
6
|
{{else}}
|
|
7
|
-
{{> components/forms/error_icon}}
|
|
8
|
-
<span class="font-bold text-red-700">{{
|
|
7
|
+
{{> components/forms/error_icon _class="!block"}}
|
|
8
|
+
<span class="h-5 font-bold text-red-700">{{~loca "webform_send_text_error"}}</span>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
{{#unless _success}}
|
|
12
12
|
{{#> components/button/button _variant="primary"_size="lg" _css="" _type="reset"}}
|
|
13
13
|
<span class="text-base ds-button-label ">Nochmal versuchen</span>
|
|
14
14
|
{{/components/button/button}}
|
|
15
|
-
{{/unless}}
|
|
16
|
-
|
|
15
|
+
{{/unless}}
|
|
17
16
|
</div>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-ignore
|
|
5
5
|
>
|
|
6
6
|
<select
|
|
7
|
-
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none text-text dark:bg-black dark:text-text-dark border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none cursor-pointer text-text dark:bg-black dark:text-text-dark border-form-highlight dark:border-form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="select{{getRandom}}"
|
|
10
10
|
id="select{{getRandom}}"
|
|
11
11
|
title="{{#if _locaKey}}{{loca _locaKey}}{{else}}{{#if _Label}}{{_label}}{{#if _required}}*{{/if}}{{/if}}{{/if}}"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</select>
|
|
39
39
|
<label for="select{{getRandom}}"
|
|
40
40
|
class="absolute pointer-events-none left-[16px] top-0 translate-y-3 translate-x-0 scale-100 text-gray-scorpion dark:text-text-dark
|
|
41
|
-
peer-focus:text-
|
|
41
|
+
peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark peer-focus:scale-75 peer-focus:translate-y-0 peer-focus:top-px
|
|
42
42
|
origin-top-left transform transition-transform
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
{{/if}}
|
|
53
53
|
</div>
|
|
54
54
|
<div class="absolute 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">
|
|
55
|
-
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-
|
|
55
|
+
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-form-highlight dark:fill-form-highlight-dark "}}
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
maxlength="{{_maxLength}}"
|
|
35
35
|
{{/if~}}
|
|
36
36
|
{{#if _required}}required{{/if}}
|
|
37
|
-
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-
|
|
37
|
+
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-form-highlight dark:border-form-highlight-dark min-h-12 peer border-y focus:border-b-2 focus:pb-0 border-t-transparent focus:outline-none"
|
|
38
38
|
{{#if _required}}
|
|
39
|
-
:class="{'border-
|
|
39
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
40
40
|
{{/if}}
|
|
41
41
|
>{{~#if _formField.isValid~}}
|
|
42
42
|
{{{_formField.forHtmlContent}}}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
52
52
|
|
|
53
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
53
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
54
54
|
{{#if _locaKey}}
|
|
55
55
|
{{loca _locaKey}}
|
|
56
56
|
{{else}}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
{{~changeRandom~}}
|
|
1
2
|
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-6 md:mb-12{{/unless}} gap-y-4 md:gap-y-5"
|
|
2
3
|
{{#unless _inGroup}}
|
|
3
4
|
{{#if _required}}
|
|
4
5
|
ax-load
|
|
5
|
-
x-data="inputHandler('input{{
|
|
6
|
+
x-data="inputHandler('input{{getRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
6
7
|
x-init="validateChoice()"
|
|
7
8
|
x-ignore
|
|
8
9
|
{{/if}}
|
|
9
10
|
{{/unless}}
|
|
10
11
|
>
|
|
11
|
-
<div class="flex flex-row items-center w-full
|
|
12
|
-
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-
|
|
12
|
+
<div class="flex flex-row items-center w-full cursor-pointer ">
|
|
13
|
+
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-form-highlight dark:border-form-highlight-dark {{~inline-switch _type '["checkbox","radio"]' '[" checked:bg-form-highlight checked:border-form-highlight"," checked:bg-white checked:border-form-highlight rounded-full",""]'}}"
|
|
13
14
|
{{#if _required}}
|
|
14
|
-
:class="{' border-
|
|
15
|
+
:class="{' border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
15
16
|
{{/if}}
|
|
16
17
|
{{#if _inGroup }}
|
|
17
18
|
{{#if _required}}
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
{{/if}}
|
|
60
61
|
{{/if~}}
|
|
61
62
|
>
|
|
62
|
-
<label for="input{{getRandom}}" class="items-center justify-center text-xs text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
|
+
<label for="input{{getRandom}}" class="min-h-6 pt-0.5 items-center justify-center pl-2 text-xs cursor-pointer md:pl-3 text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
64
|
{{#if _hasBody}}
|
|
64
65
|
{{decorator_body}}{{#unless _inGroup}}{{#if _required}}*{{/if}}{{/unless}}
|
|
65
66
|
{{else}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="flex items-center justify-between">
|
|
2
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
-
<div class="flex items-center">
|
|
1
|
+
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
+
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-init="validateField()"
|
|
5
5
|
x-ignore
|
|
6
6
|
>
|
|
7
|
-
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-form-highlight dark:form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="input{{getRandom}}"
|
|
10
10
|
id="input{{getRandom}}"
|
|
11
11
|
x-bind:data-is-valid="valid ? 'true' : 'false'"
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
data-hr-search-suggest='{"templateUrl":"{{resourceUrl "suche/index~suggest.jsp"}}"}'{{/if}}
|
|
43
43
|
>
|
|
44
44
|
|
|
45
|
-
<label for="input{{getRandom}}" class="{{_labelClass}} absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
45
|
+
<label for="input{{getRandom}}" class="{{_labelClass}} cursor-text absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
46
46
|
|
|
47
47
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
48
48
|
|
|
49
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
49
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
50
50
|
{{#if _hasBody}}
|
|
51
51
|
{{decorator_body}}
|
|
52
52
|
{{else}}
|
|
@@ -72,25 +72,4 @@
|
|
|
72
72
|
<div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
73
73
|
|
|
74
74
|
</div>
|
|
75
|
-
<div class="hidden">
|
|
76
|
-
<div class="px-4 py-2 font-bold text-white bg-red-500 rounded-t">
|
|
77
|
-
DEBUG
|
|
78
|
-
</div>
|
|
79
|
-
<div class="px-4 py-3 bg-red-100 border border-t-0 border-red-400 rounded-b text-error">
|
|
80
|
-
<div>name:<span x-text="name" class="font-bold" ></span></div>
|
|
81
|
-
<div>isFocused:<span x-text="isFocused" class="font-bold" :class="isFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
82
|
-
<div>wasFocused:<span x-text="wasFocused" class="font-bold" :class="wasFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
83
|
-
<div>valid:<span x-text="valid" class="font-bold" :class="valid ? 'text-green-800' : 'text-error'"></span></div>
|
|
84
|
-
|
|
85
|
-
<div>hideDescription:<span x-text="hideDescription()" class="font-bold" :class="hideDescription() ? 'text-green-800' : 'text-error'"></span></div>
|
|
86
|
-
<div>hideError:<span x-text="hideError()" class="font-bold" :class="hideError() ? 'text-green-800' : 'text-error'"></span></div>
|
|
87
|
-
<div>input.length:<span x-text="input{{getRandom}}.length " class="font-bold" ></span></div>
|
|
88
|
-
<div>input:<span x-text="input{{getRandom}}" class="font-bold" ></span></div>
|
|
89
|
-
<div>errorMessage:<span x-text="errorMessage" class="font-bold" ></span></div>
|
|
90
|
-
<div>valueMissing:<span x-text="valueMissing" class="font-bold" ></span></div>
|
|
91
|
-
<div>typeMismatch:<span x-text="typeMismatch" class="font-bold" ></span></div>
|
|
92
|
-
<div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-error'"></span></div>
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
75
|
</div>
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/success_icon}}
|
|
5
|
-
<span class="font-bold text-green-800">{{
|
|
5
|
+
<span class="h-5 font-bold text-green-800">{{#if this.successText}}{{this.successText.richtext}}{{else}}{{~loca "webform_send_text_success"}}{{/if}}</span>
|
|
6
6
|
{{else}}
|
|
7
|
-
{{> components/forms/error_icon}}
|
|
8
|
-
<span class="font-bold text-red-700">{{
|
|
7
|
+
{{> components/forms/error_icon _class="!block"}}
|
|
8
|
+
<span class="h-5 font-bold text-red-700">{{~loca "webform_send_text_error"}}</span>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
{{#unless _success}}
|
|
12
12
|
{{#> components/button/button _variant="primary"_size="lg" _css="" _type="reset"}}
|
|
13
13
|
<span class="text-base ds-button-label ">Nochmal versuchen</span>
|
|
14
14
|
{{/components/button/button}}
|
|
15
|
-
{{/unless}}
|
|
16
|
-
|
|
15
|
+
{{/unless}}
|
|
17
16
|
</div>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-ignore
|
|
5
5
|
>
|
|
6
6
|
<select
|
|
7
|
-
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none text-text dark:bg-black dark:text-text-dark border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none cursor-pointer text-text dark:bg-black dark:text-text-dark border-form-highlight dark:border-form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="select{{getRandom}}"
|
|
10
10
|
id="select{{getRandom}}"
|
|
11
11
|
title="{{#if _locaKey}}{{loca _locaKey}}{{else}}{{#if _Label}}{{_label}}{{#if _required}}*{{/if}}{{/if}}{{/if}}"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</select>
|
|
39
39
|
<label for="select{{getRandom}}"
|
|
40
40
|
class="absolute pointer-events-none left-[16px] top-0 translate-y-3 translate-x-0 scale-100 text-gray-scorpion dark:text-text-dark
|
|
41
|
-
peer-focus:text-
|
|
41
|
+
peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark peer-focus:scale-75 peer-focus:translate-y-0 peer-focus:top-px
|
|
42
42
|
origin-top-left transform transition-transform
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
{{/if}}
|
|
53
53
|
</div>
|
|
54
54
|
<div class="absolute 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">
|
|
55
|
-
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-
|
|
55
|
+
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-form-highlight dark:fill-form-highlight-dark "}}
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
maxlength="{{_maxLength}}"
|
|
35
35
|
{{/if~}}
|
|
36
36
|
{{#if _required}}required{{/if}}
|
|
37
|
-
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-
|
|
37
|
+
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-form-highlight dark:border-form-highlight-dark min-h-12 peer border-y focus:border-b-2 focus:pb-0 border-t-transparent focus:outline-none"
|
|
38
38
|
{{#if _required}}
|
|
39
|
-
:class="{'border-
|
|
39
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
40
40
|
{{/if}}
|
|
41
41
|
>{{~#if _formField.isValid~}}
|
|
42
42
|
{{{_formField.forHtmlContent}}}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
52
52
|
|
|
53
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
53
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
54
54
|
{{#if _locaKey}}
|
|
55
55
|
{{loca _locaKey}}
|
|
56
56
|
{{else}}
|
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.110.
|
|
9
|
+
"version": "1.110.12",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -189,5 +189,7 @@
|
|
|
189
189
|
"teaser_more_video_livestream": "Livestream",
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
|
-
"teaser_more_video_livestream_sr": "zum Livestream"
|
|
192
|
+
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden."
|
|
193
195
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hessenschau . d e",
|
|
194
196
|
"meta_application_name": "hessenschau.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr . d e",
|
|
194
196
|
"meta_application_name": "hr.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-bigband . d e",
|
|
194
196
|
"meta_application_name": "hr-bigband.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-fernsehen . d e",
|
|
194
196
|
"meta_application_name": "hr-fernsehen.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-inforadio . d e",
|
|
194
196
|
"meta_application_name": "hr-inforadio.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
|
|
194
196
|
"meta_application_name": "hr-rundfunkrat.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
|
|
194
196
|
"meta_application_name": "hr-sinfonieorchester.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr-werbung . d e",
|
|
194
196
|
"meta_application_name": "hr-werbung.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr1 . d e",
|
|
194
196
|
"meta_application_name": "hr1.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr2 . d e",
|
|
194
196
|
"meta_application_name": "hr2.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr3 . d e",
|
|
194
196
|
"meta_application_name": "hr3.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite hr4 . d e",
|
|
194
196
|
"meta_application_name": "hr4.de"
|
|
195
197
|
}
|
|
@@ -190,6 +190,8 @@
|
|
|
190
190
|
"teaser_more_video_livestream_brand": "zum {0} Livestream",
|
|
191
191
|
"teaser_more_video_livestream_brand_sr": "zum {0} Livestream",
|
|
192
192
|
"teaser_more_video_livestream_sr": "zum Livestream",
|
|
193
|
+
"webform_send_text_success": "Das Formular wurde erfolgreich versendet.",
|
|
194
|
+
"webform_send_text_error": "Das Formular konnte nicht versendet werden.",
|
|
193
195
|
"header_homepage_link_title": "Startseite you-fm . d e",
|
|
194
196
|
"meta_application_name": "you-fm.de"
|
|
195
197
|
}
|
package/src/assets/tailwind.css
CHANGED
|
@@ -164,6 +164,8 @@
|
|
|
164
164
|
--structure-nav-text-mobile: var(--color-primary-ds);
|
|
165
165
|
|
|
166
166
|
--color-error: theme('colors.red.thunderbird.hex');
|
|
167
|
+
--color-form-highlight: var(--color-link);
|
|
168
|
+
--color-form-highlight-dark: var(--color-link-dark);
|
|
167
169
|
|
|
168
170
|
--feature-box-height: 0;
|
|
169
171
|
|
|
@@ -910,6 +912,9 @@
|
|
|
910
912
|
--font-title: theme('fontFamily.heading');
|
|
911
913
|
--font-weight-title: theme('fontWeight.bold');
|
|
912
914
|
|
|
915
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
916
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
917
|
+
|
|
913
918
|
.ardplayer {
|
|
914
919
|
&.ardplayer-light-mode {
|
|
915
920
|
--ardplayer-color-primary-base: theme('colors.red.wellRead.hex');
|
|
@@ -1377,6 +1382,9 @@
|
|
|
1377
1382
|
|
|
1378
1383
|
--feature-box-height: 96px;
|
|
1379
1384
|
|
|
1385
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
1386
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
1387
|
+
|
|
1380
1388
|
.ardplayer {
|
|
1381
1389
|
&.ardplayer-light-mode {
|
|
1382
1390
|
--ardplayer-color-primary-base: theme('colors.red.paprika.hex');
|
|
@@ -1508,6 +1516,9 @@
|
|
|
1508
1516
|
|
|
1509
1517
|
--feature-box-height: 96px;
|
|
1510
1518
|
|
|
1519
|
+
--color-form-highlight: var(--color-secondary-ds);
|
|
1520
|
+
--color-form-highlight-dark: var(--color-secondary-ds);
|
|
1521
|
+
|
|
1511
1522
|
.ardplayer {
|
|
1512
1523
|
&.ardplayer-light-mode {
|
|
1513
1524
|
--ardplayer-color-primary-base: theme('colors.red.monza.hex');
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
{{~changeRandom~}}
|
|
1
2
|
<div class="relative flex flex-col w-full {{#unless _inGroup}} mb-6 md:mb-12{{/unless}} gap-y-4 md:gap-y-5"
|
|
2
3
|
{{#unless _inGroup}}
|
|
3
4
|
{{#if _required}}
|
|
4
5
|
ax-load
|
|
5
|
-
x-data="inputHandler('input{{
|
|
6
|
+
x-data="inputHandler('input{{getRandom}}','{{_formId}}','{{_errorMandatory}}','{{_type}}','', '', '{{_name}}')"
|
|
6
7
|
x-init="validateChoice()"
|
|
7
8
|
x-ignore
|
|
8
9
|
{{/if}}
|
|
9
10
|
{{/unless}}
|
|
10
11
|
>
|
|
11
|
-
<div class="flex flex-row items-center w-full
|
|
12
|
-
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-
|
|
12
|
+
<div class="flex flex-row items-center w-full cursor-pointer ">
|
|
13
|
+
<input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-form-highlight dark:border-form-highlight-dark {{~inline-switch _type '["checkbox","radio"]' '[" checked:bg-form-highlight checked:border-form-highlight"," checked:bg-white checked:border-form-highlight rounded-full",""]'}}"
|
|
13
14
|
{{#if _required}}
|
|
14
|
-
:class="{' border-
|
|
15
|
+
:class="{' border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
15
16
|
{{/if}}
|
|
16
17
|
{{#if _inGroup }}
|
|
17
18
|
{{#if _required}}
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
{{/if}}
|
|
60
61
|
{{/if~}}
|
|
61
62
|
>
|
|
62
|
-
<label for="input{{getRandom}}" class="items-center justify-center text-xs text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
|
+
<label for="input{{getRandom}}" class="min-h-6 pt-0.5 items-center justify-center pl-2 text-xs cursor-pointer md:pl-3 text-text dark:text-text-dark md:text-sm font-headingSerif ">
|
|
63
64
|
{{#if _hasBody}}
|
|
64
65
|
{{decorator_body}}{{#unless _inGroup}}{{#if _required}}*{{/if}}{{/unless}}
|
|
65
66
|
{{else}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="flex items-center justify-between">
|
|
2
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
-
<div class="flex items-center">
|
|
1
|
+
<div class="flex flex-col-reverse items-center justify-between sm:flex-row gap-y-6">
|
|
2
|
+
<div class="w-full text-xs basis-full text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
|
|
3
|
+
<div class="flex items-center justify-end w-full basis-full">
|
|
4
4
|
<label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
|
|
5
5
|
<span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
|
|
6
6
|
<span class="" :class="{'hidden': isPosting}">{{> components/base/image/icon _icon="send-ds" _addClass="w-5 h-5 fill-white dark:fill-text-dark "}}</span>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-init="validateField()"
|
|
5
5
|
x-ignore
|
|
6
6
|
>
|
|
7
|
-
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
<input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-form-highlight dark:form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="input{{getRandom}}"
|
|
10
10
|
id="input{{getRandom}}"
|
|
11
11
|
x-bind:data-is-valid="valid ? 'true' : 'false'"
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
data-hr-search-suggest='{"templateUrl":"{{resourceUrl "suche/index~suggest.jsp"}}"}'{{/if}}
|
|
43
43
|
>
|
|
44
44
|
|
|
45
|
-
<label for="input{{getRandom}}" class="{{_labelClass}} absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
45
|
+
<label for="input{{getRandom}}" class="{{_labelClass}} cursor-text absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
|
|
46
46
|
|
|
47
47
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
48
48
|
|
|
49
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
49
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
50
50
|
{{#if _hasBody}}
|
|
51
51
|
{{decorator_body}}
|
|
52
52
|
{{else}}
|
|
@@ -72,25 +72,4 @@
|
|
|
72
72
|
<div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
73
73
|
|
|
74
74
|
</div>
|
|
75
|
-
<div class="hidden">
|
|
76
|
-
<div class="px-4 py-2 font-bold text-white bg-red-500 rounded-t">
|
|
77
|
-
DEBUG
|
|
78
|
-
</div>
|
|
79
|
-
<div class="px-4 py-3 bg-red-100 border border-t-0 border-red-400 rounded-b text-error">
|
|
80
|
-
<div>name:<span x-text="name" class="font-bold" ></span></div>
|
|
81
|
-
<div>isFocused:<span x-text="isFocused" class="font-bold" :class="isFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
82
|
-
<div>wasFocused:<span x-text="wasFocused" class="font-bold" :class="wasFocused ? 'text-green-800' : 'text-error'"></span></div>
|
|
83
|
-
<div>valid:<span x-text="valid" class="font-bold" :class="valid ? 'text-green-800' : 'text-error'"></span></div>
|
|
84
|
-
|
|
85
|
-
<div>hideDescription:<span x-text="hideDescription()" class="font-bold" :class="hideDescription() ? 'text-green-800' : 'text-error'"></span></div>
|
|
86
|
-
<div>hideError:<span x-text="hideError()" class="font-bold" :class="hideError() ? 'text-green-800' : 'text-error'"></span></div>
|
|
87
|
-
<div>input.length:<span x-text="input{{getRandom}}.length " class="font-bold" ></span></div>
|
|
88
|
-
<div>input:<span x-text="input{{getRandom}}" class="font-bold" ></span></div>
|
|
89
|
-
<div>errorMessage:<span x-text="errorMessage" class="font-bold" ></span></div>
|
|
90
|
-
<div>valueMissing:<span x-text="valueMissing" class="font-bold" ></span></div>
|
|
91
|
-
<div>typeMismatch:<span x-text="typeMismatch" class="font-bold" ></span></div>
|
|
92
|
-
<div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-error'"></span></div>
|
|
93
|
-
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
75
|
</div>
|
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
<div class="flex items-center gap-x-2 md:gap-x-3">
|
|
3
3
|
{{#if _success}}
|
|
4
4
|
{{> components/forms/success_icon}}
|
|
5
|
-
<span class="font-bold text-green-800">{{
|
|
5
|
+
<span class="h-5 font-bold text-green-800">{{#if this.successText}}{{this.successText.richtext}}{{else}}{{~loca "webform_send_text_success"}}{{/if}}</span>
|
|
6
6
|
{{else}}
|
|
7
|
-
{{> components/forms/error_icon}}
|
|
8
|
-
<span class="font-bold text-red-700">{{
|
|
7
|
+
{{> components/forms/error_icon _class="!block"}}
|
|
8
|
+
<span class="h-5 font-bold text-red-700">{{~loca "webform_send_text_error"}}</span>
|
|
9
9
|
{{/if}}
|
|
10
10
|
</div>
|
|
11
11
|
{{#unless _success}}
|
|
12
12
|
{{#> components/button/button _variant="primary"_size="lg" _css="" _type="reset"}}
|
|
13
13
|
<span class="text-base ds-button-label ">Nochmal versuchen</span>
|
|
14
14
|
{{/components/button/button}}
|
|
15
|
-
{{/unless}}
|
|
16
|
-
|
|
15
|
+
{{/unless}}
|
|
17
16
|
</div>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
x-ignore
|
|
5
5
|
>
|
|
6
6
|
<select
|
|
7
|
-
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none text-text dark:bg-black dark:text-text-dark border-
|
|
8
|
-
:class="{'border-
|
|
7
|
+
class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none cursor-pointer text-text dark:bg-black dark:text-text-dark border-form-highlight dark:border-form-highlight-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
|
|
8
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
9
9
|
x-model="select{{getRandom}}"
|
|
10
10
|
id="select{{getRandom}}"
|
|
11
11
|
title="{{#if _locaKey}}{{loca _locaKey}}{{else}}{{#if _Label}}{{_label}}{{#if _required}}*{{/if}}{{/if}}{{/if}}"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</select>
|
|
39
39
|
<label for="select{{getRandom}}"
|
|
40
40
|
class="absolute pointer-events-none left-[16px] top-0 translate-y-3 translate-x-0 scale-100 text-gray-scorpion dark:text-text-dark
|
|
41
|
-
peer-focus:text-
|
|
41
|
+
peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark peer-focus:scale-75 peer-focus:translate-y-0 peer-focus:top-px
|
|
42
42
|
origin-top-left transform transition-transform
|
|
43
43
|
">
|
|
44
44
|
{{_label}}{{#if _required}}*{{/if}}
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
{{/if}}
|
|
53
53
|
</div>
|
|
54
54
|
<div class="absolute 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">
|
|
55
|
-
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-
|
|
55
|
+
{{> components/base/image/icon _icon="arrow-down" _addClass="w-3 h-3 fill-form-highlight dark:fill-form-highlight-dark "}}
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
maxlength="{{_maxLength}}"
|
|
35
35
|
{{/if~}}
|
|
36
36
|
{{#if _required}}required{{/if}}
|
|
37
|
-
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-
|
|
37
|
+
class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-form-highlight dark:border-form-highlight-dark min-h-12 peer border-y focus:border-b-2 focus:pb-0 border-t-transparent focus:outline-none"
|
|
38
38
|
{{#if _required}}
|
|
39
|
-
:class="{'border-
|
|
39
|
+
:class="{'border-form-highlight dark:border-form-highlight-dark': hideError(),'border-error dark:border-error': hideDescription() }"
|
|
40
40
|
{{/if}}
|
|
41
41
|
>{{~#if _formField.isValid~}}
|
|
42
42
|
{{{_formField.forHtmlContent}}}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
52
52
|
|
|
53
|
-
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-
|
|
53
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-form-highlight peer-focus:dark:text-form-highlight-dark origin-top-left transform transition-transform">
|
|
54
54
|
{{#if _locaKey}}
|
|
55
55
|
{{loca _locaKey}}
|
|
56
56
|
{{else}}
|
package/tailwind.config.js
CHANGED
|
@@ -426,7 +426,9 @@ module.exports = {
|
|
|
426
426
|
'structure-nav': 'var(--structure-nav-background)',
|
|
427
427
|
'structure-nav-text': 'var(--structure-nav-text)',
|
|
428
428
|
'structure-nav-text-mobile': 'var(--structure-nav-text-mobile)',
|
|
429
|
-
'error':'var(--color-error)'
|
|
429
|
+
'error':'var(--color-error)',
|
|
430
|
+
'form-highlight':'var(--color-form-highlight)',
|
|
431
|
+
'form-highlight-dark':'var(--color-form-highlight-dark)'
|
|
430
432
|
},
|
|
431
433
|
},
|
|
432
434
|
},
|