hr-design-system-handlebars 1.51.8 → 1.51.9
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 +12 -0
- package/dist/assets/index.css +155 -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,15 @@
|
|
|
1
|
+
# v1.51.9 (Mon Dec 18 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Banner print view bug [#794](https://github.com/mumprod/hr-design-system-handlebars/pull/794) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.51.8 (Fri Dec 15 2023)
|
|
2
14
|
|
|
3
15
|
#### 🐛 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: cnt1702897335124;
|
|
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: cnt1702897335124 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(cnt1702897335124);
|
|
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,10 @@ article.indexText ul {
|
|
|
5220
5258
|
.print\:hidden {
|
|
5221
5259
|
display: none;
|
|
5222
5260
|
}
|
|
5261
|
+
|
|
5262
|
+
.print\:overflow-auto {
|
|
5263
|
+
overflow: auto;
|
|
5264
|
+
}
|
|
5223
5265
|
}
|
|
5224
5266
|
@media (min-width: 360px) {
|
|
5225
5267
|
|
|
@@ -5299,6 +5341,8 @@ article.indexText ul {
|
|
|
5299
5341
|
font-size: 1.25rem;
|
|
5300
5342
|
line-height: 1.6875rem;
|
|
5301
5343
|
}
|
|
5344
|
+
|
|
5345
|
+
|
|
5302
5346
|
.sm480\:ar-16-9 {
|
|
5303
5347
|
aspect-ratio: 16 / 9;
|
|
5304
5348
|
}
|
|
@@ -5575,6 +5619,36 @@ article.indexText ul {
|
|
|
5575
5619
|
font-size: 1.25rem;
|
|
5576
5620
|
line-height: 1.6875rem;
|
|
5577
5621
|
}
|
|
5622
|
+
.sm\:ar-auto {
|
|
5623
|
+
aspect-ratio: auto;
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
@supports not (aspect-ratio: auto) {
|
|
5627
|
+
.sm\:ar-auto::before {
|
|
5628
|
+
float: left;
|
|
5629
|
+
padding-top: 0;
|
|
5630
|
+
content: '';
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
.sm\:ar-auto::after {
|
|
5634
|
+
display: block;
|
|
5635
|
+
content: '';
|
|
5636
|
+
clear: both;
|
|
5637
|
+
}
|
|
5638
|
+
.sm\:ar-auto::before {
|
|
5639
|
+
float: left;
|
|
5640
|
+
padding-top: 0;
|
|
5641
|
+
content: '';
|
|
5642
|
+
}
|
|
5643
|
+
|
|
5644
|
+
.sm\:ar-auto::after {
|
|
5645
|
+
display: block;
|
|
5646
|
+
content: '';
|
|
5647
|
+
clear: both;
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
|
|
5578
5652
|
.sm\:ar-16-9 {
|
|
5579
5653
|
aspect-ratio: 16 / 9;
|
|
5580
5654
|
}
|
|
@@ -6159,6 +6233,8 @@ article.indexText ul {
|
|
|
6159
6233
|
.md\:transition-none {
|
|
6160
6234
|
transition-property: none;
|
|
6161
6235
|
}
|
|
6236
|
+
|
|
6237
|
+
|
|
6162
6238
|
.md\:ar-16-9 {
|
|
6163
6239
|
aspect-ratio: 16 / 9;
|
|
6164
6240
|
}
|
|
@@ -6831,6 +6907,77 @@ article.indexText ul {
|
|
|
6831
6907
|
position: relative;
|
|
6832
6908
|
}
|
|
6833
6909
|
}
|
|
6910
|
+
@media print {
|
|
6911
|
+
|
|
6912
|
+
@media (min-width: 1024px) {
|
|
6913
|
+
|
|
6914
|
+
.print\:lg\:static {
|
|
6915
|
+
position: static;
|
|
6916
|
+
}
|
|
6917
|
+
|
|
6918
|
+
.print\:lg\:hidden {
|
|
6919
|
+
display: none;
|
|
6920
|
+
}
|
|
6921
|
+
.print\:lg\:ar-auto {
|
|
6922
|
+
aspect-ratio: auto;
|
|
6923
|
+
}
|
|
6924
|
+
|
|
6925
|
+
@supports not (aspect-ratio: auto) {
|
|
6926
|
+
.print\:lg\:ar-auto::before {
|
|
6927
|
+
float: left;
|
|
6928
|
+
padding-top: 0;
|
|
6929
|
+
content: '';
|
|
6930
|
+
}
|
|
6931
|
+
|
|
6932
|
+
.print\:lg\:ar-auto::after {
|
|
6933
|
+
display: block;
|
|
6934
|
+
content: '';
|
|
6935
|
+
clear: both;
|
|
6936
|
+
}
|
|
6937
|
+
.print\:lg\:ar-auto::before {
|
|
6938
|
+
float: left;
|
|
6939
|
+
padding-top: 0;
|
|
6940
|
+
content: '';
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
.print\:lg\:ar-auto::after {
|
|
6944
|
+
display: block;
|
|
6945
|
+
content: '';
|
|
6946
|
+
clear: both;
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6949
|
+
.print\:lg\:ar-auto {
|
|
6950
|
+
aspect-ratio: auto;
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
@supports not (aspect-ratio: auto) {
|
|
6954
|
+
.print\:lg\:ar-auto::before {
|
|
6955
|
+
float: none;
|
|
6956
|
+
float: initial;
|
|
6957
|
+
padding-top: 0;
|
|
6958
|
+
content: '';
|
|
6959
|
+
}
|
|
6960
|
+
|
|
6961
|
+
.print\:lg\:ar-auto::after {
|
|
6962
|
+
display: inline;
|
|
6963
|
+
content: '';
|
|
6964
|
+
clear: none;
|
|
6965
|
+
}
|
|
6966
|
+
.print\:lg\:ar-auto::before {
|
|
6967
|
+
float: none;
|
|
6968
|
+
float: initial;
|
|
6969
|
+
padding-top: 0;
|
|
6970
|
+
content: '';
|
|
6971
|
+
}
|
|
6972
|
+
|
|
6973
|
+
.print\:lg\:ar-auto::after {
|
|
6974
|
+
display: inline;
|
|
6975
|
+
content: '';
|
|
6976
|
+
clear: none;
|
|
6977
|
+
}
|
|
6978
|
+
}
|
|
6979
|
+
}
|
|
6980
|
+
}
|
|
6834
6981
|
@media (min-width: 768px) and (max-width: 1023px) {
|
|
6835
6982
|
|
|
6836
6983
|
.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{{/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{{/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.9",
|
|
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{{/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">
|