From c35b7cb242053c4ee2ebcf1f73c02041e7bed504 Mon Sep 17 00:00:00 2001 From: Benjamin Dehli Date: Tue, 26 Nov 2024 13:21:40 +0100 Subject: [PATCH] Build package --- dist/components/PDF.scss | 10 ++++++++++ dist/style/pdf.css | 17 +++++++++++++++++ dist/style/pdf.css.map | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/dist/components/PDF.scss b/dist/components/PDF.scss index 1c21846..a5dfe54 100644 --- a/dist/components/PDF.scss +++ b/dist/components/PDF.scss @@ -139,6 +139,7 @@ body { h1, .h1, + caption[style*="--size:1"], caption[style*="--size: 1"] { page-break-after: avoid; font-size: $font-size-h1; @@ -154,6 +155,7 @@ body { } h2, .h2, + caption[style*="--size:2"], caption[style*="--size: 2"] { page-break-after: avoid; font-size: $font-size-h2; @@ -173,6 +175,7 @@ body { } h3, .h3, + caption[style*="--size:3"], caption[style*="--size: 3"] { page-break-after: avoid; font-size: $font-size-h3; @@ -188,6 +191,7 @@ body { h4, .h4, + caption[style*="--size:4"], caption[style*="--size: 4"], caption:not([style*="--size"]) { page-break-after: avoid; @@ -203,6 +207,7 @@ body { h5, .h5, + caption[style*="--size:5"], caption[style*="--size: 5"] { page-break-after: avoid; font-size: $font-size-h5; @@ -434,6 +439,7 @@ body { } h1, .h1, + caption[style*="--size:1"], caption[style*="--size: 1"] { font-size: calc($font-size-h1 * $scaling-for-signed-documents); margin-top: calc($margin-top-h1 * $scaling-for-signed-documents); @@ -443,6 +449,7 @@ body { } h2, .h2, + caption[style*="--size:2"], caption[style*="--size: 2"] { font-size: calc($font-size-h2 * $scaling-for-signed-documents); margin-top: calc($margin-top-h2 * $scaling-for-signed-documents); @@ -454,6 +461,7 @@ body { } h3, .h3, + caption[style*="--size:3"], caption[style*="--size: 3"] { font-size: calc($font-size-h3 * $scaling-for-signed-documents); margin-top: calc($margin-top-h3 * $scaling-for-signed-documents); @@ -461,6 +469,7 @@ body { } h4, .h4, + caption[style*="--size:4"], caption[style*="--size: 4"], caption:not([style*="--size"]) { font-size: calc($font-size-h4 * $scaling-for-signed-documents); @@ -469,6 +478,7 @@ body { } h5, .h5, + caption[style*="--size:5"], caption[style*="--size: 5"] { font-size: calc($font-size-h5 * $scaling-for-signed-documents); margin-top: calc($margin-top-h5 * $scaling-for-signed-documents); diff --git a/dist/style/pdf.css b/dist/style/pdf.css index b0d4b72..a248e71 100644 --- a/dist/style/pdf.css +++ b/dist/style/pdf.css @@ -74,6 +74,7 @@ body { } .page h1, .page .h1, +.page caption[style*="--size:1"], .page caption[style*="--size: 1"] { page-break-after: avoid; font-size: 34px; @@ -84,6 +85,7 @@ body { } .page h1 small, .page .h1 small, +.page caption[style*="--size:1"] small, .page caption[style*="--size: 1"] small { display: block; font-size: 18px; @@ -91,6 +93,7 @@ body { } .page h2, .page .h2, +.page caption[style*="--size:2"], .page caption[style*="--size: 2"] { page-break-after: avoid; font-size: 24px; @@ -101,6 +104,7 @@ body { } .page h2 small, .page .h2 small, +.page caption[style*="--size:2"] small, .page caption[style*="--size: 2"] small { display: block; font-size: 16px; @@ -109,11 +113,13 @@ body { } .page h2 + p, .page .h2 + p, +.page caption[style*="--size:2"] + p, .page caption[style*="--size: 2"] + p { margin-top: 0; } .page h3, .page .h3, +.page caption[style*="--size:3"], .page caption[style*="--size: 3"] { page-break-after: avoid; font-size: 19px; @@ -125,11 +131,13 @@ body { } .page h3 + p, .page .h3 + p, +.page caption[style*="--size:3"] + p, .page caption[style*="--size: 3"] + p { margin-top: 0; } .page h4, .page .h4, +.page caption[style*="--size:4"], .page caption[style*="--size: 4"], .page caption:not([style*="--size"]) { page-break-after: avoid; @@ -141,12 +149,14 @@ body { } .page h4 + p, .page .h4 + p, +.page caption[style*="--size:4"] + p, .page caption[style*="--size: 4"] + p, .page caption:not([style*="--size"]) + p { margin-top: 0; } .page h5, .page .h5, +.page caption[style*="--size:5"], .page caption[style*="--size: 5"] { page-break-after: avoid; font-size: 16px; @@ -338,17 +348,20 @@ body { } .page.signed-document div.content-container h1, .page.signed-document div.content-container .h1, +.page.signed-document div.content-container caption[style*="--size:1"], .page.signed-document div.content-container caption[style*="--size: 1"] { font-size: 37.67268px; margin-top: 5.5401px; } .page.signed-document div.content-container h1 small, .page.signed-document div.content-container .h1 small, +.page.signed-document div.content-container caption[style*="--size:1"] small, .page.signed-document div.content-container caption[style*="--size: 1"] small { font-size: 19.94436px; } .page.signed-document div.content-container h2, .page.signed-document div.content-container .h2, +.page.signed-document div.content-container caption[style*="--size:2"], .page.signed-document div.content-container caption[style*="--size: 2"] { font-size: 26.59248px; margin-top: 24.37644px; @@ -356,12 +369,14 @@ body { } .page.signed-document div.content-container h2 small, .page.signed-document div.content-container .h2 small, +.page.signed-document div.content-container caption[style*="--size:2"] small, .page.signed-document div.content-container caption[style*="--size: 2"] small { font-size: 17.72832px; margin-bottom: 6.64812px; } .page.signed-document div.content-container h3, .page.signed-document div.content-container .h3, +.page.signed-document div.content-container caption[style*="--size:3"], .page.signed-document div.content-container caption[style*="--size: 3"] { font-size: 21.05238px; margin-top: 16.6203px; @@ -369,6 +384,7 @@ body { } .page.signed-document div.content-container h4, .page.signed-document div.content-container .h4, +.page.signed-document div.content-container caption[style*="--size:4"], .page.signed-document div.content-container caption[style*="--size: 4"], .page.signed-document div.content-container caption:not([style*="--size"]) { font-size: 18.83634px; @@ -377,6 +393,7 @@ body { } .page.signed-document div.content-container h5, .page.signed-document div.content-container .h5, +.page.signed-document div.content-container caption[style*="--size:5"], .page.signed-document div.content-container caption[style*="--size: 5"] { font-size: 17.72832px; margin-top: 13.29624px; diff --git a/dist/style/pdf.css.map b/dist/style/pdf.css.map index bf2f7e7..15da885 100644 --- a/dist/style/pdf.css.map +++ b/dist/style/pdf.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../src/stories/PDF.scss","../../src/style/abstracts/mixins/_box-sizing.scss"],"names":[],"mappings":"AA8DA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA,WA/Da;EAgEb;EACA;;;AAEJ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;AACA;EACI;EACA,WAhRG;;AAiRH;EACI;;AAIJ;EACI;;AAOR;EACI;EACA;;AACA;EACI,aAxPkB;EAyPlB,gBAzPkB;;AA8P1B;EACI;;AACA;EACI,aAhQgB;EAiQhB,gBAjQgB;;AAwQpC;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKA;AAAA;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA,YA7SgB;;AAgTpB;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA,YA9VwB;;AA+VxB;EACI,eA/VuB;;AAmW/B;EACI;EACA;EACA,QApYU;EAqYV,OApYS;EAqYT;EACA;EACA;EACA;EACA,WA9Ya;EA+Yb;EACA;;;AAKR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEI;EACI;EACA;EACA;;AAEJ;AAAA;AAAA;EAGI;EACA;;AACA;AAAA;AAAA;EACI;;AAGR;AAAA;AAAA;EAGI;EACA;EACA;;AACA;AAAA;AAAA;EACI;EACA;;AAGR;AAAA;AAAA;EAGI;EACA;EACA;;AAEJ;AAAA;AAAA;AAAA;EAII;EACA;EACA;;AAEJ;AAAA;AAAA;EAGI;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AACA;AAAA;EAEI;;AAGA;EACI;;AAEJ;EACI;;AAKR;EACI;;AACA;EACI;EACA;;AAEA;EACI;;AAIZ;EACI;;AACA;EACI;EACA;;AAEA;EACI;;AAKR;EACI;EACA;;AAEJ;EACI;EACA;;AAOR;AAAA;EACI;;AAIR;EACI;EACA;EAEA;EAEA;EACA;;AAGJ;EACI;;AACA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;;;AAKhB;EACI;IACI;IACA","file":"pdf.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../src/stories/PDF.scss","../../src/style/abstracts/mixins/_box-sizing.scss"],"names":[],"mappings":"AA8DA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA,WA/Da;EAgEb;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WA/Ea;EAgFb,aApEkB;;;AAsEtB;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;AAAA;IAEI;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;AAIR;EChHE,oBDiHiC;EChH9B,iBDgH8B;EC/GzB,YD+GyB;;;AAI/B;EACI;;AAGJ;EACI;;AACA;EACI;;AAIR;EACI,OA3Ga;EA4Gb;EACA,aA5GmB;;AA+GvB;EACI;;AAGJ;AAAA;AAAA;AAAA;EAII;EACA,WAzIO;EA0IP;EACA;EACA,YAzHQ;EA0HR;;AACA;AAAA;AAAA;AAAA;EACI;EACA,WA/IS;EAgJT;;AAGR;AAAA;AAAA;AAAA;EAII;EACA,WAvJO;EAwJP;EACA;EACA,YAxIQ;EAyIR,eAxIW;;AAyIX;AAAA;AAAA;AAAA;EACI;EACA,WA7JS;EA8JT;EACA,eA5Ia;;AA8IjB;AAAA;AAAA;AAAA;EACI;;AAGR;AAAA;AAAA;AAAA;EAII;EACA,WAzKO;EA0KP;EACA;EACA;EACA,YA1JQ;EA2JR,eA1JW;;AA2JX;AAAA;AAAA;AAAA;EACI;;AAIR;AAAA;AAAA;AAAA;AAAA;EAKI;EACA,WAzLO;EA0LP;EACA;EACA,YAxKQ;EAyKR,eAxKW;;AAyKX;AAAA;AAAA;AAAA;AAAA;EACI;;AAIR;AAAA;AAAA;AAAA;EAII;EACA,WAvMO;EAwMP;EACA,YApLQ;EAqLR,eApLW;;AAuLf;EACI,YAvLe;EAwLf,eAvLkB;;AA0LtB;EACI,YA1LU;EA2LV,eA1La;;AA2Lb;AAAA;EAEI;EACA;;AAEJ;EACI;;AAGA;EACI;EACA;EACA;;AAGR;EACI;EAC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R;EACI;EACA;;AAEJ;EACI;EACA;;AAOR;AAAA;EACI;;AAIR;EACI;EACA;EAEA;EAEA;EACA;;AAGJ;EACI;;AACA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;;;AAKhB;EACI;IACI;IACA","file":"pdf.css"} \ No newline at end of file