@simple-reporting/base 1.0.21 → 1.0.23

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 (103) hide show
  1. package/dev/package.json +1 -1
  2. package/dev/src/assets/scss/general.scss +1 -0
  3. package/dev/src/assets/scss/pdf.scss +13 -0
  4. package/dev/src/assets/scss/placeholders.scss +48 -0
  5. package/dev/src/entries/pdf.ts +14 -1
  6. package/dev/srl.config.json +106 -0
  7. package/livingdocs/010.Titles/010.title-h1/scss/general.scss +12 -0
  8. package/livingdocs/010.Titles/020.title-h2/scss/general.scss +12 -1
  9. package/livingdocs/010.Titles/030.title-h3/scss/general.scss +0 -1
  10. package/livingdocs/010.Titles/040.title-h4/scss/general.scss +0 -1
  11. package/livingdocs/010.Titles/050.title-h5/scss/general.scss +0 -1
  12. package/livingdocs/010.Titles/060.title-h6/scss/general.scss +0 -1
  13. package/livingdocs/020.Text/010.lead/scss/general.scss +0 -1
  14. package/livingdocs/020.Text/020.paragraph/scss/general.scss +0 -1
  15. package/livingdocs/020.Text/040.link/scss/general.scss +0 -1
  16. package/livingdocs/020.Text/050.quote/scss/general.scss +0 -4
  17. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +4 -1
  18. package/livingdocs/020.Text/070.footnote-container/scss/general.scss +1 -2
  19. package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -8
  20. package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +8 -1
  21. package/livingdocs/020.Text/080.footnote-item/scss/web.scss +8 -1
  22. package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +3 -3
  23. package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +8 -0
  24. package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +2 -0
  25. package/livingdocs/030.Lists/010.unordered-list/unordered-list.html +1 -1
  26. package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +2 -5
  27. package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +2 -5
  28. package/livingdocs/030.Lists/040.list-item/scss/general.scss +7 -0
  29. package/livingdocs/030.Lists/040.list-item/scss/web.scss +13 -0
  30. package/livingdocs/040.Media/010.table/scss/general.scss +18 -39
  31. package/livingdocs/040.Media/010.table/scss/pdf.scss +20 -0
  32. package/livingdocs/040.Media/020.image/scss/general.scss +0 -4
  33. package/livingdocs/080.CV/010.cv/cv.html +34 -32
  34. package/livingdocs/080.CV/010.cv/scss/app.scss +1 -0
  35. package/livingdocs/080.CV/010.cv/scss/editor.scss +1 -0
  36. package/livingdocs/080.CV/010.cv/scss/general.scss +15 -0
  37. package/livingdocs/080.CV/010.cv/scss/pdf.scss +14 -0
  38. package/livingdocs/080.CV/010.cv/scss/web.scss +15 -0
  39. package/livingdocs/080.CV/010.cv/scss/word.scss +0 -0
  40. package/livingdocs/080.CV/010.cv/scss/xbrl.scss +1 -0
  41. package/livingdocs/080.CV/020.cv-time-span/cv-time-span.html +14 -12
  42. package/livingdocs/080.CV/020.cv-time-span/scss/app.scss +1 -0
  43. package/livingdocs/080.CV/020.cv-time-span/scss/editor.scss +1 -0
  44. package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +10 -0
  45. package/livingdocs/080.CV/020.cv-time-span/scss/pdf.scss +10 -0
  46. package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +10 -0
  47. package/livingdocs/080.CV/020.cv-time-span/scss/word.scss +0 -0
  48. package/livingdocs/080.CV/020.cv-time-span/scss/xbrl.scss +1 -0
  49. package/livingdocs/090.Signatures/020.signature-item/scss/general.scss +1 -0
  50. package/livingdocs/100.Misc/010.anchor/anchor.html +1 -1
  51. package/livingdocs/100.Misc/020.accordion/accordion.html +7 -5
  52. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/pdf-chapter-navigation.html +1 -1
  53. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +4 -0
  54. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +9 -1
  55. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +0 -9
  56. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/pdf-chapter-navigation-item.html +3 -2
  57. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +14 -1
  58. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +1 -14
  59. package/livingdocs/110.PDF/070.pdf-cover/ld-conf.json +3 -0
  60. package/livingdocs/110.PDF/070.pdf-cover/properties.json +19 -0
  61. package/livingdocs/110.PDF/070.pdf-cover/scss/editor.scss +7 -0
  62. package/livingdocs/110.PDF/070.pdf-cover/scss/general.scss +22 -0
  63. package/livingdocs/110.PDF/070.pdf-cover/scss/pdf.scss +22 -0
  64. package/livingdocs/110.PDF/070.pdf-cover/scss/web.scss +1 -0
  65. package/livingdocs/110.PDF/070.pdf-cover/scss/word.scss +0 -0
  66. package/livingdocs/110.PDF/070.pdf-cover/scss/xbrl.scss +1 -0
  67. package/livingdocs/110.PDF/080.pdf-toc-page/pdf-toc-page.html +1 -1
  68. package/livingdocs/110.PDF/080.pdf-toc-page/scss/editor.scss +35 -0
  69. package/livingdocs/110.PDF/080.pdf-toc-page/scss/general.scss +5 -0
  70. package/livingdocs/110.PDF/080.pdf-toc-page/scss/pdf.scss +20 -0
  71. package/livingdocs/110.PDF/080.pdf-toc-page/scss/web.scss +1 -0
  72. package/livingdocs/110.PDF/080.pdf-toc-page/scss/word.scss +0 -0
  73. package/livingdocs/110.PDF/080.pdf-toc-page/scss/xbrl.scss +1 -0
  74. package/livingdocs/110.PDF/090.pdf-toc-item-title/pdf-toc-item-title.html +1 -1
  75. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/editor.scss +3 -0
  76. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/general.scss +5 -0
  77. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/pdf.scss +2 -0
  78. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/web.scss +1 -0
  79. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/word.scss +0 -0
  80. package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/xbrl.scss +1 -0
  81. package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +2 -2
  82. package/livingdocs/110.PDF/100.pdf-toc-item/scss/editor.scss +3 -0
  83. package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +23 -0
  84. package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +2 -0
  85. package/livingdocs/110.PDF/100.pdf-toc-item/scss/web.scss +1 -0
  86. package/livingdocs/110.PDF/100.pdf-toc-item/scss/word.scss +0 -0
  87. package/livingdocs/110.PDF/100.pdf-toc-item/scss/xbrl.scss +1 -0
  88. package/livingdocs/999.Properties/pdf-spacer/properties.json +7 -11
  89. package/livingdocs/999.Properties/pdf-spacer/scss/pdf.scss +29 -0
  90. package/package.json +1 -1
  91. package/scripts/build.js +2 -2
  92. package/scripts/init.js +1 -1
  93. package/srl/.srl/App.vue +9 -5
  94. package/srl/.srl/components/Srl/Article/Accordion.vue +106 -0
  95. package/srl/.srl/components/Srl/Article/Dialog/Button.vue +39 -16
  96. package/srl/.srl/components/Srl/Category/Accordion.vue +32 -4
  97. package/srl/.srl/plugins/initProject.ts +12 -7
  98. package/srl/.srl/utils/html.ts +71 -62
  99. package/srl/.srl/utils/index.ts +28 -1
  100. package/srl/.srl/utils/pageState.ts +61 -0
  101. package/srl/srl/pdf/PDFNotes.ts +71 -0
  102. package/srl/srl/pdf/PDFSetPageNumbers.ts +25 -0
  103. /package/srl/srl/{Awesomizr.js → pdf/Awesomizr.js} +0 -0
