@simple-reporting/base 1.0.39 → 1.0.41

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.
Files changed (194) hide show
  1. package/dev/package.json +1 -1
  2. package/dev/src/App.vue +1 -0
  3. package/dev/src/assets/scss/app.scss +0 -1
  4. package/dev/src/assets/scss/components/{note/accordion.scss → accordion.scss} +20 -0
  5. package/dev/src/assets/scss/editor.scss +1 -0
  6. package/dev/src/assets/scss/general.scss +18 -0
  7. package/dev/src/assets/scss/pdf.scss +11 -0
  8. package/dev/src/assets/scss/placeholders/grid.scss +6 -0
  9. package/dev/src/assets/scss/web.scss +1 -1
  10. package/dev/src/assets/scss/xbrl.scss +12 -1
  11. package/dev/src/components/PageMain.vue +5 -3
  12. package/dev/src/entries/pdf.ts +5 -0
  13. package/dev/srl.config.json +72 -7
  14. package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +0 -2
  15. package/livingdocs/010.Titles/010.title-h1/scss/general.scss +1 -2
  16. package/livingdocs/010.Titles/010.title-h1/scss/web.scss +7 -0
  17. package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +0 -2
  18. package/livingdocs/010.Titles/020.title-h2/scss/general.scss +12 -2
  19. package/livingdocs/010.Titles/020.title-h2/scss/xbrl.scss +2 -1
  20. package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +0 -2
  21. package/livingdocs/010.Titles/030.title-h3/scss/general.scss +2 -2
  22. package/livingdocs/010.Titles/030.title-h3/scss/xbrl.scss +2 -1
  23. package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +0 -2
  24. package/livingdocs/010.Titles/040.title-h4/scss/general.scss +2 -2
  25. package/livingdocs/010.Titles/040.title-h4/scss/xbrl.scss +2 -1
  26. package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +0 -2
  27. package/livingdocs/010.Titles/050.title-h5/scss/general.scss +1 -2
  28. package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +0 -2
  29. package/livingdocs/010.Titles/060.title-h6/scss/general.scss +2 -2
  30. package/livingdocs/020.Text/010.lead/scss/general.scss +1 -2
  31. package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +1 -2
  32. package/livingdocs/020.Text/020.paragraph/scss/general.scss +5 -2
  33. package/livingdocs/020.Text/040.link/scss/_spacing-variations.scss +22 -0
  34. package/livingdocs/020.Text/040.link/scss/general.scss +22 -2
  35. package/livingdocs/020.Text/050.quote/scss/general.scss +2 -0
  36. package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +1 -2
  37. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +13 -2
  38. package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +7 -0
  39. package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +0 -2
  40. package/livingdocs/020.Text/080.footnote-item/scss/general.scss +1 -2
  41. package/livingdocs/020.Text/080.footnote-item/scss/word.scss +8 -0
  42. package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +0 -2
  43. package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +1 -2
  44. package/livingdocs/030.Lists/040.list-item-unordered-list/scss/general.scss +1 -2
  45. package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +0 -2
  46. package/livingdocs/040.Media/010.table/scss/general.scss +8 -2
  47. package/livingdocs/040.Media/010.table/scss/word.scss +18 -0
  48. package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +0 -2
  49. package/livingdocs/040.Media/020.image/scss/general.scss +1 -2
  50. package/livingdocs/040.Media/020.image/scss/pdf.scss +1 -0
  51. package/livingdocs/040.Media/020.image/scss/web.scss +19 -5
  52. package/livingdocs/040.Media/030.video/ld-conf.json +1 -6
  53. package/livingdocs/040.Media/030.video/properties.json +7 -0
  54. package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +0 -2
  55. package/livingdocs/040.Media/030.video/scss/editor.scss +10 -0
  56. package/livingdocs/040.Media/030.video/scss/general.scss +7 -3
  57. package/livingdocs/040.Media/030.video/scss/pdf.scss +8 -0
  58. package/livingdocs/040.Media/030.video/video.html +27 -30
  59. package/livingdocs/040.Media/030.video/video.vue +71 -32
  60. package/livingdocs/060.Buttons/010.button-container/button-container.html +6 -1
  61. package/livingdocs/060.Buttons/020.button/button.html +7 -1
  62. package/livingdocs/060.Buttons/020.button/scss/general.scss +2 -2
  63. package/livingdocs/070.Container/010.aside-content-container/aside-content-container.html +1 -1
  64. package/livingdocs/070.Container/010.aside-content-container/ld-conf.json +1 -1
  65. package/livingdocs/070.Container/010.aside-content-container/scss/general.scss +4 -0
  66. package/livingdocs/070.Container/010.aside-content-container/scss/pdf.scss +5 -0
  67. package/livingdocs/070.Container/010.aside-content-container/scss/web.scss +12 -0
  68. package/livingdocs/070.Container/020.columns-container/columns-container.html +1 -1
  69. package/livingdocs/070.Container/020.columns-container/ld-conf.json +1 -1
  70. package/livingdocs/070.Container/020.columns-container/scss/app.scss +1 -0
  71. package/livingdocs/070.Container/020.columns-container/scss/general.scss +5 -0
  72. package/livingdocs/070.Container/020.columns-container/scss/pdf.scss +7 -0
  73. package/livingdocs/070.Container/020.columns-container/scss/word.scss +1 -0
  74. package/livingdocs/070.Container/020.columns-container/scss/xbrl.scss +2 -0
  75. package/livingdocs/070.Container/030.background-container/scss/general.scss +1 -2
  76. package/livingdocs/080.CV/010.cv/scss/editor.scss +10 -1
  77. package/livingdocs/080.CV/010.cv/scss/general.scss +1 -2
  78. package/livingdocs/080.CV/010.cv/scss/web.scss +1 -1
  79. package/livingdocs/080.CV/010.cv/scss/xbrl.scss +2 -1
  80. package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +0 -2
  81. package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +1 -2
  82. package/livingdocs/080.CV/020.cv-time-span/scss/xbrl.scss +2 -1
  83. package/livingdocs/090.Signatures/010.signature-container/scss/xbrl.scss +3 -1
  84. package/livingdocs/090.Signatures/020.signature-item/scss/xbrl.scss +1 -0
  85. package/livingdocs/100.Misc/010.anchor/scss/editor.scss +4 -0
  86. package/livingdocs/100.Misc/020.accordion/accordion.html +9 -9
  87. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +1 -0
  88. package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/editor.scss +1 -0
  89. package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/properties.json +2 -2
  90. package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/general.scss +3 -0
  91. package/livingdocs/110.PDF/075.pdf-chapter-navigation-item/scss/editor.scss +1 -0
  92. package/livingdocs/110.PDF/075.pdf-chapter-navigation-item/scss/web.scss +1 -0
  93. package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -8
  94. package/livingdocs/120.Startpage/010.hero-video/hero-video.html +15 -0
  95. package/livingdocs/120.Startpage/010.hero-video/ld-conf.json +5 -0
  96. package/livingdocs/120.Startpage/010.hero-video/properties.json +1 -0
  97. package/livingdocs/120.Startpage/010.hero-video/scss/_spacing-variations.scss +3 -0
  98. package/livingdocs/120.Startpage/010.hero-video/scss/app.scss +2 -0
  99. package/livingdocs/120.Startpage/010.hero-video/scss/editor.scss +9 -0
  100. package/livingdocs/120.Startpage/010.hero-video/scss/web.scss +77 -0
  101. package/livingdocs/120.Startpage/020.teaser-title-image-quote/ld-conf.json +18 -0
  102. package/livingdocs/120.Startpage/020.teaser-title-image-quote/properties.json +1 -0
  103. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/_spacing-variations.scss +4 -0
  104. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/app.scss +2 -0
  105. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/editor.scss +22 -0
  106. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/web.scss +40 -0
  107. package/livingdocs/120.Startpage/020.teaser-title-image-quote/teaser-title-image-quote.html +50 -0
  108. package/livingdocs/120.Startpage/030.teaser-quote/ld-conf.json +25 -0
  109. package/livingdocs/120.Startpage/030.teaser-quote/properties.json +1 -0
  110. package/livingdocs/120.Startpage/030.teaser-quote/scss/_spacing-variations.scss +3 -0
  111. package/livingdocs/120.Startpage/030.teaser-quote/scss/app.scss +2 -0
  112. package/livingdocs/120.Startpage/030.teaser-quote/scss/editor.scss +6 -0
  113. package/livingdocs/120.Startpage/030.teaser-quote/scss/web.scss +125 -0
  114. package/livingdocs/120.Startpage/030.teaser-quote/teaser-quote.html +53 -0
  115. package/livingdocs/120.Startpage/040.teaser/ld-conf.json +23 -0
  116. package/livingdocs/120.Startpage/040.teaser/scss/_spacing-variations.scss +3 -0
  117. package/livingdocs/120.Startpage/040.teaser/scss/app.scss +2 -0
  118. package/livingdocs/120.Startpage/040.teaser/scss/editor.scss +6 -0
  119. package/livingdocs/120.Startpage/040.teaser/scss/web.scss +72 -0
  120. package/livingdocs/120.Startpage/040.teaser/teaser.html +39 -0
  121. package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +6 -2
  122. package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +11 -44
  123. package/livingdocs/130.Hosting_Components/020.search/search.html +7 -1
  124. package/livingdocs/130.Hosting_Components/020.search/search.vue +1 -1
  125. package/livingdocs/130.Hosting_Components/020.search/searchHighlightOnTarget.vue +249 -0
  126. package/livingdocs/999.Properties/background-color/properties.json +23 -0
  127. package/livingdocs/999.Properties/font-color/properties.json +15 -0
  128. package/package.json +1 -1
  129. package/scripts/config.js +7 -4
  130. package/scss/colors/mixins.scss +3 -0
  131. package/scss/helpers/mixins.scss +22 -0
  132. package/scss/spacer/mixins.scss +121 -12
  133. package/srl/srl/fa/index.scss +2 -2
  134. package/srl/srl/fa/source-free.scss +1 -4
  135. package/srl/srl/pdf/PDFNestedContainers.ts +122 -0
  136. package/srl/srl/pdf/PDFNotes.ts +4 -2
  137. package/srl/srl/pdf/PDFSetPageNumbers.ts +3 -1
  138. package/dev/src/assets/scss/margins.scss +0 -57
  139. /package/livingdocs/{110.PDF/060.pdf-chapter-navigation-item → 070.Container/020.columns-container}/scss/editor.scss +0 -0
  140. /package/livingdocs/{110.PDF/021.pdf-columnbreak → 070.Container/020.columns-container}/scss/web.scss +0 -0
  141. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/ld-conf.json +0 -0
  142. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/pdf-columnbreak.html +0 -0
  143. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/general.scss +0 -0
  144. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/pdf.scss +0 -0
  145. /package/livingdocs/110.PDF/{030.pdf-publication-title → 020.pdf-columnbreak}/scss/web.scss +0 -0
  146. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/word.scss +0 -0
  147. /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/xbrl.scss +0 -0
  148. /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/ld-conf.json +0 -0
  149. /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/pdf-column-container.html +0 -0
  150. /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/properties.json +0 -0
  151. /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/scss/editor.scss +0 -0
  152. /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/scss/pdf.scss +0 -0
  153. /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/ld-conf.json +0 -0
  154. /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/pdf-cover.html +0 -0
  155. /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/editor.scss +0 -0
  156. /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/pdf.scss +0 -0
  157. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 030.pdf-cover}/scss/web.scss +0 -0
  158. /package/livingdocs/110.PDF/{030.pdf-publication-title → 030.pdf-cover}/scss/word.scss +0 -0
  159. /package/livingdocs/110.PDF/{030.pdf-publication-title → 030.pdf-cover}/scss/xbrl.scss +0 -0
  160. /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/ld-conf.json +0 -0
  161. /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/pdf-landscape-container.html +0 -0
  162. /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/properties.json +0 -0
  163. /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/scss/pdf.scss +0 -0
  164. /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/ld-conf.json +0 -0
  165. /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/pdf-publication-title.html +0 -0
  166. /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/editor.scss +0 -0
  167. /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/general.scss +0 -0
  168. /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/pdf.scss +0 -0
  169. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 050.pdf-publication-title}/scss/web.scss +0 -0
  170. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 050.pdf-publication-title}/scss/word.scss +0 -0
  171. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 050.pdf-publication-title}/scss/xbrl.scss +0 -0
  172. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/ld-conf.json +0 -0
  173. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/pdf-chapter-title.html +0 -0
  174. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/editor.scss +0 -0
  175. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/general.scss +0 -0
  176. /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/pdf.scss +0 -0
  177. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 060.pdf-chapter-title}/scss/web.scss +0 -0
  178. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 060.pdf-chapter-title}/scss/word.scss +0 -0
  179. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 060.pdf-chapter-title}/scss/xbrl.scss +0 -0
  180. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/ld-conf.json +0 -0
  181. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/pdf-chapter-navigation.html +0 -0
  182. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/editor.scss +0 -0
  183. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/general.scss +0 -0
  184. /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/pdf.scss +0 -0
  185. /package/livingdocs/110.PDF/{070.pdf-cover → 070.pdf-chapter-navigation-container}/scss/web.scss +0 -0
  186. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 070.pdf-chapter-navigation-container}/scss/word.scss +0 -0
  187. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 070.pdf-chapter-navigation-container}/scss/xbrl.scss +0 -0
  188. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/ld-conf.json +0 -0
  189. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/pdf-chapter-navigation-item.html +0 -0
  190. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/properties.json +0 -0
  191. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/scss/general.scss +0 -0
  192. /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/scss/pdf.scss +0 -0
  193. /package/livingdocs/110.PDF/{070.pdf-cover → 075.pdf-chapter-navigation-item}/scss/word.scss +0 -0
  194. /package/livingdocs/110.PDF/{070.pdf-cover → 075.pdf-chapter-navigation-item}/scss/xbrl.scss +0 -0
