@simple-reporting/base 1.0.3 → 1.0.5

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 (92) hide show
  1. package/README.md +10 -10
  2. package/dev/.ddev/config.yaml +1 -1
  3. package/dev/package.json +1 -1
  4. package/dev/src/assets/scss/app.scss +0 -13
  5. package/dev/src/assets/scss/editor.scss +17 -4
  6. package/dev/src/assets/scss/pdf.scss +7 -28
  7. package/dev/srl.config.json +247 -50
  8. package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -1
  9. package/livingdocs/010.Titles/060.title-h6/ld-conf.json +4 -1
  10. package/livingdocs/020.Text/030.paragraph-strong/paragraph-strong.html +8 -0
  11. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +27 -0
  12. package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +8 -2
  13. package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -12
  14. package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +14 -0
  15. package/livingdocs/020.Text/080.footnote-item/scss/web.scss +14 -0
  16. package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +6 -2
  17. package/livingdocs/030.Lists/040.list-item/scss/general.scss +1 -7
  18. package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +14 -0
  19. package/livingdocs/030.Lists/040.list-item/scss/web.scss +14 -0
  20. package/livingdocs/040.Media/010.table/scss/general.scss +8 -8
  21. package/livingdocs/040.Media/010.table/scss/pdf.scss +27 -0
  22. package/livingdocs/040.Media/020.image/image.html +3 -8
  23. package/livingdocs/040.Media/020.image/scss/editor.scss +8 -1
  24. package/livingdocs/040.Media/020.image/scss/general.scss +4 -1
  25. package/livingdocs/040.Media/020.image/scss/pdf.scss +4 -0
  26. package/livingdocs/040.Media/020.image/scss/web.scss +19 -0
  27. package/livingdocs/040.Media/030.video/scss/editor.scss +6 -1
  28. package/livingdocs/040.Media/030.video/scss/general.scss +14 -2
  29. package/livingdocs/040.Media/030.video/scss/pdf.scss +31 -0
  30. package/livingdocs/040.Media/030.video/scss/web.scss +84 -1
  31. package/livingdocs/040.Media/030.video/video.html +14 -28
  32. package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +7 -0
  33. package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +6 -0
  34. package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +5 -0
  35. package/livingdocs/100.Misc/010.anchor/anchor.html +5 -2
  36. package/livingdocs/100.Misc/010.anchor/ld-conf.json +6 -1
  37. package/livingdocs/100.Misc/010.anchor/scss/editor.scss +19 -0
  38. package/livingdocs/100.Misc/010.anchor/scss/general.scss +5 -0
  39. package/livingdocs/100.Misc/010.anchor/scss/pdf.scss +2 -0
  40. package/livingdocs/100.Misc/010.anchor/scss/web.scss +1 -0
  41. package/livingdocs/100.Misc/010.anchor/scss/word.scss +0 -0
  42. package/livingdocs/100.Misc/010.anchor/scss/xbrl.scss +0 -0
  43. package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +5 -1
  44. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +20 -0
  45. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/general.scss +5 -0
  46. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/pdf.scss +6 -0
  47. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/web.scss +1 -0
  48. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/word.scss +0 -0
  49. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/xbrl.scss +1 -0
  50. package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +6 -2
  51. package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +18 -0
  52. package/livingdocs/110.PDF/030.pdf-publication-title/scss/general.scss +5 -0
  53. package/livingdocs/110.PDF/030.pdf-publication-title/scss/pdf.scss +6 -0
  54. package/livingdocs/110.PDF/030.pdf-publication-title/scss/web.scss +1 -0
  55. package/livingdocs/110.PDF/030.pdf-publication-title/scss/word.scss +0 -0
  56. package/livingdocs/110.PDF/030.pdf-publication-title/scss/xbrl.scss +1 -0
  57. package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +6 -2
  58. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +18 -0
  59. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/general.scss +5 -0
  60. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/pdf.scss +6 -0
  61. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/web.scss +1 -0
  62. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/word.scss +0 -0
  63. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/xbrl.scss +1 -0
  64. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -0
  65. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +1 -0
  66. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +15 -0
  67. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/web.scss +1 -0
  68. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/word.scss +0 -0
  69. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/xbrl.scss +1 -0
  70. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +1 -1
  71. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/editor.scss +1 -0
  72. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +1 -0
  73. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +15 -0
  74. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/web.scss +1 -0
  75. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/word.scss +0 -0
  76. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/xbrl.scss +1 -0
  77. package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +9 -3
  78. package/package.json +1 -1
  79. package/scripts/config.js +0 -4
  80. package/scripts/init.js +5 -0
  81. package/srl/components/Srl/Article/Root.vue +1 -1
  82. package/srl/components/Srl/Page/App.vue +3 -9
  83. package/srl/composables/cssStyles.ts +16 -0
  84. package/srl/composables/index.ts +5 -3
  85. package/srl/scss/grid/functions.scss +11 -1
  86. package/srl/scss/spacer/mixins.scss +3 -3
  87. package/srl/scss/typography/mixins.scss +9 -2
  88. package/srl/utils/html.ts +3 -4
  89. package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +0 -16
  90. package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +0 -5
  91. package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +0 -4
  92. package/srl/composables/root.ts +0 -5
package/README.md CHANGED
@@ -24,14 +24,14 @@ Build all required files.
24
24
 