package/dev/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "postinstall": "srl prepare"
20
20
  },
21
21
  "dependencies": {
22
- "@simple-reporting/base": "^1.0.21",
22
+ "@simple-reporting/base": "^1.0.23",
23
23
  "axios": "^1.12.2",
24
24
  "chalk": "^5.6.2",
25
25
  "exceljs": "^4.4.0",
@@ -7,6 +7,7 @@
7
7
  $font-weight-bold: map.get(srl.$meta, font, weight, bold);
8
8
 
9
9
  body {
10
+ background: srl.colors-white-1000();
10
11
  color: srl.colors-black-1000();
11
12
  }
12
13
 
@@ -85,6 +85,19 @@ img {
85
85
  }
86
86
  }
87
87
 
88
+ /*
89
+ Hold titles and the following component on the same page
90
+ */
91
+ .srl-title-h1,
92
+ .srl-title-h2,
93
+ .srl-title-h3,
94
+ .srl-title-h4,
95
+ .srl-title-h5 {
96
+ & + * {
97
+ break-before: avoid;
98
+ }
99
+ }
100
+
88
101
  /*
89
102
  Layout
90
103
  */
@@ -225,6 +225,54 @@
225
225
  @include srl.grid-offset(1, desktop-large);
226
226
  }
227
227
 
