hr-design-system-handlebars 1.51.9 → 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 CHANGED
@@ -1,3 +1,15 @@
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
+
1
13
  # v1.51.9 (Mon Dec 18 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3208,7 +3208,7 @@ article.indexText ul {
3208
3208
  border-bottom-color: var(--color-secondary-ds);
3209
3209
  }
3210
3210
  .counter-reset {
3211
- counter-reset: cnt1702897335124;
3211
+ counter-reset: cnt1702898621514;
3212
3212
  }
3213
3213
  .hyphens-auto {
3214
3214
  -webkit-hyphens: auto;
@@ -3510,7 +3510,7 @@ article.indexText ul {
3510
3510
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3511
3511
  }
3512
3512
  .-ordered {
3513
- counter-increment: cnt1702897335124 1;
3513
+ counter-increment: cnt1702898621514 1;
3514
3514
  }
3515
3515
  .-ordered::before {
3516
3516
  position: absolute;
@@ -3526,7 +3526,7 @@ article.indexText ul {
3526
3526
  letter-spacing: .0125em;
3527
3527
  --tw-text-opacity: 1;
3528
3528
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3529
- content: counter(cnt1702897335124);
3529
+ content: counter(cnt1702898621514);
3530
3530
  }
3531
3531
  /*! ****************************/
3532
3532
  /*! DataPolicy stuff */
@@ -5262,6 +5262,64 @@ article.indexText ul {
5262
5262
  .print\:overflow-auto {
5263
5263
  overflow: auto;
5264
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
+ }
5265
5323
  }
5266
5324
  @media (min-width: 360px) {
5267
5325
 
@@ -5429,6 +5487,69 @@ article.indexText ul {
5429
5487
  }
5430
5488
  }
5431
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
+ }
5432
5553
  @media (min-width: 640px) {
5433
5554
 
5434
5555
  .sm\:not-sr-only {
@@ -6358,6 +6479,69 @@ article.indexText ul {
6358
6479
  padding-top: 0px;
6359
6480
  }
6360
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
+ }
6361
6545
  @media (min-width: 1024px) {
6362
6546
 
6363
6547
  .lg\:fixed {
@@ -1,6 +1,6 @@
1
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}} 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}}">
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,6 +1,6 @@
1
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}} 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}}">
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>
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",
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",
@@ -1,6 +1,6 @@
1
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}} 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}}">
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>