@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.
- package/README.md +10 -10
- package/dev/.ddev/config.yaml +1 -1
- package/dev/package.json +1 -1
- package/dev/src/assets/scss/app.scss +0 -13
- package/dev/src/assets/scss/editor.scss +17 -4
- package/dev/src/assets/scss/pdf.scss +7 -28
- package/dev/srl.config.json +247 -50
- package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -1
- package/livingdocs/010.Titles/060.title-h6/ld-conf.json +4 -1
- package/livingdocs/020.Text/030.paragraph-strong/paragraph-strong.html +8 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +27 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +8 -2
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -12
- package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +14 -0
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +14 -0
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +6 -2
- package/livingdocs/030.Lists/040.list-item/scss/general.scss +1 -7
- package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +14 -0
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +14 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +8 -8
- package/livingdocs/040.Media/010.table/scss/pdf.scss +27 -0
- package/livingdocs/040.Media/020.image/image.html +3 -8
- package/livingdocs/040.Media/020.image/scss/editor.scss +8 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +4 -1
- package/livingdocs/040.Media/020.image/scss/pdf.scss +4 -0
- package/livingdocs/040.Media/020.image/scss/web.scss +19 -0
- package/livingdocs/040.Media/030.video/scss/editor.scss +6 -1
- package/livingdocs/040.Media/030.video/scss/general.scss +14 -2
- package/livingdocs/040.Media/030.video/scss/pdf.scss +31 -0
- package/livingdocs/040.Media/030.video/scss/web.scss +84 -1
- package/livingdocs/040.Media/030.video/video.html +14 -28
- package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +7 -0
- package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +6 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/anchor.html +5 -2
- package/livingdocs/100.Misc/010.anchor/ld-conf.json +6 -1
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +19 -0
- package/livingdocs/100.Misc/010.anchor/scss/general.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/scss/pdf.scss +2 -0
- package/livingdocs/100.Misc/010.anchor/scss/web.scss +1 -0
- package/livingdocs/100.Misc/010.anchor/scss/word.scss +0 -0
- package/livingdocs/100.Misc/010.anchor/scss/xbrl.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +5 -1
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +20 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/general.scss +5 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/web.scss +1 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/word.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +6 -2
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +6 -2
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/web.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/word.scss +0 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +1 -1
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/web.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/word.scss +0 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +9 -3
- package/package.json +1 -1
- package/scripts/config.js +0 -4
- package/scripts/init.js +5 -0
- package/srl/components/Srl/Article/Root.vue +1 -1
- package/srl/components/Srl/Page/App.vue +3 -9
- package/srl/composables/cssStyles.ts +16 -0
- package/srl/composables/index.ts +5 -3
- package/srl/scss/grid/functions.scss +11 -1
- package/srl/scss/spacer/mixins.scss +3 -3
- package/srl/scss/typography/mixins.scss +9 -2
- package/srl/utils/html.ts +3 -4
- package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +0 -16
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +0 -5
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +0 -4
- 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
|
|
28
|
-
|
|
29
|
-
| `npm install`
|
|
30
|
-
| `npm run dev`
|
|
31
|
-
| `npm run build`
|
|
32
|
-
| `npx
|
|
33
|
-
| `npx
|
|
34
|
-
| `npx
|
|
35
|
-
| `npx
|
|
36
|
-
| `npx
|
|
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
|
|
package/dev/.ddev/config.yaml
CHANGED
package/dev/package.json
CHANGED
|
@@ -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
|
-
.
|
|
5
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
98
|
-
|
|
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
|
-
|
|
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
|
-
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
align-items: flex-end;
|
|
116
95
|
|
|
117
96
|
.srl-grid {
|
|
118
97
|
display: block;
|