228
+ /*
229
+ Quote with an image regular with
230
+ Just the image
231
+ */
232
+ %srl-cv-header-portrait {
233
+ // Mobile
234
+ @include srl.grid-col(4);
235
+
236
+ // Mobile landscape
237
+ @include srl.grid-col(4, phone-ls);
238
+
239
+ // Tablet portrait
240
+ @include srl.grid-col(3, tablet-pt);
241
+
242
+ // Tablet landscape
243
+ @include srl.grid-col(3, tablet-ls);
244
+
245
+ // Desktop
246
+ @include srl.grid-col(2, desktop);
247
+
248
+ // Desktop large
249
+ @include srl.grid-col(2, desktop-large);
250
+ }
251
+
252
+ /*
253
+ Quote with an image regular with
254
+ Just the text
255
+ */
256
+ %srl-cv-header-content {
257
+ // Mobile
258
+ @include srl.grid-col(4);
259
+
260
+ // Mobile landscape
261
+ @include srl.grid-col(4, phone-ls);
262
+
263
+ // Tablet portrait
264
+ @include srl.grid-col(5, tablet-pt);
265
+
266
+ // Tablet landscape
267
+ @include srl.grid-col(5, tablet-ls);
268
+
269
+ // Desktop
270
+ @include srl.grid-col(4, desktop);
271
+
272
+ // Desktop large
273
+ @include srl.grid-col(4, desktop-large);
274
+ }
275
+
228
276
  %srl-icon {
229
277
  display: block;
230
278
  width: srl.system-size-unit(24);
@@ -1,2 +1,15 @@
1
1
  import '#imports/pdf.scss'
2
- import * as Awesomizr from 'srl/Awesomizr.js'
2
+ import * as Awesomizr from 'srl/pdf/Awesomizr.js'
3
+ import * as PDFNotes from 'srl/pdf/PDFNotes.ts'
4
+ import * as PDFSetPageNumbers from 'srl/pdf/PDFSetPageNumbers.ts';
5
+
6
+ document.addEventListener('DOMContentLoaded', () => {
7
+ new PDFNotes({
8
+ noteClass: '.srl-category-notes_group, .srl-category-notes_holding'
9
+ })
10
+
11
+ new PDFSetPageNumbers({
12
+ tocItemClass: '.srl-pdf-toc__item:not(.srl-pdf-toc__item--blank)',
13
+ tocItemPageNumberClass: '.srl-pdf-toc__number'
14
+ });
15
+ })
@@ -121,6 +121,22 @@
121
121
  }
122
122
  }
123
123
  },