@@ -1,6 +1,5 @@
1
1
  @use 'srl';
2
2
  @use "sass:map";
3
- @use "@/assets/scss/margins";
4
3
  @use "spacing-variations";
5
4
 
6
5
  $quote-open: map.get(srl.$meta, quote, quote-open);
@@ -11,7 +10,7 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
11
10
  row-gap: srl.spacer-get(400);
12
11
  }
13
12
 
14
- @include margins.srl-component-margin(spacing-variations.$margins);
13
+ @include srl.spacer-component-margin(spacing-variations.$margins);
15
14
 
16
15
  .srl-quote__img {
17
16
  border-radius: 50%;
@@ -20,6 +19,10 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
20
19
  .srl-quote__quote {
21
20
  @include srl.typography-quote();
22
21
 
22
+ .srl-teaser-quote.srl-color-white-1000 & {
23
+ color: srl.colors-black-1000()
24
+ }
25
+
23
26
  &:before {
24
27
  content: "#{$quote-open}";
25
28
 
@@ -44,8 +47,16 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
44
47
 
45
48
  .srl-quote__name {
46
49
  @include srl.typography-quote-name();
50
+
51
+ .srl-teaser-quote.srl-color-white-1000 & {
52
+ color: srl.colors-black-1000()
53
+ }
47
54
  }
48
55
 
49
56
  .srl-quote__position {
50
57
  @include srl.typography-quote-position();
58
+
59
+ .srl-teaser-quote.srl-color-white-1000 & {
60
+ color: srl.colors-black-1000()
61
+ }
51
62
  }
@@ -21,3 +21,10 @@
21
21
  }
22
22
 
23
23
 
24
+ .srl-quote__quote {
25
+ .srl-title-image-quote &,
26
+ .srl-teaser-quote & {
27
+ @include srl.typography-title-h2-landing-page();
28
+ }
29
+ }
30
+
@@ -16,7 +16,5 @@ $margins: (
16
16
  ('.srl-footnote', '.srl-title-h4'): 400,
17
17
  ('.srl-footnote', '.srl-title-h5'): 200,
18
18
  ('.srl-footnote', '.srl-title-h6'): 200,
19
- ('.srl-footnote', '.srl-pdf-pagebreak'): 800,
20
- ('.srl-footnote', '.srl-anchor'): 800,
21
19
  ('.srl-footnote', '.srl-background-container'): 1600,
22
20
  )
@@ -1,6 +1,5 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
- @use "@/assets/scss/margins";
4
3
  @use "spacing-variations";
5
4
 
6
5
  $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
@@ -15,7 +14,7 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
15
14
  @include srl.typography-footnote-text();
16
15
  }
17
16
 
18
- @include margins.srl-component-margin(spacing-variations.$margins);
17
+ @include srl.spacer-component-margin(spacing-variations.$margins);
19
18
 
20
19
  .srl-footnote__key,
21
20
  .srl-footnote__number {
@@ -3,4 +3,12 @@
3
3
  .srl-footnote:not(.srl-grid),
4
4
  .srl-footnote__item {
5
5
  font-family: 'Arial', sans-serif;
6
+ }
7
+
8
+ .srl-footnote__key,
9
+ .srl-footnote__number {
10
+ &:after {
11
+ content: " ";
12
+ display: block;
13
+ }
6
14
  }
@@ -16,7 +16,5 @@ $margins: (
16
16
  ('.srl-list-group', '.srl-title-h4'): 400,
17
17
  ('.srl-list-group', '.srl-title-h5'): 200,
18
18
  ('.srl-list-group', '.srl-title-h6'): 200,
19
- ('.srl-list-group', '.srl-pdf-pagebreak'): 800,
20
- ('.srl-list-group', '.srl-anchor'): 800,
21
19
  ('.srl-list-group', '.srl-background-container'): 1600,
22
20
  )
@@ -1,5 +1,4 @@
1
1
  @use 'srl';
2
- @use "@/assets/scss/margins";
3
2
  @use "spacing-variations";
4
3
 
5
- @include margins.srl-component-margin(spacing-variations.$margins);
4
+ @include srl.spacer-component-margin(spacing-variations.$margins);
@@ -1,9 +1,8 @@
1
1
  @use 'srl';
2
2
  @use "sass:map";
3
- @use "@/assets/scss/margins";
4
3
  @use "spacing-variations";
5
4
 
6
- @include margins.srl-component-margin(spacing-variations.$margins);
5
+ @include srl.spacer-component-margin(spacing-variations.$margins);
7
6
 
8
7
  .srl-list-group__item-inner {
9
8
  @include srl.typography-list();
@@ -12,8 +12,6 @@ $margins: (
12
12
  ('.srl-table > table', '*'): 200,
13
13
  ('.srl-table-container', '*:empty'): 0,
14
14
  ('.srl-table > table', '*:empty'): 0,
15
- ('.srl-table', '.srl-pdf-pagebreak'): 800,
16
- ('.srl-table', '.srl-anchor'): 800,
17
15
  ('.srl-table', '.srl-quote'): 800,
18
16
  ('.srl-table', '.srl-background-container'): 1600,
19
17
  )
@@ -1,6 +1,5 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
- @use "@/assets/scss/margins";
4
3
  @use "spacing-variations";
5
4
 
6
5
  $table-border-regular: map.get(srl.$meta, table, border, regular);
@@ -15,7 +14,7 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
15
14
  display: block;
16
15
  }
17
16
 
18
- @include margins.srl-component-margin(spacing-variations.$margins);
17
+ @include srl.spacer-component-margin(spacing-variations.$margins);
19
18
 
20
19
  .srl-table__container {
21
20
  overflow: auto;
@@ -24,6 +23,13 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
24
23
 
25
24
  & > div {
26
25
  @extend %srl-grid-base;
26
+
27
+ .srl-nested-container & {
28
+ width: 100%;
29
+ display: block;
30
+ padding: 0;
31
+ margin: 0;
32
+ }
27
33
  }
28
34
  }
29
35
 
@@ -2,6 +2,24 @@
2
2
 
3
3
  .srl-table {
4
4
  page-break-inside: avoid;
5
+ width: 100%;
6
+ min-width: 100%;
7
+
8
+ div {
9
+ width: 100%;
10
+ min-width: 100%;
11
+ }
12
+ }
13
+
14
+ .srl-table__container {
15
+ & > div {
16
+ @extend %srl-grid-reset;
17
+ }
18
+ }
19
+
20
+ table {
21
+ width: 100%;
22
+ min-width: 100%;
5
23
  }
6
24
 
7
25
  th,
@@ -1,7 +1,5 @@
1
1
  $margins: (
2
2
  ('.srl-image', '*'): 800,
3
3
  ('.srl-image', '.srl-columns'): 400,
4
- ('.srl-image', '.srl-pdf-pagebreak'): 800,
5
- ('.srl-image', '.srl-anchor'): 800,
6
4
  ('.srl-image', '.srl-background-container'): 1600,
7
5
  )
@@ -1,5 +1,4 @@
1
1
  @use 'srl';
2
- @use "@/assets/scss/margins";
3
2
  @use "spacing-variations";
4
3
 
5
4
  .srl-grid--media {
@@ -8,7 +7,7 @@
8
7
  }
9
8
  }
10
9
 
11
- @include margins.srl-component-margin(spacing-variations.$margins);
10
+ @include srl.spacer-component-margin(spacing-variations.$margins);
12
11
 
13
12
  .srl-image__caption {
14
13
  @include srl.spacer-margin-top(100);
@@ -13,6 +13,7 @@ $page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
13
13
  }
14
14
 
15
15
  .srl-image__image-container {
16
+ .srl-nested-container &,
16
17
  .srl-full-width & {
17
18
  width: 100%;
18
19
  }
@@ -1,15 +1,29 @@
1
1
  @use "srl";
2
2
 
3
3
  .srl-image__image-container--desktop {
4
+ display: block;
5
+ }
6
+
7
+ .srl-image__image-container--mobile {
4
8
  display: none;
9
+ }
5
10
 
6
- @include srl.grid-media-up(tablet-pt) {
11
+ .srl-image:has(.srl-image__image-container--mobile) {
12
+ .srl-image__image-container--desktop {
13
+ display: none;
14
+ }
15
+
16
+ .srl-image__image-container--mobile {
7
17
  display: block;
8
18
  }
9
- }
10
19
 
11
- .srl-image__image-container--mobile {
12
- @include srl.grid-media-up(tablet-pt) {
13
- display: none;
20
+ @include srl.grid-media-up(tablet-ls) {
21
+ .srl-image__image-container--desktop {
22
+ display: block;
23
+ }
24
+
25
+ .srl-image__image-container--mobile {
26
+ display: none;
27
+ }
14
28
  }
15
29
  }
@@ -1,17 +1,12 @@
1
1
  {
2
2
  "name": "video",
3
3
  "label": "Video",
4
- "properties": ["width-all", "pdf-spacer"],
4
+ "properties": ["showVideoLink", "width-all", "pdf-spacer"],
5
5
  "directives": {
6
6
  "video-thumbnail": {
7
7
  "imageRatios": ["16:9"],
8
8
  "allowOriginalRatio": false
9
9
  },
10
- "showVideoLink": {
11
- "type": "toggle",
12
- "label": "Enable video link for PDF",
13
- "default": false
14
- },
15
10
  "link": {
16
11
  "plainText": true
17
12
  },
@@ -0,0 +1,7 @@
1
+ {
2
+ "showVideoLink": {
3
+ "type": "option",
4
+ "label": "Enable video link for PDF",
5
+ "value": "srl-video-show-pdf-link"
6
+ }
7
+ }
@@ -1,7 +1,5 @@
1
1
  $margins: (
2
2
  ('.srl-video', '*'): 800,
3
3
  ('.srl-video', '.srl-columns'): 400,
4
- ('.srl-video', '.srl-pdf-pagebreak'): 800,
5
- ('.srl-video', '.srl-anchor'): 800,
6
4
  ('.srl-video', '.srl-background-container'): 1600,
7
5
  )
@@ -3,4 +3,14 @@
3
3
  .srl-video__thumbnail {
4
4
  max-width: 192px;
5
5
  max-height: 108px;
6
+ }
7
+
8
+ .srl-video__video-link-container {
9
+ display: none;
10
+ }
11
+
12
+ .srl-video.srl-video-show-pdf-link {
13
+ .srl-video__video-link-container {
14
+ display: grid;
15
+ }
6
16
  }
@@ -1,5 +1,5 @@
1
1
  @use 'srl';
2
- @use "@/assets/scss/margins";
2
+ @use "srl/fa";
3
3
  @use "spacing-variations";
4
4
 
5
5
  .srl-grid--media {
@@ -12,7 +12,7 @@
12
12
  display: block;
13
13
  }
14
14
 
15
- @include margins.srl-component-margin(spacing-variations.$margins);
15
+ @include srl.spacer-component-margin(spacing-variations.$margins);
16
16
 
17
17
  .srl-video__thumbnail {
18
18
  @extend %srl-regular-width;
@@ -24,7 +24,6 @@
24
24
 
25
25
  .srl-video__video-link-container {
26
26
  @include srl.spacer-margin-top(100);
27
- @extend %srl-regular-width;
28
27
  }
29
28
 
30
29
  .srl-video__video-link {
@@ -35,6 +34,11 @@
35
34
  @include srl.typography-video-link();
36
35
  }
37
36
 
37
+ .srl-video__video-link-icon {
38
+ @extend %srl-icon-base;
39
+ @include fa.icon(play);
40
+ }
41
+
38
42
  .srl-video__video-link-text {
39
43
  padding-left: srl.spacer-get(100);
40
44
  }
@@ -4,6 +4,14 @@
4
4
  $page-margin-right: srl.system-size-unit(map.get(srl.$meta, pdf, margin, right));
5
5
  $page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
6
6
 
7
+ .srl-video {
8
+ display: none;
9
+ }
10
+
11
+ .srl-video.srl-video-show-pdf-link {
12
+ display: block;
13
+ }
14
+
7
15
  .srl-grid--media {
8
16
  .srl-full-width & {
9
17
  max-width: 210mm;
@@ -1,46 +1,43 @@
1
- <div class="srl-video" data-remove-from-word="complete">
1
+ <div
2
+ class="srl-video"
3
+ data-remove-from-word="complete"
4
+ data-remove-from-xhtml="complete"
5
+ >
2
6
  <div class="srl-grid srl-grid--media">
3
7
  <div class="srl-grid__inner srl-video__inner">
4
- <srl-ld-video data-remove-from-xhtml="transient" data-remove-from-pdf="transient">
5
- <div class="srl-video__video-container" doc-html="free-html" data-remove-from-pdf="complete"></div>
6
- <img class="srl-video__thumbnail" doc-image="video-thumbnail"></img>
7
- <div class="srl-video__play" data-remove-from-pdf="complete">
8
+ <srl-ld-video
9
+ data-remove-from-pdf="transient">
10
+ <div
11
+ class="srl-video__video-container"
12
+ doc-html="free-html"
13
+ data-remove-from-pdf="complete">
14
+ </div>
15
+ <img class="srl-video__thumbnail"
16
+ doc-image="video-thumbnail"
17
+ />
18
+ <div
19
+ class="srl-video__play"
20
+ data-remove-from-pdf="complete"
21
+ >
8
22
  <button class="srl-button srl-has-icon" type="button">
9
- <svg class="svg svg-play" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M5 3L19 12L5 21V3Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
11
- </svg>
23
+ <i class="srl-video__video-link-icon"></i>
12
24
  <span doc-editable="text">Video abspielen</span>
13
25
  </button>
14
26
  </div>
15
27
  </srl-ld-video>
16
28
  </div>
17
29
  </div>
18
- <div class="srl-grid">
19
- <div
20
- class="srl-video__video-link-container"
21
- data-remove-from-web="complete"
22
- doc-toggle="showVideoLink"
23
- >
30
+ <div
31
+ class="srl-grid srl-video__video-link-container"
32
+ data-remove-from-web="complete"
33
+ >
34
+ <div class="srl-grid__inner">
24
35
  <a class="srl-video__video-link" doc-link="href" target="_blank">
25
- <span class="srl-video__video-link-icon">
26
- <svg
27
- class="svg svg-play"
28
- viewBox="0 0 14 18"
29
- fill="none"
30
- xmlns="http://www.w3.org/2000/svg"
31
- >
32
- <path
33
- d="M0.5 17C0.5 17.1844 0.601492 17.3538 0.764071 17.4408C0.92665 17.5278 1.12392 17.5183 1.27735 17.416L13.2774 9.41603C13.4164 9.32329 13.5 9.16718 13.5 9C13.5 8.83282 13.4164 8.67671 13.2774 8.58397L1.27735 0.583975C1.12392 0.481689 0.92665 0.472153 0.764071 0.559163C0.601492 0.646172 0.5 0.815602 0.5 1V17Z"
34
- stroke="currentColor"
35
- stroke-linecap="round"
36
- stroke-linejoin="round"
37
- />
38
- </svg>
39
- </span>
36
+ <i class="srl-video__video-link-icon"></i>
40
37
  <span class="srl-video__video-link-text" doc-editable="link">
41
38
  Link to the video in your report
42
39
  </span>
43
40
  </a>
44
41
  </div>
45
42
  </div>
46
- </div>
43
+ </div>
@@ -3,41 +3,80 @@ import { onMounted, ref, useId } from 'vue'
3
3
 
4
4
  const id = useId()
5
5
  const rootEl = ref<HTMLDivElement>()
6
- const button = ref<HTMLButtonElement>()
7
- const video = ref<HTMLVideoElement>()
6
+ const button = ref<HTMLButtonElement | null>(null)
7
+ const thumbnail = ref<HTMLImageElement | null>(null)
8
+ const video = ref<HTMLVideoElement | null>(null)
9
+ const iframe = ref<HTMLIFrameElement | null>(null)
10
+ const iframeSrc = ref<string | null>(null)
8
11
 
9
12
  onMounted(() => {
10
- video.value = rootEl.value?.querySelector('video') || undefined
13
+ button.value = rootEl.value?.querySelector('button') || null
14
+ if (button.value) {
15
+ const buttonEl = button.value as HTMLButtonElement
16
+ const label = buttonEl.textContent || 'Play Video'
17
+ buttonEl.setAttribute('aria-label', label)
18
+ buttonEl.setAttribute('title', label)
19
+ buttonEl.setAttribute('aria-controls', id)
20
+ }
21
+
22
+ thumbnail.value = rootEl.value?.querySelector('.srl-video__thumbnail') || null
23
+
24
+ video.value = rootEl.value?.querySelector('video') || null
11
25
  if (video.value) {
12
- video.value.id = id
13
- video.value.playsInline = true
14
- video.value.controls = true
15
- video.value.tabIndex = -1
16
- button.value = rootEl.value?.querySelector('button') || undefined
17
- if (button.value) {
18
- const label = button.value.textContent || 'Play Video'
19
- button.value.setAttribute('aria-label', label)
20
- button.value.setAttribute('title', label)
21
- button.value.setAttribute('aria-controls', id)
22
- button.value.addEventListener('click', () => {
23
- rootEl.value?.classList.add('srl-video__started')
24
- if (video.value) {
25
- video.value.tabIndex = 0
26
- }
27
-
28
- if (button.value) {
29
- button.value.setAttribute('aria-hidden', 'true')
30
- button.value.setAttribute('tabindex', '-1')
31
- }
32
-
33
- const thumbnail = rootEl.value?.querySelector('.srl-video__thumbnail') as HTMLImageElement
34
- if (thumbnail) {
35
- thumbnail.ariaHidden = 'true'
36
- }
37
- video.value?.focus()
38
- video.value?.play()
39
- })
40
- }
26
+ const videoEl = video.value as HTMLVideoElement
27
+ videoEl.id = id
28
+ videoEl.playsInline = true
29
+ videoEl.controls = true
30
+ videoEl.tabIndex = -1
31
+ }
32
+
33
+ iframe.value = rootEl.value?.querySelector('iframe') || null
34
+ if (iframe.value) {
35
+ const iframeEl = iframe.value as HTMLIFrameElement
36
+ iframeSrc.value = iframeEl.getAttribute('src')
37
+ iframeEl.removeAttribute('src')
38
+ iframeEl.id = id
39
+ iframeEl.tabIndex = -1
40
+ }
41
+
42
+ if (
43
+ button.value
44
+ && thumbnail.value
45
+ && (
46
+ video.value
47
+ || (
48
+ iframe.value
49
+ && iframeSrc.value
50
+ )
51
+ )
52
+ ) {
53
+ const buttonEl = button.value as HTMLButtonElement
54
+ const thumbnailEl = thumbnail.value as HTMLImageElement
55
+ buttonEl.addEventListener('click', () => {
56
+ rootEl.value?.classList.add('srl-video__started')
57
+
58
+ buttonEl.setAttribute('aria-hidden', 'true')
59
+ buttonEl.setAttribute('tabindex', '-1')
60
+
61
+ if (video.value) {
62
+ const videoEl = video.value as HTMLVideoElement
63
+ videoEl.tabIndex = 0
64
+ videoEl.focus()
65
+ videoEl.play()
66
+ } else if (iframe.value && iframeSrc.value) {
67
+ const iframeEl = iframe.value as HTMLVideoElement
68
+ const iframeSrcString = iframeSrc.value as string
69
+ const seperator = iframeSrcString.includes('?') ? '&' : '?'
70
+ iframeEl.setAttribute(
71
+ 'src',
72
+ `${iframeSrcString}${seperator}autoplay=1`
73
+ )
74
+ iframeEl.tabIndex = 0
75
+ iframeEl.focus()
76
+ }
77
+
78
+ thumbnailEl.setAttribute('hidden', '')
79
+ })
41
80
  }
42
81
  })
43
82
  </script>
@@ -1,4 +1,9 @@
1
- <div class="srl-grid srl-button-container">
1
+ <div
2
+ class="srl-grid srl-button-container"
3
+ data-remove-from-pdf="complete"
4
+ data-remove-from-word="complete"
5
+ data-remove-from-xhtml="complete"
6
+ >
2
7
  <div class="srl-grid__inner srl-button-container__inner" doc-container="button-container">
3
8
 
4
9
  </div>
@@ -1,4 +1,10 @@
1
- <a doc-link="href" class="srl-button">
1
+ <a
2
+ doc-link="href"
3
+ class="srl-button"
4
+ data-remove-from-pdf="complete"
5
+ data-remove-from-word="complete"
6
+ data-remove-from-xhtml="complete"
7
+ >
2
8
  <i class="srl-button__icon" aria-hidden="true"></i>
3
9
  <span class="srl-button__text" doc-editable="button-text">Button</span>
4
10
  </a>
@@ -15,11 +15,11 @@
15
15
  }
16
16
 
17
17
  .srl-button-icon-arrow-left-before & {
18
- @include fa.icon(chevron-left);
18
+ @include fa.icon(arrow-left);
19
19
  }
20
20
 
21
21
  .srl-button-icon-arrow-right-after & {
22
- @include fa.icon(chevron-right);
22
+ @include fa.icon(arrow-right);
23
23
  }
24
24
 
25
25
  .srl-button-icon-download-after & {
@@ -1,4 +1,4 @@
1
- <div class="srl-grid srl-aside-content-container">
1
+ <div class="srl-grid srl-aside-content-container srl-nested-container">
2
2
  <div
3
3
  class="srl-grid__aside srl-aside-content-container__aside"
4
4
  doc-container="aside"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aside-content-container",
3
- "label": "Aside / Content container",
3
+ "label": "Aside content container",
4
4
  "properties": ["sticky", "pdf-spacer"],
5
5
  "directives": {
6
6
  "aside": {
@@ -1 +1,5 @@
1
1
  @use 'srl';
2
+
3
+ .srl-aside-content-container__aside {
4
+ @extend %srl-decoration-line;
5
+ }
@@ -1,3 +1,8 @@
1
+ @use 'srl';
2
+ @use "sass:map";
3
+
1
4
  .srl-aside-content-container {
2
5
  justify-content: space-between;
6
+ flex-direction: row;
7
+ align-items: flex-start;
3
8
  }
@@ -1 +1,13 @@
1
1
  @use "srl";
2
+
3
+ .srl-aside-content-container {
4
+ gap: srl.spacer-get(200);
5
+ }
6
+
7
+ .srl-aside-content-container__aside {
8
+ order: 2;
9
+
10
+ @include srl.grid-media-up(tablet-ls) {
11
+ order: unset;
12
+ }
13
+ }
@@ -1,5 +1,5 @@
1
1
  <div class="srl-grid srl-columns srl-nested-container">
2
- <div class="srl-grid__inner srl-flex srl-flex-gap">
2
+ <div class="srl-grid__inner srl-columns__inner srl-flex srl-flex-gap">
3
3
  <div
4
4
  class="srl-columns__column srl-columns__column--1"
5
5
  doc-container="column-1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "columns-container",
3
- "label": "Columns container",
3
+ "label": "Layout column container",
4
4
  "properties": ["width-reduced", "vertical-alignment", "pdf-spacer"],
5
5
  "directives": {
6
6
  "show-column-3": {