hr-design-system-handlebars 1.51.8 → 1.51.10
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/index.css +339 -8
- package/dist/views/components/banner/header/banner_image.hbs +2 -2
- package/dist/views/components/banner/header/banner_overlay.hbs +1 -1
- package/dist/views/components/banner/header/banner_wrapper.hbs +2 -2
- package/dist/views/components/banner/header/breadcrumb_wrapper.hbs +1 -1
- package/dist/views/components/banner/structure_nav/structure_nav.hbs +1 -1
- package/dist/views_static/components/banner/header/banner_image.hbs +2 -2
- package/dist/views_static/components/banner/header/banner_overlay.hbs +1 -1
- package/dist/views_static/components/banner/header/banner_wrapper.hbs +2 -2
- package/dist/views_static/components/banner/header/breadcrumb_wrapper.hbs +1 -1
- package/dist/views_static/components/banner/structure_nav/structure_nav.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +28 -1
- package/src/stories/views/components/banner/header/banner_image.hbs +2 -2
- package/src/stories/views/components/banner/header/banner_overlay.hbs +1 -1
- package/src/stories/views/components/banner/header/banner_wrapper.hbs +2 -2
- package/src/stories/views/components/banner/header/breadcrumb_wrapper.hbs +1 -1
- package/src/stories/views/components/banner/structure_nav/structure_nav.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.51.10 (Mon Dec 18 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Banner print bug 2 [#795](https://github.com/mumprod/hr-design-system-handlebars/pull/795) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.51.9 (Mon Dec 18 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Banner print view bug [#794](https://github.com/mumprod/hr-design-system-handlebars/pull/794) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.51.8 (Fri Dec 15 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1481,9 +1481,6 @@ article.indexText ul {
|
|
|
1481
1481
|
.hidden {
|
|
1482
1482
|
display: none;
|
|
1483
1483
|
}
|
|
1484
|
-
.aspect-auto {
|
|
1485
|
-
aspect-ratio: auto;
|
|
1486
|
-
}
|
|
1487
1484
|
.aspect-video {
|
|
1488
1485
|
aspect-ratio: 16 / 9;
|
|
1489
1486
|
}
|
|
@@ -3211,7 +3208,7 @@ article.indexText ul {
|
|
|
3211
3208
|
border-bottom-color: var(--color-secondary-ds);
|
|
3212
3209
|
}
|
|
3213
3210
|
.counter-reset {
|
|
3214
|
-
counter-reset:
|
|
3211
|
+
counter-reset: cnt1702898621514;
|
|
3215
3212
|
}
|
|
3216
3213
|
.hyphens-auto {
|
|
3217
3214
|
-webkit-hyphens: auto;
|
|
@@ -3232,6 +3229,22 @@ article.indexText ul {
|
|
|
3232
3229
|
/*! ****************************/
|
|
3233
3230
|
/*! Aspect Ratio with fallback */
|
|
3234
3231
|
/*! ****************************/
|
|
3232
|
+
.ar-auto {
|
|
3233
|
+
aspect-ratio: auto;
|
|
3234
|
+
}
|
|
3235
|
+
@supports not (aspect-ratio: auto) {
|
|
3236
|
+
.ar-auto::before {
|
|
3237
|
+
float: left;
|
|
3238
|
+
padding-top: 0;
|
|
3239
|
+
content: '';
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
.ar-auto::after {
|
|
3243
|
+
display: block;
|
|
3244
|
+
content: '';
|
|
3245
|
+
clear: both;
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3235
3248
|
.ar-16-9 {
|
|
3236
3249
|
aspect-ratio: 16 / 9;
|
|
3237
3250
|
}
|
|
@@ -3280,6 +3293,23 @@ article.indexText ul {
|
|
|
3280
3293
|
clear: both;
|
|
3281
3294
|
}
|
|
3282
3295
|
}
|
|
3296
|
+
.ar-auto {
|
|
3297
|
+
aspect-ratio: auto;
|
|
3298
|
+
}
|
|
3299
|
+
@supports not (aspect-ratio: auto) {
|
|
3300
|
+
.ar-auto::before {
|
|
3301
|
+
float: none;
|
|
3302
|
+
float: initial;
|
|
3303
|
+
padding-top: 0;
|
|
3304
|
+
content: '';
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
.ar-auto::after {
|
|
3308
|
+
display: inline;
|
|
3309
|
+
content: '';
|
|
3310
|
+
clear: none;
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3283
3313
|
/*! ********************************/
|
|
3284
3314
|
/*! Aspect Ratio with fallback end */
|
|
3285
3315
|
/*! ********************************/
|
|
@@ -3289,6 +3319,14 @@ article.indexText ul {
|
|
|
3289
3319
|
[main-start] minmax(0, 63.75rem) [main-end]
|
|
3290
3320
|
minmax(0, 1fr) [full-end];
|
|
3291
3321
|
}
|
|
3322
|
+
@media print {
|
|
3323
|
+
.grid-page {
|
|
3324
|
+
grid-template-columns:
|
|
3325
|
+
[full-start] minmax(0, 1fr)
|
|
3326
|
+
[main-start] minmax(0, 43.75rem) [main-end]
|
|
3327
|
+
minmax(0, 1fr) [full-end];
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3292
3330
|
.grid-content {
|
|
3293
3331
|
grid-template-areas:
|
|
3294
3332
|
"head"
|
|
@@ -3472,7 +3510,7 @@ article.indexText ul {
|
|
|
3472
3510
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3473
3511
|
}
|
|
3474
3512
|
.-ordered {
|
|
3475
|
-
counter-increment:
|
|
3513
|
+
counter-increment: cnt1702898621514 1;
|
|
3476
3514
|
}
|
|
3477
3515
|
.-ordered::before {
|
|
3478
3516
|
position: absolute;
|
|
@@ -3488,7 +3526,7 @@ article.indexText ul {
|
|
|
3488
3526
|
letter-spacing: .0125em;
|
|
3489
3527
|
--tw-text-opacity: 1;
|
|
3490
3528
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3491
|
-
content: counter(
|
|
3529
|
+
content: counter(cnt1702898621514);
|
|
3492
3530
|
}
|
|
3493
3531
|
/*! ****************************/
|
|
3494
3532
|
/*! DataPolicy stuff */
|
|
@@ -5209,8 +5247,8 @@ article.indexText ul {
|
|
|
5209
5247
|
}
|
|
5210
5248
|
@media print {
|
|
5211
5249
|
|
|
5212
|
-
.print\:
|
|
5213
|
-
position:
|
|
5250
|
+
.print\:static {
|
|
5251
|
+
position: static;
|
|
5214
5252
|
}
|
|
5215
5253
|
|
|
5216
5254
|
.print\:flex {
|
|
@@ -5220,6 +5258,68 @@ article.indexText ul {
|
|
|
5220
5258
|
.print\:hidden {
|
|
5221
5259
|
display: none;
|
|
5222
5260
|
}
|
|
5261
|
+
|
|
5262
|
+
.print\:overflow-auto {
|
|
5263
|
+
overflow: auto;
|
|
5264
|
+
}
|
|
5265
|
+
.print\:ar-auto {
|
|
5266
|
+
aspect-ratio: auto;
|
|
5267
|
+
}
|
|
5268
|
+
|
|
5269
|
+
@supports not (aspect-ratio: auto) {
|
|
5270
|
+
.print\:ar-auto::before {
|
|
5271
|
+
float: left;
|
|
5272
|
+
padding-top: 0;
|
|
5273
|
+
content: '';
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
.print\:ar-auto::after {
|
|
5277
|
+
display: block;
|
|
5278
|
+
content: '';
|
|
5279
|
+
clear: both;
|
|
5280
|
+
}
|
|
5281
|
+
.print\:ar-auto::before {
|
|
5282
|
+
float: left;
|
|
5283
|
+
padding-top: 0;
|
|
5284
|
+
content: '';
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
.print\:ar-auto::after {
|
|
5288
|
+
display: block;
|
|
5289
|
+
content: '';
|
|
5290
|
+
clear: both;
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
.print\:ar-auto {
|
|
5294
|
+
aspect-ratio: auto;
|
|
5295
|
+
}
|
|
5296
|
+
|
|
5297
|
+
@supports not (aspect-ratio: auto) {
|
|
5298
|
+
.print\:ar-auto::before {
|
|
5299
|
+
float: none;
|
|
5300
|
+
float: initial;
|
|
5301
|
+
padding-top: 0;
|
|
5302
|
+
content: '';
|
|
5303
|
+
}
|
|
5304
|
+
|
|
5305
|
+
.print\:ar-auto::after {
|
|
5306
|
+
display: inline;
|
|
5307
|
+
content: '';
|
|
5308
|
+
clear: none;
|
|
5309
|
+
}
|
|
5310
|
+
.print\:ar-auto::before {
|
|
5311
|
+
float: none;
|
|
5312
|
+
float: initial;
|
|
5313
|
+
padding-top: 0;
|
|
5314
|
+
content: '';
|
|
5315
|
+
}
|
|
5316
|
+
|
|
5317
|
+
.print\:ar-auto::after {
|
|
5318
|
+
display: inline;
|
|
5319
|
+
content: '';
|
|
5320
|
+
clear: none;
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5223
5323
|
}
|
|
5224
5324
|
@media (min-width: 360px) {
|
|
5225
5325
|
|
|
@@ -5299,6 +5399,8 @@ article.indexText ul {
|
|
|
5299
5399
|
font-size: 1.25rem;
|
|
5300
5400
|
line-height: 1.6875rem;
|
|
5301
5401
|
}
|
|
5402
|
+
|
|
5403
|
+
|
|
5302
5404
|
.sm480\:ar-16-9 {
|
|
5303
5405
|
aspect-ratio: 16 / 9;
|
|
5304
5406
|
}
|
|
@@ -5385,6 +5487,69 @@ article.indexText ul {
|
|
|
5385
5487
|
}
|
|
5386
5488
|
}
|
|
5387
5489
|
}
|
|
5490
|
+
@media print {
|
|
5491
|
+
|
|
5492
|
+
@media (min-width: 480px) {
|
|
5493
|
+
.print\:sm480\:ar-auto {
|
|
5494
|
+
aspect-ratio: auto;
|
|
5495
|
+
}
|
|
5496
|
+
|
|
5497
|
+
@supports not (aspect-ratio: auto) {
|
|
5498
|
+
.print\:sm480\:ar-auto::before {
|
|
5499
|
+
float: left;
|
|
5500
|
+
padding-top: 0;
|
|
5501
|
+
content: '';
|
|
5502
|
+
}
|
|
5503
|
+
|
|
5504
|
+
.print\:sm480\:ar-auto::after {
|
|
5505
|
+
display: block;
|
|
5506
|
+
content: '';
|
|
5507
|
+
clear: both;
|
|
5508
|
+
}
|
|
5509
|
+
.print\:sm480\:ar-auto::before {
|
|
5510
|
+
float: left;
|
|
5511
|
+
padding-top: 0;
|
|
5512
|
+
content: '';
|
|
5513
|
+
}
|
|
5514
|
+
|
|
5515
|
+
.print\:sm480\:ar-auto::after {
|
|
5516
|
+
display: block;
|
|
5517
|
+
content: '';
|
|
5518
|
+
clear: both;
|
|
5519
|
+
}
|
|
5520
|
+
}
|
|
5521
|
+
.print\:sm480\:ar-auto {
|
|
5522
|
+
aspect-ratio: auto;
|
|
5523
|
+
}
|
|
5524
|
+
|
|
5525
|
+
@supports not (aspect-ratio: auto) {
|
|
5526
|
+
.print\:sm480\:ar-auto::before {
|
|
5527
|
+
float: none;
|
|
5528
|
+
float: initial;
|
|
5529
|
+
padding-top: 0;
|
|
5530
|
+
content: '';
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
.print\:sm480\:ar-auto::after {
|
|
5534
|
+
display: inline;
|
|
5535
|
+
content: '';
|
|
5536
|
+
clear: none;
|
|
5537
|
+
}
|
|
5538
|
+
.print\:sm480\:ar-auto::before {
|
|
5539
|
+
float: none;
|
|
5540
|
+
float: initial;
|
|
5541
|
+
padding-top: 0;
|
|
5542
|
+
content: '';
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
.print\:sm480\:ar-auto::after {
|
|
5546
|
+
display: inline;
|
|
5547
|
+
content: '';
|
|
5548
|
+
clear: none;
|
|
5549
|
+
}
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5552
|
+
}
|
|
5388
5553
|
@media (min-width: 640px) {
|
|
5389
5554
|
|
|
5390
5555
|
.sm\:not-sr-only {
|
|
@@ -5575,6 +5740,36 @@ article.indexText ul {
|
|
|
5575
5740
|
font-size: 1.25rem;
|
|
5576
5741
|
line-height: 1.6875rem;
|
|
5577
5742
|
}
|
|
5743
|
+
.sm\:ar-auto {
|
|
5744
|
+
aspect-ratio: auto;
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
@supports not (aspect-ratio: auto) {
|
|
5748
|
+
.sm\:ar-auto::before {
|
|
5749
|
+
float: left;
|
|
5750
|
+
padding-top: 0;
|
|
5751
|
+
content: '';
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
.sm\:ar-auto::after {
|
|
5755
|
+
display: block;
|
|
5756
|
+
content: '';
|
|
5757
|
+
clear: both;
|
|
5758
|
+
}
|
|
5759
|
+
.sm\:ar-auto::before {
|
|
5760
|
+
float: left;
|
|
5761
|
+
padding-top: 0;
|
|
5762
|
+
content: '';
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5765
|
+
.sm\:ar-auto::after {
|
|
5766
|
+
display: block;
|
|
5767
|
+
content: '';
|
|
5768
|
+
clear: both;
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
|
|
5772
|
+
|
|
5578
5773
|
.sm\:ar-16-9 {
|
|
5579
5774
|
aspect-ratio: 16 / 9;
|
|
5580
5775
|
}
|
|
@@ -6159,6 +6354,8 @@ article.indexText ul {
|
|
|
6159
6354
|
.md\:transition-none {
|
|
6160
6355
|
transition-property: none;
|
|
6161
6356
|
}
|
|
6357
|
+
|
|
6358
|
+
|
|
6162
6359
|
.md\:ar-16-9 {
|
|
6163
6360
|
aspect-ratio: 16 / 9;
|
|
6164
6361
|
}
|
|
@@ -6282,6 +6479,69 @@ article.indexText ul {
|
|
|
6282
6479
|
padding-top: 0px;
|
|
6283
6480
|
}
|
|
6284
6481
|
}
|
|
6482
|
+
@media print {
|
|
6483
|
+
|
|
6484
|
+
@media (min-width: 768px) {
|
|
6485
|
+
.print\:md\:ar-auto {
|
|
6486
|
+
aspect-ratio: auto;
|
|
6487
|
+
}
|
|
6488
|
+
|
|
6489
|
+
@supports not (aspect-ratio: auto) {
|
|
6490
|
+
.print\:md\:ar-auto::before {
|
|
6491
|
+
float: left;
|
|
6492
|
+
padding-top: 0;
|
|
6493
|
+
content: '';
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
.print\:md\:ar-auto::after {
|
|
6497
|
+
display: block;
|
|
6498
|
+
content: '';
|
|
6499
|
+
clear: both;
|
|
6500
|
+
}
|
|
6501
|
+
.print\:md\:ar-auto::before {
|
|
6502
|
+
float: left;
|
|
6503
|
+
padding-top: 0;
|
|
6504
|
+
content: '';
|
|
6505
|
+
}
|
|
6506
|
+
|
|
6507
|
+
.print\:md\:ar-auto::after {
|
|
6508
|
+
display: block;
|
|
6509
|
+
content: '';
|
|
6510
|
+
clear: both;
|
|
6511
|
+
}
|
|
6512
|
+
}
|
|
6513
|
+
.print\:md\:ar-auto {
|
|
6514
|
+
aspect-ratio: auto;
|
|
6515
|
+
}
|
|
6516
|
+
|
|
6517
|
+
@supports not (aspect-ratio: auto) {
|
|
6518
|
+
.print\:md\:ar-auto::before {
|
|
6519
|
+
float: none;
|
|
6520
|
+
float: initial;
|
|
6521
|
+
padding-top: 0;
|
|
6522
|
+
content: '';
|
|
6523
|
+
}
|
|
6524
|
+
|
|
6525
|
+
.print\:md\:ar-auto::after {
|
|
6526
|
+
display: inline;
|
|
6527
|
+
content: '';
|
|
6528
|
+
clear: none;
|
|
6529
|
+
}
|
|
6530
|
+
.print\:md\:ar-auto::before {
|
|
6531
|
+
float: none;
|
|
6532
|
+
float: initial;
|
|
6533
|
+
padding-top: 0;
|
|
6534
|
+
content: '';
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
.print\:md\:ar-auto::after {
|
|
6538
|
+
display: inline;
|
|
6539
|
+
content: '';
|
|
6540
|
+
clear: none;
|
|
6541
|
+
}
|
|
6542
|
+
}
|
|
6543
|
+
}
|
|
6544
|
+
}
|
|
6285
6545
|
@media (min-width: 1024px) {
|
|
6286
6546
|
|
|
6287
6547
|
.lg\:fixed {
|
|
@@ -6831,6 +7091,77 @@ article.indexText ul {
|
|
|
6831
7091
|
position: relative;
|
|
6832
7092
|
}
|
|
6833
7093
|
}
|
|
7094
|
+
@media print {
|
|
7095
|
+
|
|
7096
|
+
@media (min-width: 1024px) {
|
|
7097
|
+
|
|
7098
|
+
.print\:lg\:static {
|
|
7099
|
+
position: static;
|
|
7100
|
+
}
|
|
7101
|
+
|
|
7102
|
+
.print\:lg\:hidden {
|
|
7103
|
+
display: none;
|
|
7104
|
+
}
|
|
7105
|
+
.print\:lg\:ar-auto {
|
|
7106
|
+
aspect-ratio: auto;
|
|
7107
|
+
}
|
|
7108
|
+
|
|
7109
|
+
@supports not (aspect-ratio: auto) {
|
|
7110
|
+
.print\:lg\:ar-auto::before {
|
|
7111
|
+
float: left;
|
|
7112
|
+
padding-top: 0;
|
|
7113
|
+
content: '';
|
|
7114
|
+
}
|
|
7115
|
+
|
|
7116
|
+
.print\:lg\:ar-auto::after {
|
|
7117
|
+
display: block;
|
|
7118
|
+
content: '';
|
|
7119
|
+
clear: both;
|
|
7120
|
+
}
|
|
7121
|
+
.print\:lg\:ar-auto::before {
|
|
7122
|
+
float: left;
|
|
7123
|
+
padding-top: 0;
|
|
7124
|
+
content: '';
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
.print\:lg\:ar-auto::after {
|
|
7128
|
+
display: block;
|
|
7129
|
+
content: '';
|
|
7130
|
+
clear: both;
|
|
7131
|
+
}
|
|
7132
|
+
}
|
|
7133
|
+
.print\:lg\:ar-auto {
|
|
7134
|
+
aspect-ratio: auto;
|
|
7135
|
+
}
|
|
7136
|
+
|
|
7137
|
+
@supports not (aspect-ratio: auto) {
|
|
7138
|
+
.print\:lg\:ar-auto::before {
|
|
7139
|
+
float: none;
|
|
7140
|
+
float: initial;
|
|
7141
|
+
padding-top: 0;
|
|
7142
|
+
content: '';
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7145
|
+
.print\:lg\:ar-auto::after {
|
|
7146
|
+
display: inline;
|
|
7147
|
+
content: '';
|
|
7148
|
+
clear: none;
|
|
7149
|
+
}
|
|
7150
|
+
.print\:lg\:ar-auto::before {
|
|
7151
|
+
float: none;
|
|
7152
|
+
float: initial;
|
|
7153
|
+
padding-top: 0;
|
|
7154
|
+
content: '';
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
.print\:lg\:ar-auto::after {
|
|
7158
|
+
display: inline;
|
|
7159
|
+
content: '';
|
|
7160
|
+
clear: none;
|
|
7161
|
+
}
|
|
7162
|
+
}
|
|
7163
|
+
}
|
|
7164
|
+
}
|
|
6834
7165
|
@media (min-width: 768px) and (max-width: 1023px) {
|
|
6835
7166
|
|
|
6836
7167
|
.tablet\:absolute {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<a href="{{../bannerLink}}">
|
|
4
4
|
{{/if}}
|
|
5
5
|
{{#unless ../_hideOnMobile }}
|
|
6
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
6
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="print:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
7
7
|
{{else}}
|
|
8
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
8
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block print:lg:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
9
9
|
{{/unless}}
|
|
10
10
|
{{#if ../bannerLink}}
|
|
11
11
|
</a>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:
|
|
1
|
+
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute print:lg:static lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:static{{/if}}">{{/if}}
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
{{#if _hasBackground}}</div>{{/if}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
1
|
+
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden print:overflow-auto -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
2
2
|
<div role="banner" class="grid col-full sm:col-main relative{{#unless _hasBannerImage}} px-4 md:px-5 lg:px-10 bg-white dark:bg-black{{/unless}}">
|
|
3
|
-
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}}
|
|
3
|
+
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}} ar-auto lg:ar-100-27 print:lg:ar-auto bg-white dark:bg-black{{else}} ar-16-9 sm480:ar-16-7 md:ar-100-27 print:ar-auto print:sm480:ar-auto print:md:ar-auto{{/if}}{{else}}pb-4 border-b border-gray-boulder{{/if}}">
|
|
4
4
|
{{> @partial-block }}
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="grid grid-page{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
1
|
+
<div class="grid grid-page print:hidden{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
2
2
|
<div class="col-full sm:col-main{{#if _hasContentNav }} bg-white py-2{{else}}{{#unless _hasBannerImage}} bg-white py-2{{/unless}}{{/if}}">
|
|
3
3
|
{{> @partial-block }}
|
|
4
4
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
|
-
<div class="grid order-3 grid-page">
|
|
2
|
+
<div class="grid order-3 grid-page print:hidden">
|
|
3
3
|
<nav class="md:px-5 lg:px-10 col-full sm:col-main bg-structure-nav"
|
|
4
4
|
x-data="{ isOpen: false}">
|
|
5
5
|
<div class="relative flex flex-wrap items-center mx-auto" @click.outside="isOpen = false">
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<a href="{{../bannerLink}}">
|
|
4
4
|
{{/if}}
|
|
5
5
|
{{#unless ../_hideOnMobile }}
|
|
6
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
6
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="print:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
7
7
|
{{else}}
|
|
8
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
8
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block print:lg:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
9
9
|
{{/unless}}
|
|
10
10
|
{{#if ../bannerLink}}
|
|
11
11
|
</a>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:
|
|
1
|
+
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute print:lg:static lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:static{{/if}}">{{/if}}
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
{{#if _hasBackground}}</div>{{/if}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
1
|
+
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden print:overflow-auto -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
2
2
|
<div role="banner" class="grid col-full sm:col-main relative{{#unless _hasBannerImage}} px-4 md:px-5 lg:px-10 bg-white dark:bg-black{{/unless}}">
|
|
3
|
-
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}}
|
|
3
|
+
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}} ar-auto lg:ar-100-27 print:lg:ar-auto bg-white dark:bg-black{{else}} ar-16-9 sm480:ar-16-7 md:ar-100-27 print:ar-auto print:sm480:ar-auto print:md:ar-auto{{/if}}{{else}}pb-4 border-b border-gray-boulder{{/if}}">
|
|
4
4
|
{{> @partial-block }}
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="grid grid-page{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
1
|
+
<div class="grid grid-page print:hidden{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
2
2
|
<div class="col-full sm:col-main{{#if _hasContentNav }} bg-white py-2{{else}}{{#unless _hasBannerImage}} bg-white py-2{{/unless}}{{/if}}">
|
|
3
3
|
{{> @partial-block }}
|
|
4
4
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
|
-
<div class="grid order-3 grid-page">
|
|
2
|
+
<div class="grid order-3 grid-page print:hidden">
|
|
3
3
|
<nav class="md:px-5 lg:px-10 col-full sm:col-main bg-structure-nav"
|
|
4
4
|
x-data="{ isOpen: false}">
|
|
5
5
|
<div class="relative flex flex-wrap items-center mx-auto" @click.outside="isOpen = false">
|
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.51.
|
|
9
|
+
"version": "1.51.10",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -6,6 +6,25 @@
|
|
|
6
6
|
/*! ****************************/
|
|
7
7
|
/*! Aspect Ratio with fallback */
|
|
8
8
|
/*! ****************************/
|
|
9
|
+
.ar-auto {
|
|
10
|
+
aspect-ratio: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@supports not (aspect-ratio: auto) {
|
|
14
|
+
.ar-auto::before {
|
|
15
|
+
float: left;
|
|
16
|
+
padding-top: 0;
|
|
17
|
+
content: '';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ar-auto::after {
|
|
21
|
+
display: block;
|
|
22
|
+
content: '';
|
|
23
|
+
clear: both;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
9
28
|
.ar-16-9 {
|
|
10
29
|
aspect-ratio: 16 / 9;
|
|
11
30
|
}
|
|
@@ -146,6 +165,14 @@
|
|
|
146
165
|
[main-start] minmax(0, 63.75rem) [main-end]
|
|
147
166
|
minmax(0, 1fr) [full-end];
|
|
148
167
|
}
|
|
168
|
+
@media print {
|
|
169
|
+
.grid-page {
|
|
170
|
+
grid-template-columns:
|
|
171
|
+
[full-start] minmax(0, 1fr)
|
|
172
|
+
[main-start] minmax(0, 43.75rem) [main-end]
|
|
173
|
+
minmax(0, 1fr) [full-end];
|
|
174
|
+
}
|
|
175
|
+
}
|
|
149
176
|
|
|
150
177
|
.grid-content {
|
|
151
178
|
grid-template-areas:
|
|
@@ -230,7 +257,7 @@
|
|
|
230
257
|
}
|
|
231
258
|
|
|
232
259
|
.toggleSwitch-checkbox:focus+.toggleSwitch-label {
|
|
233
|
-
@apply shadow-teaser-focus shadow-focus-state
|
|
260
|
+
@apply outline-none shadow-teaser-focus shadow-focus-state;
|
|
234
261
|
}
|
|
235
262
|
|
|
236
263
|
.toggleSwitch-label {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<a href="{{../bannerLink}}">
|
|
4
4
|
{{/if}}
|
|
5
5
|
{{#unless ../_hideOnMobile }}
|
|
6
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
6
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="print:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
7
7
|
{{else}}
|
|
8
|
-
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
8
|
+
{{~> components/base/image/responsive_image _type="banner" _variant="mobileHidden" _addClass="hidden lg:block print:lg:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
|
|
9
9
|
{{/unless}}
|
|
10
10
|
{{#if ../bannerLink}}
|
|
11
11
|
</a>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:
|
|
1
|
+
{{#if _hasBackground}}<div class="{{#if _hideOnMobile}}lg:absolute print:lg:static lg:bottom-0 lg:left-0 lg:right-0 lg:z-50{{else}}absolute bottom-0 left-0 right-0 z-50 print:static{{/if}}">{{/if}}
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
{{#if _hasBackground}}</div>{{/if}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
1
|
+
<div class="grid grid-page w-full order-2{{#if _hasBannerImage}} overflow-hidden print:overflow-auto -image{{else}} -text{{/if}}{{~#if _hideOnMobile}} -hideOnMobile{{/if}}">
|
|
2
2
|
<div role="banner" class="grid col-full sm:col-main relative{{#unless _hasBannerImage}} px-4 md:px-5 lg:px-10 bg-white dark:bg-black{{/unless}}">
|
|
3
|
-
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}}
|
|
3
|
+
<div class="relative {{#if _hasBannerImage}}-hasImage{{~#if _hideOnMobile}} ar-auto lg:ar-100-27 print:lg:ar-auto bg-white dark:bg-black{{else}} ar-16-9 sm480:ar-16-7 md:ar-100-27 print:ar-auto print:sm480:ar-auto print:md:ar-auto{{/if}}{{else}}pb-4 border-b border-gray-boulder{{/if}}">
|
|
4
4
|
{{> @partial-block }}
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="grid grid-page{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
1
|
+
<div class="grid grid-page print:hidden{{#if _hasContentNav }} order-4{{else}}{{#if _hasBannerImage }} py-2 order-4 [&:has(+.-hideOnMobile)]:order-1 lg:py-0 lg:-mb-9 lg:order-1 lg:pt-3 bg-white lg:bg-transparent{{else}} order-1{{/if}} z-10{{/if}}">
|
|
2
2
|
<div class="col-full sm:col-main{{#if _hasContentNav }} bg-white py-2{{else}}{{#unless _hasBannerImage}} bg-white py-2{{/unless}}{{/if}}">
|
|
3
3
|
{{> @partial-block }}
|
|
4
4
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#with this.contentNav}}
|
|
2
|
-
<div class="grid order-3 grid-page">
|
|
2
|
+
<div class="grid order-3 grid-page print:hidden">
|
|
3
3
|
<nav class="md:px-5 lg:px-10 col-full sm:col-main bg-structure-nav"
|
|
4
4
|
x-data="{ isOpen: false}">
|
|
5
5
|
<div class="relative flex flex-wrap items-center mx-auto" @click.outside="isOpen = false">
|