124
+ {
125
+ "name": "title-h1-pdf",
126
+ "font-family": "Inter",
127
+ "font-size": "16pt",
128
+ "line-height": 1.2,
129
+ "font-style": "normal",
130
+ "font-weight": 600,
131
+ "color": "white-1000",
132
+ "letter-spacing": 0,
133
+ "media": {
134
+ "print": {
135
+ "font-size": "16pt",
136
+ "line-height": 1.2
137
+ }
138
+ }
139
+ },
124
140
  {
125
141
  "name": "title-h2",
126
142
  "font-family": "Inter",
@@ -143,6 +159,22 @@
143
159
  }
144
160
  }
145
161
  },
162
+ {
163
+ "name": "title-h2-pdf",
164
+ "font-family": "Inter",
165
+ "font-size": "28pt",
166
+ "line-height": 0.875,
167
+ "font-style": "normal",
168
+ "font-weight": 600,
169
+ "color": "white-1000",
170
+ "letter-spacing": 0,
171
+ "media": {
172
+ "print": {
173
+ "font-size": "28pt",
174
+ "line-height": 0.875
175
+ }
176
+ }
177
+ },
146
178
  {
147
179
  "name": "title-h3",
148
180
  "font-family": "Inter",
@@ -643,6 +675,27 @@
643
675
  }
644
676
  }
645
677
  },
678
+ {
679
+ "name": "cv-time-span",
680
+ "font-family": "Inter",
681
+ "font-size": 14,
682
+ "line-height": 1.5,
683
+ "font-style": "normal",
684
+ "font-weight": 400,
685
+ "color": "black-1000",
686
+ "letter-spacing": 0,
687
+ "media": {
688
+ "print": {
689
+ "font-size": "9pt",
690
+ "line-height": 1.444
691
+ },
692
+ "up": {
693
+ "tablet-pt": {
694
+ "font-size": 16
695
+ }
696
+ }
697
+ }
698
+ },
646
699
  {
647
700
  "name": "pdf-header",
648
701
  "font-family": "Inter",
@@ -659,6 +712,59 @@
659
712
  }
660
713
  }
661
714
  },