25
25
  ## Important CLI commands
26
26
 
27
- | Command | Description |
28
- |----------------------------------------------------------|--------------------------------------------------------------------------------|
29
- | `npm install` | Installs all packages listed in `package.json` |
30
- | `npm run dev` | Starts the development environment including SCSS and JS watcher (Live Reload) |
31
- | `npm run build` | Generates all CSS and JS files and ZIP packages in `.output` |
32
- | `npx @simple-reporting/base create component` | Creates a component |
33
- | `npx @simple-reporting/base add components` | Adds predefined components |
34
- | `npx @simple-reporting/base remove components` | Removes one or more components |
35
- | `npx @simple-reporting/base add groups` | Adds predefined groups and their components |
36
- | `npx @simple-reporting/base remove groups` | Removes one or more groups |
27
+ | Command | Description |
28
+ |---------------------------------|--------------------------------------------------------------------------------|
29
+ | `npm install` | Installs all packages listed in `package.json` |
30
+ | `npm run dev` | Starts the development environment including SCSS and JS watcher (Live Reload) |
31
+ | `npm run build` | Generates all CSS and JS files and ZIP packages in `.output` |
32
+ | `npx srl create component` | Creates a component |
33
+ | `npx srl add components` | Adds predefined components |
34
+ | `npx srl remove components` | Removes one or more components |
35
+ | `npx srl add groups` | Adds predefined groups and their components |
36
+ | `npx srl remove groups` | Removes one or more groups |
37
37
 
@@ -1,4 +1,4 @@
1
- name: nassauische-ld
1
+ name: standard-ld
2
2
  type: php
3
3
  docroot: .output/ddev
4
4
  php_version: '8.3'
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.3",
22
+ "@simple-reporting/base": "^1.0.5",
23
23
  "axios": "^1.9.0",
24
24
  "chalk": "^5.4.1",
25
25
  "exceljs": "^4.4.0",
@@ -24,16 +24,3 @@
24
24
  .fade-leave-active {
25
25
  transition: opacity 300ms linear;
26
26
  }
27
-
28
- .srl-article-root,
29
- .ns-article {
30
- > .srl-article__grid {
31
- margin-right: auto;
32
- margin-left: auto;
33
- }
34
- }
35
-
36
- [class^='srl-pdf-'],
37
- [class*=' srl-pdf-'] {
38
- display: none;
39
- }
@@ -1,11 +1,19 @@
1
1
  @use 'srl';
2
2
  @use 'web';
3
3
 
4
- .ns-temp-highlight {
5
- background: srl.colors-primary-1000();
4
+ $editor-color-srl: srl.colors-shade-200();
5
+ $editor-background-color-srl: srl.colors-primary-1000();
6
+
7
+ /*
8
+ Overruling Livingdocs editor styles
9
+ */
10
+ .srl-article-root .doc-component-highlight {
11
+ outline: 1px solid $editor-color-srl;
6
12
  }
7
13
 
8
- $editor-color-srl: srl.colors-shade-200();
14
+ .ns-temp-highlight {
15
+ background: $editor-background-color-srl;
16
+ }
9
17
 
10
18
  span.ns-nowrap {
11
19
  --b: 1px; /* thickness of the border */
@@ -23,5 +31,10 @@ span.ns-nowrap {
23
31
 
24
32
  span.ns-key-figure {
25
33
  color: srl.colors-white-1000();
26
- background-color: srl.colors-primary-1000();
34
+ background-color: $editor-background-color-srl;
27
35
  }
36
+
37
+ // Set width of placeholder image to 100%
38
+ img[src^="data:image/svg+xml"] {
39
+ width: 100%
40
+ }
@@ -22,26 +22,6 @@ img {
22
22
  }
23
23
  }
24
24
 
25
- /*
26
- PDF chapter navigation and publication title
27
- */
28
- .srl-publication-title {
29
- position: running(publicationTitle);
30
- @include srl.typography-pdf-header()
31
- }
32
-
33
- .srl-chapter-navigation {
34
- position: running(chapterNavigation);
35
- }
36
-
37
- .srl-chapter-navigation__list {
38
- list-style: none;
39
- padding: 0;
40
- margin: 0;
41
- display: flex;
42
- @include srl.typography-pdf-header()
43
- }
44
-
45
25
  /*
46
26
  Basic layout for PDF
47
27
  */
@@ -94,15 +74,13 @@ img {
94
74
  }
95
75
  }
96
76
 
97
- .srl-pdf-pagebreak {
98
- break-after: always;
99
- }
100
-
101
- [class*="category-note-"] {
77
+ [class*="srl-category-notes_"],
78
+ [class*="srl-category-notes-"],
79
+ [class*="srl-category-note_"],
80
+ [class*="srl-category-note-"] {
102
81
  break-after: unset;
103
- margin-top: srl.spacer-get(400);
104
82
 
105
- &:last-child {
83
+ &.last-note {
106
84
  break-after: always;
107
85
  }
108
86
  }
@@ -112,7 +90,8 @@ img {
112
90
  */
113
91
  .srl-grid {
114
92
  display: flex;
115
- justify-content: flex-end;
93
+ flex-direction: column;
94
+ align-items: flex-end;
116
95
 
117
96
  .srl-grid {
118
97
  display: block;