hr-design-system-handlebars 0.56.9 → 0.56.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 +37 -0
- package/build/helpers/ifCond.js +28 -0
- package/dist/assets/index.css +84 -45
- package/dist/assets/js/views/base/autosuggest/autoSuggest.feature.js +1 -1
- package/dist/views/base/autosuggest/autoSuggest.feature.js +1 -1
- package/dist/views/components/content_nav/content_nav.hbs +8 -16
- package/dist/views/components/content_nav/content_nav_container.hbs +8 -4
- package/dist/views/components/content_nav/{dropdown.hbs → content_nav_dropdown.hbs} +8 -10
- package/dist/views/components/content_nav/content_nav_item.hbs +5 -4
- package/dist/views/components/content_nav/content_nav_list.hbs +18 -12
- package/dist/views/components/site_header/header_alpine.js +26 -10
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/dist/views/components/teaser/content_nav/teaser_content_nav.hbs +4 -8
- package/dist/views/components/teaser/group_teaser/group_teaser.hbs +18 -8
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/teaser_content_nav_flow_100.json +3 -3
- package/src/assets/fixtures/teaser/teaser_content_nav_flow_autosuggest.json +183 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_list_100.json +4 -5
- package/src/assets/fixtures/teaser/teaser_content_nav_list_autosuggest.json +181 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_mixed_100.json +2 -2
- package/src/assets/fixtures/teaser/teaser_content_nav_mixed_autosuggest.json +1 -1
- package/src/assets/fixtures/teaser/teaser_groups.inc.json +4 -5
- package/src/stories/views/base/autosuggest/autoSuggest.feature.js +1 -1
- package/src/stories/views/components/content_nav/content_nav.hbs +8 -16
- package/src/stories/views/components/content_nav/content_nav_container.hbs +8 -4
- package/src/stories/views/components/content_nav/{dropdown.hbs → content_nav_dropdown.hbs} +8 -10
- package/src/stories/views/components/content_nav/content_nav_item.hbs +5 -4
- package/src/stories/views/components/content_nav/content_nav_list.hbs +18 -12
- package/src/stories/views/components/site_header/header_alpine.js +26 -10
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/src/stories/views/components/teaser/content_nav/teaser_content_nav.hbs +4 -8
- package/src/stories/views/components/teaser/content_nav/teaser_content_nav.stories.mdx +14 -5
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_autosuggest.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_autosuggest.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_autosuggest.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_contentNav.json +1 -1
- package/src/stories/views/components/teaser/group_teaser/group.stories.mdx +13 -2
- package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +18 -8
- package/tailwind.config.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# v0.56.12 (Tue Sep 06 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Dpe 1689 content navi next steps [#316](https://github.com/mumprod/hr-design-system-handlebars/pull/316) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.56.11 (Mon Sep 05 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Dpe 1656 [#300](https://github.com/mumprod/hr-design-system-handlebars/pull/300) (zouhair1 [@selbaciri](https://github.com/selbaciri))
|
|
18
|
+
|
|
19
|
+
#### Authors: 2
|
|
20
|
+
|
|
21
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
22
|
+
- selbaciri (zouhair1)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# v0.56.10 (Fri Sep 02 2022)
|
|
27
|
+
|
|
28
|
+
#### 🐛 Bug Fix
|
|
29
|
+
|
|
30
|
+
- DPE-1689 : new JSON Key 'isListOrFlow' and some design tweaks [#315](https://github.com/mumprod/hr-design-system-handlebars/pull/315) ([@StefanVesper](https://github.com/StefanVesper))
|
|
31
|
+
|
|
32
|
+
#### Authors: 1
|
|
33
|
+
|
|
34
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# v0.56.9 (Fri Sep 02 2022)
|
|
2
39
|
|
|
3
40
|
#### 🐛 Bug Fix
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const handlebars = require("handlebars");
|
|
2
|
+
module.exports = function (v1, operator, v2, options) {
|
|
3
|
+
var options = arguments[3];
|
|
4
|
+
switch (operator) {
|
|
5
|
+
case '==':
|
|
6
|
+
return (v1 == v2) ? options.fn(this) : options.inverse(this);
|
|
7
|
+
case '===':
|
|
8
|
+
return (v1 === v2) ? options.fn(this) : options.inverse(this);
|
|
9
|
+
case '!=':
|
|
10
|
+
return (v1 != v2) ? options.fn(this) : options.inverse(this);
|
|
11
|
+
case '!==':
|
|
12
|
+
return (v1 !== v2) ? options.fn(this) : options.inverse(this);
|
|
13
|
+
case '<':
|
|
14
|
+
return (v1 < v2) ? options.fn(this) : options.inverse(this);
|
|
15
|
+
case '<=':
|
|
16
|
+
return (v1 <= v2) ? options.fn(this) : options.inverse(this);
|
|
17
|
+
case '>':
|
|
18
|
+
return (v1 > v2) ? options.fn(this) : options.inverse(this);
|
|
19
|
+
case '>=':
|
|
20
|
+
return (v1 >= v2) ? options.fn(this) : options.inverse(this);
|
|
21
|
+
case '&&':
|
|
22
|
+
return (v1 && v2) ? options.fn(this) : options.inverse(this);
|
|
23
|
+
case '||':
|
|
24
|
+
return (v1 || v2) ? options.fn(this) : options.inverse(this);
|
|
25
|
+
default:
|
|
26
|
+
return options.inverse(this);
|
|
27
|
+
}
|
|
28
|
+
};
|
package/dist/assets/index.css
CHANGED
|
@@ -434,7 +434,7 @@ video {
|
|
|
434
434
|
--tw-scale-y: 1;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
.btn--secondary,
|
|
437
|
+
.btn--secondary, .shadow-\[1px_4px_5px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\], .\!shadow-\[1px_8px_9px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\], .shadow-inner, .shadow-xl {
|
|
438
438
|
--tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
|
|
439
439
|
--tw-ring-shadow: 0 0 rgba(0,0,0,0);
|
|
440
440
|
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
@@ -636,12 +636,12 @@ video {
|
|
|
636
636
|
.top-full {
|
|
637
637
|
top: 100%;
|
|
638
638
|
}
|
|
639
|
-
.z-10000 {
|
|
640
|
-
z-index: 10000;
|
|
641
|
-
}
|
|
642
639
|
.z-10002 {
|
|
643
640
|
z-index: 10002;
|
|
644
641
|
}
|
|
642
|
+
.z-10000 {
|
|
643
|
+
z-index: 10000;
|
|
644
|
+
}
|
|
645
645
|
.z-10001 {
|
|
646
646
|
z-index: 10001;
|
|
647
647
|
}
|
|
@@ -717,6 +717,10 @@ video {
|
|
|
717
717
|
margin-left: 1px;
|
|
718
718
|
margin-right: 1px;
|
|
719
719
|
}
|
|
720
|
+
.my-0 {
|
|
721
|
+
margin-top: 0px;
|
|
722
|
+
margin-bottom: 0px;
|
|
723
|
+
}
|
|
720
724
|
.mx-1\.5 {
|
|
721
725
|
margin-left: 0.375rem;
|
|
722
726
|
margin-right: 0.375rem;
|
|
@@ -737,12 +741,12 @@ video {
|
|
|
737
741
|
.mt-0 {
|
|
738
742
|
margin-top: 0px;
|
|
739
743
|
}
|
|
740
|
-
.ml-2 {
|
|
741
|
-
margin-left: 0.5rem;
|
|
742
|
-
}
|
|
743
744
|
.mb-2 {
|
|
744
745
|
margin-bottom: 0.5rem;
|
|
745
746
|
}
|
|
747
|
+
.ml-2 {
|
|
748
|
+
margin-left: 0.5rem;
|
|
749
|
+
}
|
|
746
750
|
.-mt-2 {
|
|
747
751
|
margin-top: -0.5rem;
|
|
748
752
|
}
|
|
@@ -837,15 +841,15 @@ video {
|
|
|
837
841
|
.h-8 {
|
|
838
842
|
height: 2rem;
|
|
839
843
|
}
|
|
844
|
+
.h-full {
|
|
845
|
+
height: 100%;
|
|
846
|
+
}
|
|
840
847
|
.h-4 {
|
|
841
848
|
height: 1rem;
|
|
842
849
|
}
|
|
843
850
|
.h-auto {
|
|
844
851
|
height: auto;
|
|
845
852
|
}
|
|
846
|
-
.h-full {
|
|
847
|
-
height: 100%;
|
|
848
|
-
}
|
|
849
853
|
.h-0\.5 {
|
|
850
854
|
height: 0.125rem;
|
|
851
855
|
}
|
|
@@ -879,6 +883,9 @@ video {
|
|
|
879
883
|
.h-2 {
|
|
880
884
|
height: 0.5rem;
|
|
881
885
|
}
|
|
886
|
+
.h-24 {
|
|
887
|
+
height: 6rem;
|
|
888
|
+
}
|
|
882
889
|
.max-h-0 {
|
|
883
890
|
max-height: 0px;
|
|
884
891
|
}
|
|
@@ -894,12 +901,12 @@ video {
|
|
|
894
901
|
.w-full {
|
|
895
902
|
width: 100%;
|
|
896
903
|
}
|
|
897
|
-
.w-4 {
|
|
898
|
-
width: 1rem;
|
|
899
|
-
}
|
|
900
904
|
.w-auto {
|
|
901
905
|
width: auto;
|
|
902
906
|
}
|
|
907
|
+
.w-4 {
|
|
908
|
+
width: 1rem;
|
|
909
|
+
}
|
|
903
910
|
.w-6 {
|
|
904
911
|
width: 1.5rem;
|
|
905
912
|
}
|
|
@@ -1177,6 +1184,9 @@ video {
|
|
|
1177
1184
|
.rounded {
|
|
1178
1185
|
border-radius: 0.25rem;
|
|
1179
1186
|
}
|
|
1187
|
+
.rounded-3xl {
|
|
1188
|
+
border-radius: 1.5rem;
|
|
1189
|
+
}
|
|
1180
1190
|
.rounded-t-xl {
|
|
1181
1191
|
border-top-left-radius: 0.75rem;
|
|
1182
1192
|
border-top-right-radius: 0.75rem;
|
|
@@ -1203,6 +1213,12 @@ video {
|
|
|
1203
1213
|
.rounded-br-3xl {
|
|
1204
1214
|
border-bottom-right-radius: 1.5rem;
|
|
1205
1215
|
}
|
|
1216
|
+
.rounded-tr-none {
|
|
1217
|
+
border-top-right-radius: 0px;
|
|
1218
|
+
}
|
|
1219
|
+
.rounded-bl-none {
|
|
1220
|
+
border-bottom-left-radius: 0px;
|
|
1221
|
+
}
|
|
1206
1222
|
.border {
|
|
1207
1223
|
border-width: 1px;
|
|
1208
1224
|
}
|
|
@@ -1213,12 +1229,12 @@ video {
|
|
|
1213
1229
|
border-left-width: 1px;
|
|
1214
1230
|
border-right-width: 1px;
|
|
1215
1231
|
}
|
|
1216
|
-
.border-b {
|
|
1217
|
-
border-bottom-width: 1px;
|
|
1218
|
-
}
|
|
1219
1232
|
.border-l {
|
|
1220
1233
|
border-left-width: 1px;
|
|
1221
1234
|
}
|
|
1235
|
+
.border-b {
|
|
1236
|
+
border-bottom-width: 1px;
|
|
1237
|
+
}
|
|
1222
1238
|
.border-l-0 {
|
|
1223
1239
|
border-left-width: 0px;
|
|
1224
1240
|
}
|
|
@@ -1296,6 +1312,10 @@ video {
|
|
|
1296
1312
|
.bg-transparent {
|
|
1297
1313
|
background-color: transparent;
|
|
1298
1314
|
}
|
|
1315
|
+
.bg-grey-light {
|
|
1316
|
+
--tw-bg-opacity: 1;
|
|
1317
|
+
background-color: rgba(248, 248, 248, var(--tw-bg-opacity));
|
|
1318
|
+
}
|
|
1299
1319
|
.bg-gray-200 {
|
|
1300
1320
|
--tw-bg-opacity: 1;
|
|
1301
1321
|
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
|
|
@@ -1428,6 +1448,9 @@ video {
|
|
|
1428
1448
|
.p-0 {
|
|
1429
1449
|
padding: 0px;
|
|
1430
1450
|
}
|
|
1451
|
+
.p-8 {
|
|
1452
|
+
padding: 2rem;
|
|
1453
|
+
}
|
|
1431
1454
|
.px-4 {
|
|
1432
1455
|
padding-left: 1rem;
|
|
1433
1456
|
padding-right: 1rem;
|
|
@@ -1460,14 +1483,14 @@ video {
|
|
|
1460
1483
|
padding-left: 0.5rem;
|
|
1461
1484
|
padding-right: 0.5rem;
|
|
1462
1485
|
}
|
|
1463
|
-
.\!px-0 {
|
|
1464
|
-
padding-left: 0px !important;
|
|
1465
|
-
padding-right: 0px !important;
|
|
1466
|
-
}
|
|
1467
1486
|
.py-1 {
|
|
1468
1487
|
padding-top: 0.25rem;
|
|
1469
1488
|
padding-bottom: 0.25rem;
|
|
1470
1489
|
}
|
|
1490
|
+
.\!px-0 {
|
|
1491
|
+
padding-left: 0px !important;
|
|
1492
|
+
padding-right: 0px !important;
|
|
1493
|
+
}
|
|
1471
1494
|
.py-6 {
|
|
1472
1495
|
padding-top: 1.5rem;
|
|
1473
1496
|
padding-bottom: 1.5rem;
|
|
@@ -1512,6 +1535,10 @@ video {
|
|
|
1512
1535
|
padding-top: 1.25rem;
|
|
1513
1536
|
padding-bottom: 1.25rem;
|
|
1514
1537
|
}
|
|
1538
|
+
.py-0 {
|
|
1539
|
+
padding-top: 0px;
|
|
1540
|
+
padding-bottom: 0px;
|
|
1541
|
+
}
|
|
1515
1542
|
.py-px {
|
|
1516
1543
|
padding-top: 1px;
|
|
1517
1544
|
padding-bottom: 1px;
|
|
@@ -1684,6 +1711,10 @@ video {
|
|
|
1684
1711
|
--tw-text-opacity: 1 !important;
|
|
1685
1712
|
color: rgba(20, 83, 45, var(--tw-text-opacity)) !important;
|
|
1686
1713
|
}
|
|
1714
|
+
.text-yellow-400 {
|
|
1715
|
+
--tw-text-opacity: 1;
|
|
1716
|
+
color: rgba(250, 204, 21, var(--tw-text-opacity));
|
|
1717
|
+
}
|
|
1687
1718
|
.text-white {
|
|
1688
1719
|
--tw-text-opacity: 1;
|
|
1689
1720
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
@@ -1700,6 +1731,10 @@ video {
|
|
|
1700
1731
|
--tw-text-opacity: 1;
|
|
1701
1732
|
color: rgba(29, 78, 216, var(--tw-text-opacity));
|
|
1702
1733
|
}
|
|
1734
|
+
.text-grey-dark {
|
|
1735
|
+
--tw-text-opacity: 1;
|
|
1736
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
1737
|
+
}
|
|
1703
1738
|
.text-blue-congress {
|
|
1704
1739
|
--tw-text-opacity: 1;
|
|
1705
1740
|
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
@@ -1777,15 +1812,6 @@ video {
|
|
|
1777
1812
|
.opacity-80 {
|
|
1778
1813
|
opacity: 0.8;
|
|
1779
1814
|
}
|
|
1780
|
-
.\!shadow-\[1px_8px_9px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\] {
|
|
1781
|
-
--tw-shadow: 1px 8px 9px 0px rgba(50,50,93,0.10) !important;
|
|
1782
|
-
--tw-shadow-colored: 1px 8px 9px 0px var(--tw-shadow-color) !important;
|
|
1783
|
-
-webkit-box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1784
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1785
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1786
|
-
-webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
|
|
1787
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
|
|
1788
|
-
}
|
|
1789
1815
|
.shadow-\[1px_4px_5px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\] {
|
|
1790
1816
|
--tw-shadow: 1px 4px 5px 0px rgba(50,50,93,0.10);
|
|
1791
1817
|
--tw-shadow-colored: 1px 4px 5px 0px var(--tw-shadow-color);
|
|
@@ -1795,6 +1821,15 @@ video {
|
|
|
1795
1821
|
-webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
1796
1822
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
1797
1823
|
}
|
|
1824
|
+
.\!shadow-\[1px_8px_9px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\] {
|
|
1825
|
+
--tw-shadow: 1px 8px 9px 0px rgba(50,50,93,0.10) !important;
|
|
1826
|
+
--tw-shadow-colored: 1px 8px 9px 0px var(--tw-shadow-color) !important;
|
|
1827
|
+
-webkit-box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1828
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1829
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
|
|
1830
|
+
-webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
|
|
1831
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
|
|
1832
|
+
}
|
|
1798
1833
|
.shadow-inner {
|
|
1799
1834
|
--tw-shadow: inset 0 0px 5px 0 rgba(0, 0, 0, 0.25);
|
|
1800
1835
|
--tw-shadow-colored: inset 0 0px 5px 0 var(--tw-shadow-color);
|
|
@@ -1897,7 +1932,7 @@ video {
|
|
|
1897
1932
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
1898
1933
|
}
|
|
1899
1934
|
.counter-reset {
|
|
1900
|
-
counter-reset:
|
|
1935
|
+
counter-reset: cnt1662474004567;
|
|
1901
1936
|
}
|
|
1902
1937
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
1903
1938
|
font-size: 0.75rem;
|
|
@@ -2280,7 +2315,7 @@ video {
|
|
|
2280
2315
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2281
2316
|
}
|
|
2282
2317
|
.-ordered {
|
|
2283
|
-
counter-increment:
|
|
2318
|
+
counter-increment: cnt1662474004567 1;
|
|
2284
2319
|
}
|
|
2285
2320
|
.-ordered::before {
|
|
2286
2321
|
position: absolute;
|
|
@@ -2297,7 +2332,7 @@ video {
|
|
|
2297
2332
|
letter-spacing: .0125em;
|
|
2298
2333
|
--tw-text-opacity: 1;
|
|
2299
2334
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2300
|
-
content: counter(
|
|
2335
|
+
content: counter(cnt1662474004567);
|
|
2301
2336
|
}
|
|
2302
2337
|
/*! purgecss start ignore */
|
|
2303
2338
|
:root,
|
|
@@ -2665,25 +2700,25 @@ video {
|
|
|
2665
2700
|
right: 0;
|
|
2666
2701
|
bottom: 0;
|
|
2667
2702
|
}
|
|
2668
|
-
.placeholder\:text-
|
|
2703
|
+
.placeholder\:text-grey-dark::-webkit-input-placeholder {
|
|
2669
2704
|
--tw-text-opacity: 1;
|
|
2670
|
-
color: rgba(
|
|
2705
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
2671
2706
|
}
|
|
2672
|
-
.placeholder\:text-
|
|
2707
|
+
.placeholder\:text-grey-dark::-moz-placeholder {
|
|
2673
2708
|
--tw-text-opacity: 1;
|
|
2674
|
-
color: rgba(
|
|
2709
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
2675
2710
|
}
|
|
2676
|
-
.placeholder\:text-
|
|
2711
|
+
.placeholder\:text-grey-dark:-ms-input-placeholder {
|
|
2677
2712
|
--tw-text-opacity: 1;
|
|
2678
|
-
color: rgba(
|
|
2713
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
2679
2714
|
}
|
|
2680
|
-
.placeholder\:text-
|
|
2715
|
+
.placeholder\:text-grey-dark::-ms-input-placeholder {
|
|
2681
2716
|
--tw-text-opacity: 1;
|
|
2682
|
-
color: rgba(
|
|
2717
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
2683
2718
|
}
|
|
2684
|
-
.placeholder\:text-
|
|
2719
|
+
.placeholder\:text-grey-dark::placeholder {
|
|
2685
2720
|
--tw-text-opacity: 1;
|
|
2686
|
-
color: rgba(
|
|
2721
|
+
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
2687
2722
|
}
|
|
2688
2723
|
.first\:border-t:first-child {
|
|
2689
2724
|
border-top-width: 1px;
|
|
@@ -3110,9 +3145,8 @@ video {
|
|
|
3110
3145
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3111
3146
|
}
|
|
3112
3147
|
|
|
3113
|
-
.md
|
|
3114
|
-
padding
|
|
3115
|
-
padding-right: 0px !important;
|
|
3148
|
+
.md\:p-4 {
|
|
3149
|
+
padding: 1rem;
|
|
3116
3150
|
}
|
|
3117
3151
|
|
|
3118
3152
|
.md\:px-0 {
|
|
@@ -3120,6 +3154,11 @@ video {
|
|
|
3120
3154
|
padding-right: 0px;
|
|
3121
3155
|
}
|
|
3122
3156
|
|
|
3157
|
+
.md\:\!px-0 {
|
|
3158
|
+
padding-left: 0px !important;
|
|
3159
|
+
padding-right: 0px !important;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3123
3162
|
.md\:px-4 {
|
|
3124
3163
|
padding-left: 1rem;
|
|
3125
3164
|
padding-right: 1rem;
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
|
-
{{#if this.
|
|
3
|
-
<nav class="c-content-nav">
|
|
2
|
+
{{#if this.isListOrFlow}}
|
|
3
|
+
<nav class="w-full c-content-nav">
|
|
4
4
|
{{> components/content_nav/content_nav_container
|
|
5
5
|
_teasersize=../_teasersize
|
|
6
6
|
_maindivclass="flex flex-wrap mt-2 md:mt-0"
|
|
7
|
-
_inputcontainerclass="flex w-full h-10 mx-2 md:mx-0 border-blue-congress align-center"
|
|
8
|
-
}}
|
|
9
|
-
</nav>
|
|
10
|
-
{{else if this.isFlow}}
|
|
11
|
-
<nav class="c-content-nav">
|
|
12
|
-
{{> components/content_nav/content_nav_container
|
|
13
|
-
_teasersize=../_teasersize
|
|
14
|
-
_maindivclass="flex flex-wrap mt-2 md:mt-0"
|
|
15
|
-
_inputcontainerclass="flex w-full h-10 mx-2 md:mx-0 border-blue-congress align-center "
|
|
7
|
+
_inputcontainerclass="flex bg-grey-light w-full h-10 mx-2 md:mx-0 border-blue-congress align-center"
|
|
16
8
|
}}
|
|
17
9
|
</nav>
|
|
18
|
-
{{else}}
|
|
19
|
-
{{#>components/content_nav/
|
|
20
|
-
_componentClass="c-content-nav"
|
|
10
|
+
{{else}}
|
|
11
|
+
{{#>components/content_nav/content_nav_dropdown
|
|
12
|
+
_componentClass="c-content-nav w-full"
|
|
21
13
|
_teasersize=../_teasersize
|
|
22
14
|
_iconOpen="arrow-down"
|
|
23
15
|
_iconClose="arrow-up"
|
|
@@ -27,8 +19,8 @@
|
|
|
27
19
|
{{> components/content_nav/content_nav_container
|
|
28
20
|
_teasersize=_teasersize
|
|
29
21
|
_maindivclass="flex flex-wrap mt-0"
|
|
30
|
-
_inputcontainerclass="flex w-full h-10 mx-0 border-blue-congress align-center "
|
|
22
|
+
_inputcontainerclass="flex bg-grey-light w-full h-10 mx-0 border-blue-congress align-center "
|
|
31
23
|
}}
|
|
32
|
-
{{/components/content_nav/
|
|
24
|
+
{{/components/content_nav/content_nav_dropdown}}
|
|
33
25
|
{{/if}}
|
|
34
26
|
{{/with}}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div class="{{_maindivclass}} {{#if this.isAutosuggest}} autoSuggest js-load{{/if}}"
|
|
2
|
+
@click.outside ="$store.contentNavDropdownIsOpen = false;"
|
|
2
3
|
{{#if this.isAutosuggest}}
|
|
3
4
|
data-hr-auto-suggest='{"filterGroupsSelector":".c-content-nav__group", "filterElementSelector":".c-content-nav__item", "filterTextSelector":".js-title", "inputElementSelector":".js-autosuggest-input", "matchedClass":"", "unmatchedClass":"hidden"}'
|
|
4
5
|
{{/if}}
|
|
5
|
-
|
|
6
|
+
>
|
|
6
7
|
{{#if this.isAutosuggest}}
|
|
7
8
|
<div class="{{_inputcontainerclass}} c-content-nav__autosuggest ">
|
|
8
|
-
<input x-ref="autosuggestInput"
|
|
9
|
-
|
|
9
|
+
<input x-ref="autosuggestInput"
|
|
10
|
+
class="w-full h-8 pl-2 bg-gray-200 text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
|
|
11
|
+
type="text"
|
|
12
|
+
placeholder="Eintrag filtern"/>
|
|
10
13
|
</div>
|
|
11
14
|
{{/if}}
|
|
12
15
|
|
|
13
16
|
{{> components/content_nav/content_nav_list _teasersize=_teasersize }}
|
|
17
|
+
|
|
14
18
|
</div>
|
|
@@ -9,22 +9,20 @@
|
|
|
9
9
|
|
|
10
10
|
<div x-show="shouldDropdownBeShown({{_teasersize}},{{this.isDropdown}},{{this.isMixed}})"
|
|
11
11
|
:class="$store.contentNavDropdownIsOpen ? 'shadow-[1px_4px_5px_0px_rgba(50,50,93,0.10)]' : ''"
|
|
12
|
-
class="relative flex w-full h-10 mb-2 overflow-hidden bg-white border z-10002 border-blue-congress whitespace-nowrap text-blue-congress fill-congress"
|
|
13
|
-
|
|
14
|
-
<span class="self-center w-full p-2 text-base">
|
|
15
|
-
{{_buttonText}}
|
|
16
|
-
</span>
|
|
12
|
+
class="relative flex w-full h-10 mb-2 overflow-hidden bg-white border z-10002 border-blue-congress whitespace-nowrap text-blue-congress fill-congress"
|
|
13
|
+
>
|
|
14
|
+
<span class="self-center w-full p-2 text-base">{{_buttonText}}</span>
|
|
17
15
|
<div class="flex self-center w-auto h-full px-3 py-1 border-l border-blue-congress">
|
|
18
16
|
<span @click="$store.contentNavDropdownIsOpen = !$store.contentNavDropdownIsOpen"
|
|
19
17
|
:class="$store.contentNavDropdownIsOpen ? 'hidden' : ''"
|
|
20
|
-
class="flex self-center"
|
|
21
|
-
|
|
22
|
-
{{~> components/base/image/icon _icon=(defaultIfEmpty _iconOpen "arrow-down") _addClass="h-4 w-4" _iconmap="icons"~}}
|
|
23
|
-
|
|
18
|
+
class="flex self-center"
|
|
19
|
+
>
|
|
20
|
+
{{~> components/base/image/icon _icon=(defaultIfEmpty _iconOpen "arrow-down") _addClass="h-4 w-4" _iconmap="icons"~}}
|
|
24
21
|
</span>
|
|
25
22
|
<span @click="$store.contentNavDropdownIsOpen = !$store.contentNavDropdownIsOpen; $dispatch('resetinput')"
|
|
26
23
|
:class="$store.contentNavDropdownIsOpen ? '' : 'hidden'"
|
|
27
|
-
class="flex self-center"
|
|
24
|
+
class="flex self-center"
|
|
25
|
+
>
|
|
28
26
|
{{~> components/base/image/icon _icon=(defaultIfEmpty _iconClose "arrow-up") _addClass="h-4 w-4" _iconmap="icons"~}}
|
|
29
27
|
</span>
|
|
30
28
|
</div>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
<li x-init="chooseListItemStyles({{_teasersize}},{{_islist}},{{_ismixed}},{{_isdropdown}},{{_isflow}})"
|
|
2
|
-
class="h-10 md:mx-0 overflow-hidden text-base font-copy list-none border-blue-congress fill-congress text-blue-congress bg-white hover:bg-blue-congress hover:fill-white hover:text-white hover:underline {{#if this.isSelected}} font-bold -current{{/if}} c-content-nav__item"
|
|
3
|
-
|
|
2
|
+
class="h-10 md:mx-0 overflow-hidden text-base font-copy list-none border-blue-congress fill-congress text-blue-congress bg-white hover:bg-blue-congress hover:fill-white hover:text-white hover:underline {{#if this.isSelected}} font-bold -current{{/if}} c-content-nav__item"
|
|
3
|
+
>
|
|
4
|
+
{{#>components/base/link.hbs
|
|
4
5
|
_doNavigationTracking="true"
|
|
5
6
|
_clickLabelType="Contentnavigation"
|
|
6
7
|
_clickLabelPrefix1=this.title
|
|
7
8
|
_css="flex items-center py-2 px-2 h-10 whitespace-nowrap overflow-hidden"
|
|
8
9
|
_isSelected=this.isSelected
|
|
9
10
|
_selectedCssClass="is-selected"
|
|
10
|
-
|
|
11
|
+
}}
|
|
11
12
|
|
|
12
|
-
<span class="
|
|
13
|
+
<span class="block text-base grow font-copy js-title truncate ... ">{{this.title}}</span>
|
|
13
14
|
|
|
14
15
|
{{#if this.link.hasIcon}}
|
|
15
16
|
{{> components/base/image/icon _icon=this.link.iconName _addClass="ml-2 h-4 w-4" _iconmap="icons"}}
|
|
@@ -1,26 +1,32 @@
|
|
|
1
|
-
<ul :class="(({{this.isMixed}} && {{_teasersize}} < 50) || ({{this.isMixed}} && window.innerWidth < 768) || {{this.isDropdown}}) && $store.contentNavDropdownIsOpen
|
|
2
|
-
class="flex flex-wrap w-full px-2 z-10000 md:!px-0 last:border-b-0">
|
|
1
|
+
<ul :class="( ({{this.isMixed}} && {{_teasersize}} < 50 ) || ( {{this.isMixed}} && window.innerWidth < 768 ) || {{this.isDropdown}} ) && $store.contentNavDropdownIsOpen == true ? '!shadow-[1px_8px_9px_0px_rgba(50,50,93,0.10)] !px-0 mt-0' : ''"
|
|
2
|
+
class="flex flex-wrap w-full px-2 z-10000 md:!px-0 last:border-b-0">
|
|
3
3
|
|
|
4
4
|
{{~#each this.contentNavEntries~}}
|
|
5
5
|
|
|
6
6
|
{{~#if this.isGroup~}}
|
|
7
7
|
|
|
8
|
-
{{#if ../isDropdown}}
|
|
9
|
-
|
|
8
|
+
{{#if ../isDropdown}}
|
|
10
9
|
<li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-blue-accented text-blue-congress md:mx-0 font-copy fill-congress c-content-nav__group">
|
|
11
10
|
<div class="flex items-center h-10 p-2 c-content-nav__group-title">{{this.title}}</div>
|
|
12
|
-
<ul class="c-content-nav__group-list !px-0 mt-0
|
|
11
|
+
<ul class="c-content-nav__group-list !px-0 mt-0">
|
|
13
12
|
{{~#each this.navigationGroup~}}
|
|
14
|
-
{{> components/content_nav/content_nav_item
|
|
13
|
+
{{> components/content_nav/content_nav_item
|
|
14
|
+
_teasersize=../../_teasersize
|
|
15
|
+
_isdropdown=../../isDropdown
|
|
16
|
+
_ismixed=../../isMixed
|
|
17
|
+
_islist=../../isList
|
|
18
|
+
_isflow=../../isFlow}}
|
|
15
19
|
{{~/each~}}
|
|
16
20
|
</ul>
|
|
17
|
-
</li>
|
|
18
|
-
|
|
21
|
+
</li>
|
|
19
22
|
{{/if}}
|
|
20
|
-
{{else}}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
{{else}}
|
|
24
|
+
{{> components/content_nav/content_nav_item
|
|
25
|
+
_teasersize=../_teasersize
|
|
26
|
+
_isdropdown=../isDropdown
|
|
27
|
+
_ismixed=../isMixed
|
|
28
|
+
_islist=../isList
|
|
29
|
+
_isflow=../isFlow}}
|
|
24
30
|
{{~/if~}}
|
|
25
31
|
{{~/each~}}
|
|
26
32
|
</ul>
|
|
@@ -380,36 +380,52 @@ document.addEventListener('alpine:init', () => {
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
return false
|
|
383
|
-
},
|
|
384
|
-
|
|
383
|
+
},
|
|
385
384
|
chooseListItemStyles(teasersize, isList, isMixed, isDropdown, isFlow){
|
|
386
385
|
let classes = []
|
|
387
386
|
|
|
388
387
|
switch (teasersize) {
|
|
389
388
|
case 100:
|
|
390
389
|
classes.push('w-full','md:w-fit')
|
|
391
|
-
isList ? classes.push('border','mb-2','md:!mr-2','hover:no-underline')
|
|
390
|
+
isList ? classes.push('border','mb-2','md:!mr-2','hover:no-underline')
|
|
391
|
+
: isMixed ? classes.push('!w-full','md:!w-fit','!mb-0','md:!mb-2','md:mr-2','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','md:!border','md:border-blue-congress','border-gray-400','hover:underline','hover:text-blue-congress','hover:!bg-white','hover:!fill-congress','md:hover:no-underline','md:hover:text-white','md:hover:!bg-blue-congress','md:hover:!fill-white')
|
|
392
|
+
: isDropdown ? classes.push('!w-full','ml-0','md:!w-full','md:mb-0','md:!mr-0','border-gray-400','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','hover:underline','hover:text-blue-congress','hover:!bg-white','hover:!fill-congress')
|
|
393
|
+
: isFlow ? classes.push('!w-fit','!mr-2','border','mb-2','hover:no-underline')
|
|
394
|
+
: ''
|
|
392
395
|
break;
|
|
393
396
|
case 66:
|
|
394
397
|
classes.push('w-fit')
|
|
395
|
-
isList == true ? classes.push('border','mb-2','mr-2','md:!mr-2','hover:no-underline')
|
|
396
|
-
|
|
398
|
+
isList == true ? classes.push('border','mb-2','mr-2','md:!mr-2','hover:no-underline')
|
|
399
|
+
: isMixed ? classes.push('!w-full','md:!w-fit','!mb-0','md:!mb-2','md:mr-2','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','md:!border','hover:text-blue-congress','hover:!fill-congress','hover:!bg-white','md:hover:!bg-blue-congress','md:hover:!text-white','md:hover:no-underline','md:hover:!fill-white')
|
|
400
|
+
: isDropdown ? classes.push('!w-full','md:!w-full','md:mb-0','md:!mr-0','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','hover:underline','hover:text-blue-congress','hover:!bg-white','hover:!fill-congress')
|
|
401
|
+
: isFlow ? classes.push('!w-fit','!mr-2','border','mb-2','hover:no-underline')
|
|
402
|
+
: ''
|
|
397
403
|
break;
|
|
398
404
|
case 50:
|
|
399
405
|
classes.push('w-full')
|
|
400
|
-
isList ? classes.push('border','mb-2',
|
|
406
|
+
isList ? classes.push('border','mb-2','hover:no-underline')
|
|
407
|
+
: isMixed ? classes.push('!w-full','border','md:mb-2','last:mb-0','border-gray-400','border-l-0','border-r-0','border-t-0','md:border','md:border-blue-congress','hover:underline','hover:!bg-white','hover:text-blue-congress','hover:fill-congress','md:hover:!bg-blue-congress','md:hover:!text-white','md:hover:fill-white','md:hover:no-underline')
|
|
408
|
+
: isDropdown ? classes.push('!w-full','md:!w-full','md:mb-0','md:!mr-0','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','border-gray-400','hover:underline','hover:!text-blue-congress','hover:!bg-white','hover:!fill-congress')
|
|
409
|
+
: isFlow ? classes.push('!w-fit','!mr-2','border','mb-2','hover:no-underline')
|
|
410
|
+
: ''
|
|
401
411
|
break;
|
|
402
412
|
case 33:
|
|
403
413
|
classes.push('w-full')
|
|
404
|
-
isList ? classes.push('border','mb-2',
|
|
414
|
+
isList ? classes.push('border','mb-2','hover:no-underline')
|
|
415
|
+
: isMixed ? classes.push('!w-full','!mb-0','border-b','last:border-b-0','hover:!bg-white','hover:underline','hover:text-blue-congress','hover:!fill-congress')
|
|
416
|
+
: isDropdown ? classes.push('!w-full','md:!w-full','md:mb-0','md:!mr-0','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','hover:underline','hover:!text-blue-congress','hover:!bg-white','hover:!fill-congress')
|
|
417
|
+
: isFlow ? classes.push('!w-fit','!mr-2','border','mb-2','hover:no-underline')
|
|
418
|
+
: ''
|
|
405
419
|
break;
|
|
406
420
|
case 25:
|
|
407
421
|
classes.push('w-full')
|
|
408
|
-
isList ? classes.push('border','mb-2',
|
|
422
|
+
isList ? classes.push('border','mb-2','hover:no-underline')
|
|
423
|
+
: isMixed ? classes.push('!w-full','!mb-0','border-b','last:border-b-0','hover:!bg-white','hover:underline','hover:!text-blue-congress','hover:!fill-congress')
|
|
424
|
+
: isDropdown ? classes.push('!w-full','md:!w-full','md:mb-0','md:!mr-0','border-l-0','border-r-0','border-t-0','border-b','last:border-b-0','hover:underline','hover:text-blue-congress','hover:!bg-white','hover:!fill-congress')
|
|
425
|
+
: isFlow ? classes.push('!w-fit','!mr-2','border','mb-2','hover:no-underline')
|
|
426
|
+
: ''
|
|
409
427
|
break;
|
|
410
|
-
|
|
411
428
|
}
|
|
412
|
-
|
|
413
429
|
for (let i = 0; i < classes.length; i++) {
|
|
414
430
|
this.$el.classList.add(classes[i])
|
|
415
431
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
{{#>components/base/link link=this.logicItem.includeModel.link
|
|
2
|
+
{{#>components/base/link link=this.logicItem.includeModel.link _css="group" _doTracking=(if this.logicItem.includeModel.doTracking 'true') _clickLabelPrefix1="clusterTeaserLink" _clickLabelPrefix2="Link" }}
|
|
3
3
|
{{> components/teaser/components/teaser_heading
|
|
4
4
|
_headlineTag=this.logicItem.includeModel.headlineTag
|
|
5
5
|
_label=this.logicItem.includeModel.label
|