715
+ {
716
+ "name": "toc-title",
717
+ "font-family": "Inter",
718
+ "font-size": "28pt",
719
+ "line-height": 1.14,
720
+ "font-style": "normal",
721
+ "font-weight": 600,
722
+ "color": "black-1000",
723
+ "letter-spacing": 0,
724
+ "media": {
725
+ "print": {
726
+ "font-size": "28pt",
727
+ "line-height": 1.14
728
+ }
729
+ }
730
+ },
731
+ {
732
+ "name": "toc-item-title",
733
+ "font-family": "Inter",
734
+ "font-size": "20pt",
735
+ "line-height": 1.2,
736
+ "font-style": "normal",
737
+ "font-weight": 600,
738
+ "color": "black-1000",
739
+ "letter-spacing": 0,
740
+ "media": {
741
+ "print": {
742
+ "font-size": "20pt",
743
+ "line-height": 1.2
744
+ }
745
+ }
746
+ },
747
+ {
748
+ "name": "toc-item",
749
+ "font-family": "Inter",
750
+ "font-size": 14,
751
+ "line-height": 1.5,
752
+ "font-style": "normal",
753
+ "font-weight": 600,
754
+ "color": "black-1000",
755
+ "letter-spacing": 0,
756
+ "media": {
757
+ "print": {
758
+ "font-size": "9pt",
759
+ "line-height": 1.444
760
+ },
761
+ "up": {
762
+ "tablet-pt": {
763
+ "font-size": 16
764
+ }
765
+ }
766
+ }
767
+ },
662
768
  {
663
769
  "name": "editor-label-text",
664
770
  "font-family": "Inter",
@@ -2,4 +2,16 @@
2
2
 
3
3
  .srl-title-h1 {
4
4
  @include srl.typography-title-h1();
5
+
6
+ .srl-pdf-cover & {
7
+ @include srl.typography-title-h1-pdf();
8
+ }
9
+
10
+ .srl-cover--font-color-black & {
11
+ color: srl.colors-black-1000();
12
+ }
13
+
14
+ .srl-cover--font-color-primary & {
15
+ color: srl.colors-primary-1000();
16
+ }
5
17
  }
@@ -5,7 +5,18 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
5
5
 
6
6
  .srl-title-h2 {
7
7
  @include srl.typography-title-h2();
8
- @include srl.spacer-margin-top(800);
8
+
9
+ .srl-pdf-cover & {
10
+ @include srl.typography-title-h2-pdf();
11
+ }
12
+
13
+ .srl-cover--font-color-black & {
14
+ color: srl.colors-black-1000();
15
+ }
16
+
17
+ .srl-cover--font-color-primary & {
18
+ color: srl.colors-primary-1000();
19
+ }
9
20
  }
10
21
 
11
22
  .srl-title-h2__number-text-container {
@@ -5,7 +5,6 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
5
5
 
6
6
  .srl-title-h3 {
7
7
  @include srl.typography-title-h3();
8
- @include srl.spacer-margin-top(400);
9
8
  }
10
9
 
11
10
  .srl-title-h3__number-text-container {
@@ -5,7 +5,6 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
5
5
 
6
6
  .srl-title-h4 {
7
7
  @include srl.typography-title-h4();
8
- @include srl.spacer-margin-top(400);
9
8
  }
10
9
 
11
10
  .srl-title-h4__number-text-container {
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-title-h5 {
4
4
  @include srl.typography-title-h5();
5
- @include srl.spacer-margin-top(200);
6
5
  }
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-title-h6 {
4
4
  @include srl.typography-title-h6();
5
- @include srl.spacer-margin-top(200);
6
5
  }
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-lead {
4
4
  @include srl.typography-lead();
5
- @include srl.spacer-margin-top(400);
6
5
  }
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-paragraph {
4
4
  @include srl.typography-paragraph();
5
- @include srl.spacer-margin-top(200);
6
5
  }
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-link {
4
4
  @include srl.typography-link();
5
- @include srl.spacer-margin-top(100);
6
5
  }
@@ -1,9 +1,5 @@
1
1
  @use 'srl';
2
2
 
3
- .srl-quote {
4
- @include srl.spacer-margin-top(800);
5
- }
6
-
7
3
  .srl-quote__quote {
8
4
  @include srl.typography-quote();
9
5
  }
@@ -8,7 +8,10 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
8
8
  .srl-quote {
9
9
  align-items: center;
10
10
  row-gap: srl.spacer-get(400);
11
- @include srl.spacer-margin-top(800);
11
+ }
12
+
13
+ .srl-quote__img {
14
+ border-radius: 50%;
12
15
  }
13
16
 
14
17
  .srl-quote__quote {
@@ -2,5 +2,4 @@
2
2
 
3
3
  .srl-footnote-container {
4
4
  overflow: hidden;
5
- @include srl.spacer-margin-top(200);
6
- }
5
+ }
@@ -4,13 +4,5 @@
4
4
  .srl-footnote:not(.srl-grid),
5
5
  .srl-footnote__item {
6
6
  display: flex;
7
- @include srl.spacer-margin-top(100);
8
7
  @include srl.typography-footnote-text();
9
8
  }
10
-
11
- .srl-footnote__key {
12
- font-size: 60%;
13
- font-variant-numeric: tabular-nums;
14
- line-height: 1; // prevents normal text from getting too much height
15
- vertical-align: super;
16
- }
@@ -6,9 +6,16 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width-pd
6
6
  .srl-footnote__key,
7
7
  .srl-footnote__number {
8
8
  width: $number-width;
9
+
10
+ &:empty {
11
+ width: 0;
12
+
13
+ & + .srl-footnote__text {
14
+ width: 100%;
15
+ }
16
+ }
9
17
  }
10
18
 
11
- .srl-footnote__text,
12
19
  .srl-footnote__text {
13
20
  width: calc(100% - #{$number-width});
14
21
  }
@@ -6,9 +6,16 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
6
6
  .srl-footnote__key,
7
7
  .srl-footnote__number {
8
8
  width: $number-width;
9
+
10
+ &:empty {
11
+ width: 0;
12
+
13
+ & + .srl-footnote__text {
14
+ width: 100%;
15
+ }
16
+ }
9
17
  }
10
18
 
11
- .srl-footnote__text,
12
19
  .srl-footnote__text {
13
20
  width: calc(100% - #{$number-width});
14
21
  }
@@ -1,8 +1,8 @@
1
1
  @use 'srl';
2
- @use "sass:map";
3
2
 
4
- .srl-list-group {
5
- @include srl.spacer-margin-top(200);
3
+ .srl-table-list {
4
+ list-style: none;
5
+ padding: 0;
6
6
  }
7
7
 
8
8
  .srl-list-group__list {
@@ -0,0 +1,8 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
3
+
4
+ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width-pdf));
5
+
6
+ .srl-table-list {
7
+ margin-left: $number-width;
8
+ }
@@ -0,0 +1,2 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
@@ -3,4 +3,4 @@
3
3
  class="srl-grid__inner srl-list-group__list srl-list-group__list--ul"
4
4
  doc-container="list"
5
5
  ></ul>
6
- </div>
6
+ </div>
@@ -1,9 +1,6 @@
1
1
  @use 'srl';
2
2
 
3
- .srl-list-group {
4
- @include srl.spacer-margin-top(200);
5
- }
6
-
7
- .srl-list-group--ol {
3
+ .srl-list-group--ol,
4
+ .srl-table-list--ol {
8
5
  counter-reset: ordered-list;
9
6
  }
@@ -1,9 +1,6 @@
1
1
  @use 'srl';
2
2
 
3
- .srl-list-group {
4
- @include srl.spacer-margin-top(200);
5
- }
6
-
7
- .srl-list-group--alphanumeric {
3
+ .srl-list-group--alphanumeric,
4
+ .srl-table-list--alphanumeric {
8
5
  counter-reset: alphanumeric-list;
9
6
  }
@@ -10,17 +10,24 @@ $alphanumeric-marker-after: ")";
10
10
  display: flex;
11
11
  @include srl.typography-list();
12
12
 
13
+ .srl-footnote-container .srl-table-list & {
14
+ @include srl.typography-footnote-text();
15
+ }
16
+
13
17
  &:before {
18
+ .srl-table-list--ul &,
14
19
  .srl-list-group--ul & {
15
20
  content: "#{$unordered-marker}";
16
21
  }
17
22
 
23
+ .srl-table-list--ol &,
18
24
  .srl-list-group--ol & {
19
25
  counter-increment: ordered-list;
20
26
  content: counter(ordered-list) $ordered-marker-after;
21
27
  font-variant-numeric: tabular-nums;
22
28
  }
23
29
 
30
+ .srl-table-list--alphanumeric &,
24
31
  .srl-list-group--alphanumeric & {
25
32
  counter-increment: alphanumeric-list;
26
33
  content: counter(alphanumeric-list, lower-alpha) $alphanumeric-marker-after;
@@ -2,13 +2,26 @@
2
2
  @use "sass:map";
3
3
 
4
4
  $marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width));
5
+ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
5
6
 
6
7
  .srl-list-group__item {
7
8
  &:before {
8
9
  width: $marker-width;
10
+
11
+ .srl-table-list--ul &,
12
+ .srl-table-list--ol &,
13
+ .srl-table-list--alphanumeric & {
14
+ padding-left: $number-width;
15
+ }
9
16
  }
10
17
  }
11
18
 
12
19
  .srl-list-group__item-text {
13
20
  width: calc(100% - #{$marker-width});
21
+
22
+ .srl-table-list--ul &,
23
+ .srl-table-list--ol &,
24
+ .srl-table-list--alphanumeric & {
25
+ width: calc(100% - #{$marker-width} - #{$number-width});
26
+ }
14
27
  }
@@ -11,7 +11,6 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
11
11
 
12
12
  .srl-table {
13
13
  display: block;
14
- @include srl.spacer-margin-top(400);
15
14
  }
16
15
 
17
16
  .srl-table__container {
@@ -58,6 +57,9 @@ td {
58
57
  /*
59
58
  Font colors
60
59
  */
60
+ &[class*="fcprimary"] {
61
+ color: srl.colors-primary-1000();
62
+ }
61
63
 
62
64
  /*
63
65
  Font Sizes
@@ -74,6 +76,10 @@ td {
74
76
  font-weight: srl.typography-get-font-weight('table-head-strong');
75
77
  }
76
78
 
79
+ &[class*="regular"] {
80
+ font-weight: srl.typography-get-font-weight('table-cell-regular');
81
+ }
82
+
77
83
  &[class*="bold"] {
78
84
  font-weight: srl.typography-get-font-weight('table-cell-strong');
79
85
  }
@@ -214,48 +220,21 @@ td {
214
220
  }
215
221
  }
216
222
 
223
+ &[class*="ind_ind_ind"] {
224
+ &:first-child {
225
+ padding-left: srl.spacer-get(800);
226
+ }
227
+ }
228
+
217
229
  /*
218
230
  Cell Backgrounds
219
231
  DEFINE HERE; DIFFERENT CSS CLASSES IN EVERY PROJECT
220
232
  */
221
- &[class*="background-01"] {
222
- background-color: transparent;
223
- }
224
-
225
- &[class*="background-02"] {
226
- background-color: transparent;
227
- }
228
-
229
- &[class*="background-03"] {
230
- background-color: transparent;
231
- }
232
-
233
- &[class*="background-04"] {
234
- background-color: transparent;
235
- }
236
-
237
- &[class*="background-05"] {
238
- background-color: transparent;
239
- }
240
-
241
- &[class*="background-06"] {
242
- background-color: transparent;
243
- }
244
-
245
- &[class*="background-07"] {
246
- background-color: transparent;
247
- }
248
-
249
- &[class*="background-08"] {
250
- background-color: transparent;
251
- }
252
-
253
- &[class*="background-09"] {
254
- background-color: transparent;
255
- }
256
-
257
- &[class*="background-10"] {
258
- background-color: transparent;
233
+ @for $i from 1 through 10 {
234
+ $suffix: if($i < 10, "0#{$i}", "#{$i}");
235
+ &[class*="background-#{$suffix}"] {
236
+ background-color: var(--srl-table-background-#{$suffix}, transparent);
237
+ }
259
238
  }
260
239
 
261
240
  &[class*="background-01"],
@@ -1,6 +1,12 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
3
 
4
+ $table-cells-width-in-mm: false;
5
+
6
+ .srl-table {
7
+ break-inside: avoid;
8
+ }
9
+
4
10
  .srl-table__container > div {
5
11
  display: flex;
6
12
  flex-direction: column;
@@ -15,6 +21,20 @@
15
21
  }
16
22
  }
17
23
 
24
+ @if $table-cells-width-in-mm == true {
25
+ .srl-table-container {
26
+ width: 100%;
27
+ display: flex;
28
+ flex-direction: column;
29
+ align-items: flex-end;
30
+ }
31
+
32
+ table {
33
+ width: fit-content;
34
+ min-width: unset;
35
+ }
36
+ }
37
+
18
38
  tr {
19
39
  &[class*="pagebreak"] {
20
40
  break-after: always;
@@ -1,10 +1,6 @@
1
1
  @use 'srl';
2
2
  @use "assets/scss/placeholders";
3
3
 
4
- .srl-image {
5
- @include srl.spacer-margin-top(800);
6
- }
7
-
8
4
  .srl-grid--media {
9
5
  .srl-full-width & {
10
6
  @extend %srl-grid-reset;