@simple-reporting/base 0.1.112 → 1.0.1
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/.github/workflows/npm-publish.yml +0 -1
- package/cli.js +9 -2
- package/dev/index.html +3 -2
- package/dev/livingdocs.config.json +6 -228
- package/dev/package.json +24 -21
- package/dev/pdf/pdf-configuration-debug.xml +3 -0
- package/dev/public/downloads/downloads_de.json +1 -0
- package/dev/public/downloads/downloads_en.json +1 -0
- package/dev/public/favicon.png +0 -0
- package/dev/public/html/de/Downloads.html +3 -0
- package/dev/public/html/de/Home.html +3 -0
- package/dev/public/html/de/Suche.html +3 -0
- package/dev/public/html/en/Downloads.html +3 -0
- package/dev/public/html/en/Home.html +3 -0
- package/dev/public/html/en/Suche.html +3 -0
- package/dev/public/json/routing_de.json +86 -0
- package/dev/public/json/routing_en.json +86 -0
- package/dev/public/json/settings.json +8 -0
- package/dev/public/json/translations_hosting.json +1 -0
- package/dev/src/App.vue +23 -34
- package/dev/src/Autoload.ts +1 -1
- package/dev/src/Dialog.vue +99 -0
- package/dev/src/assets/fonts/Inter/Inter-Regular.ttf +0 -0
- package/dev/src/assets/fonts/Inter/Inter-Regular.woff2 +0 -0
- package/dev/src/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
- package/dev/src/assets/fonts/Inter/Inter-SemiBold.woff2 +0 -0
- package/dev/src/assets/fonts/Inter/inter.scss +17 -0
- package/dev/src/assets/images/next.svg +12 -0
- package/dev/src/assets/images/prev.svg +12 -0
- package/dev/src/assets/images/toTop.svg +12 -0
- package/dev/src/assets/scss/app.scss +1 -1
- package/dev/src/assets/scss/{ldd.scss → editor.scss} +6 -6
- package/dev/src/assets/scss/general.scss +53 -11
- package/dev/src/assets/scss/pdf.scss +137 -1
- package/dev/src/assets/scss/placeholders.scss +226 -0
- package/dev/src/assets/scss/print.scss +1 -1
- package/dev/src/assets/scss/web.scss +32 -1
- package/dev/src/assets/scss/word.scss +1 -1
- package/dev/src/components/BypassLinks.vue +90 -0
- package/dev/src/components/MainNavigation.vue +6 -200
- package/dev/src/components/NavLanguages.vue +57 -0
- package/dev/src/components/PageFooter.vue +11 -52
- package/dev/src/components/PageHeader.vue +27 -135
- package/dev/src/components/PageMain.vue +13 -0
- package/dev/src/components/PrevNext.vue +130 -106
- package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +2 -2
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +21 -21
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +3 -3
- package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +2 -2
- package/dev/src/components/Svg/Close.vue +14 -0
- package/dev/src/entries/main.ts +4 -0
- package/dev/src/entries/pdf.ts +2 -0
- package/dev/src/i18n/index.ts +12 -42
- package/dev/src/i18n/translation.ts +6 -6
- package/dev/src/locales/de.json +7 -13
- package/dev/src/locales/en.json +7 -13
- package/dev/src/router/index.ts +30 -33
- package/dev/src/views/ArticleView.vue +6 -71
- package/dev/src/views/DevView.vue +861 -0
- package/dev/src/views/HomeView.vue +2 -32
- package/dev/src/views/PageNotFound.vue +8 -4
- package/dev/srl.config.json +754 -0
- package/dev/tsconfig.app.json +1 -4
- package/dev/tsconfig.node.json +1 -0
- package/dev/vite.config.ts +4 -13
- package/initTestProject.js +91 -0
- package/jest.config.mjs +200 -0
- package/livingdocs/010.Titles/010.title-h1/ld-conf.json +5 -0
- package/livingdocs/010.Titles/010.title-h1/scss/app.scss +1 -0
- package/livingdocs/010.Titles/010.title-h1/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/010.title-h1/scss/general.scss +5 -0
- package/livingdocs/010.Titles/010.title-h1/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/010.title-h1/title-h1.html +5 -0
- package/livingdocs/010.Titles/020.title-h2/ld-conf.json +10 -0
- package/livingdocs/010.Titles/020.title-h2/properties.json +27 -0
- package/livingdocs/010.Titles/020.title-h2/scss/app.scss +1 -0
- package/livingdocs/010.Titles/020.title-h2/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +21 -0
- package/livingdocs/010.Titles/020.title-h2/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/020.title-h2/title-h2.html +22 -0
- package/livingdocs/010.Titles/030.title-h3/ld-conf.json +10 -0
- package/livingdocs/010.Titles/030.title-h3/properties.json +23 -0
- package/livingdocs/010.Titles/030.title-h3/scss/app.scss +1 -0
- package/livingdocs/010.Titles/030.title-h3/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +21 -0
- package/livingdocs/010.Titles/030.title-h3/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/030.title-h3/title-h3.html +22 -0
- package/livingdocs/010.Titles/040.title-h4/ld-conf.json +10 -0
- package/livingdocs/010.Titles/040.title-h4/properties.json +19 -0
- package/livingdocs/010.Titles/040.title-h4/scss/app.scss +1 -0
- package/livingdocs/010.Titles/040.title-h4/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +21 -0
- package/livingdocs/010.Titles/040.title-h4/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/040.title-h4/title-h4.html +22 -0
- package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -0
- package/livingdocs/010.Titles/050.title-h5/properties.json +15 -0
- package/livingdocs/010.Titles/050.title-h5/scss/app.scss +1 -0
- package/livingdocs/010.Titles/050.title-h5/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/050.title-h5/scss/general.scss +6 -0
- package/livingdocs/010.Titles/050.title-h5/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/050.title-h5/title-h5.html +5 -0
- package/livingdocs/010.Titles/060.title-h6/ld-conf.json +5 -0
- package/livingdocs/010.Titles/060.title-h6/scss/app.scss +1 -0
- package/livingdocs/010.Titles/060.title-h6/scss/editor.scss +1 -0
- package/livingdocs/010.Titles/060.title-h6/scss/general.scss +6 -0
- package/livingdocs/010.Titles/060.title-h6/scss/xbrl.scss +1 -0
- package/livingdocs/010.Titles/060.title-h6/title-h6.html +5 -0
- package/livingdocs/020.Text/010.lead/ld-conf.json +10 -0
- package/livingdocs/020.Text/010.lead/lead.html +7 -0
- package/livingdocs/020.Text/010.lead/scss/app.scss +1 -0
- package/livingdocs/020.Text/010.lead/scss/editor.scss +1 -0
- package/livingdocs/020.Text/010.lead/scss/general.scss +6 -0
- package/livingdocs/020.Text/010.lead/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/020.paragraph/ld-conf.json +5 -0
- package/livingdocs/{Text/paragraph → 020.Text/020.paragraph}/paragraph.html +2 -13
- package/livingdocs/020.Text/020.paragraph/scss/app.scss +1 -0
- package/livingdocs/020.Text/020.paragraph/scss/editor.scss +1 -0
- package/livingdocs/020.Text/020.paragraph/scss/general.scss +6 -0
- package/livingdocs/020.Text/020.paragraph/scss/web.scss +0 -0
- package/livingdocs/020.Text/020.paragraph/scss/word.scss +0 -0
- package/livingdocs/020.Text/020.paragraph/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/030.paragraph-strong/ld-conf.json +5 -0
- package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +16 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/app.scss +1 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/editor.scss +0 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/general.scss +5 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/pdf.scss +1 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/web.scss +0 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/word.scss +0 -0
- package/livingdocs/020.Text/030.paragraph-strong/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/040.link/ld-conf.json +15 -0
- package/livingdocs/020.Text/040.link/link.html +12 -0
- package/livingdocs/020.Text/040.link/scss/app.scss +1 -0
- package/livingdocs/020.Text/040.link/scss/editor.scss +1 -0
- package/livingdocs/020.Text/040.link/scss/general.scss +6 -0
- package/livingdocs/020.Text/040.link/scss/pdf.scss +0 -0
- package/livingdocs/020.Text/040.link/scss/web.scss +0 -0
- package/livingdocs/020.Text/040.link/scss/word.scss +0 -0
- package/livingdocs/020.Text/040.link/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/050.quote/ld-conf.json +5 -0
- package/livingdocs/020.Text/050.quote/quote.html +15 -0
- package/livingdocs/020.Text/050.quote/scss/app.scss +1 -0
- package/livingdocs/020.Text/050.quote/scss/editor.scss +1 -0
- package/livingdocs/020.Text/050.quote/scss/general.scss +17 -0
- package/livingdocs/020.Text/050.quote/scss/pdf.scss +0 -0
- package/livingdocs/020.Text/050.quote/scss/web.scss +0 -0
- package/livingdocs/020.Text/050.quote/scss/word.scss +0 -0
- package/livingdocs/020.Text/050.quote/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/060.quote-with-portrait/ld-conf.json +11 -0
- package/livingdocs/020.Text/060.quote-with-portrait/quote-with-portrait.html +18 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/app.scss +1 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/editor.scss +1 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +17 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +29 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +24 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/word.scss +0 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/070.footnote-container/footnote-container.html +6 -0
- package/livingdocs/020.Text/070.footnote-container/ld-conf.json +18 -0
- package/livingdocs/020.Text/070.footnote-container/scss/app.scss +1 -0
- package/livingdocs/020.Text/070.footnote-container/scss/editor.scss +1 -0
- package/livingdocs/020.Text/070.footnote-container/scss/general.scss +5 -0
- package/livingdocs/020.Text/070.footnote-container/scss/pdf.scss +0 -0
- package/livingdocs/020.Text/070.footnote-container/scss/web.scss +6 -0
- package/livingdocs/020.Text/070.footnote-container/scss/word.scss +0 -0
- package/livingdocs/020.Text/070.footnote-container/scss/xbrl.scss +1 -0
- package/livingdocs/020.Text/080.footnote-item/footnote-item.html +6 -0
- package/livingdocs/020.Text/080.footnote-item/ld-conf.json +5 -0
- package/livingdocs/020.Text/080.footnote-item/scss/app.scss +1 -0
- package/livingdocs/020.Text/080.footnote-item/scss/editor.scss +1 -0
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +28 -0
- package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +0 -0
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +0 -0
- package/livingdocs/020.Text/080.footnote-item/scss/word.scss +0 -0
- package/livingdocs/020.Text/080.footnote-item/scss/xbrl.scss +1 -0
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +18 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/app.scss +1 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/editor.scss +1 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +12 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +0 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +0 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/word.scss +0 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/xbrl.scss +1 -0
- package/livingdocs/030.Lists/010.unordered-list/unordered-list.html +6 -0
- package/livingdocs/030.Lists/020.ordered-list/ld-conf.json +18 -0
- package/livingdocs/030.Lists/020.ordered-list/ordered-list.html +6 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/app.scss +1 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/editor.scss +1 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +9 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +0 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/web.scss +0 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/word.scss +0 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/xbrl.scss +1 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/alphanumeric-list.html +6 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/ld-conf.json +18 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/app.scss +1 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/editor.scss +1 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +9 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +0 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/web.scss +0 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/word.scss +0 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/xbrl.scss +1 -0
- package/livingdocs/030.Lists/040.list-item/ld-conf.json +5 -0
- package/livingdocs/030.Lists/040.list-item/list-item.html +5 -0
- package/livingdocs/030.Lists/040.list-item/scss/app.scss +1 -0
- package/livingdocs/030.Lists/040.list-item/scss/editor.scss +1 -0
- package/livingdocs/030.Lists/040.list-item/scss/general.scss +35 -0
- package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +0 -0
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +0 -0
- package/livingdocs/030.Lists/040.list-item/scss/word.scss +0 -0
- package/livingdocs/030.Lists/040.list-item/scss/xbrl.scss +1 -0
- package/livingdocs/040.Media/010.table/ld-conf.json +15 -0
- package/livingdocs/040.Media/010.table/properties.json +32 -0
- package/livingdocs/040.Media/010.table/scss/app.scss +1 -0
- package/livingdocs/040.Media/010.table/scss/editor.scss +1 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +328 -0
- package/livingdocs/040.Media/010.table/scss/pdf.scss +34 -0
- package/livingdocs/040.Media/010.table/scss/web.scss +14 -0
- package/livingdocs/040.Media/010.table/scss/word.scss +0 -0
- package/livingdocs/040.Media/010.table/scss/xbrl.scss +1 -0
- package/livingdocs/040.Media/010.table/table.html +9 -0
- package/livingdocs/040.Media/020.image/image.html +40 -0
- package/livingdocs/040.Media/020.image/ld-conf.json +25 -0
- package/livingdocs/040.Media/020.image/scss/app.scss +1 -0
- package/livingdocs/040.Media/020.image/scss/editor.scss +1 -0
- package/livingdocs/040.Media/020.image/scss/general.scss +17 -0
- package/livingdocs/040.Media/020.image/scss/pdf.scss +26 -0
- package/livingdocs/040.Media/020.image/scss/web.scss +1 -0
- package/livingdocs/040.Media/020.image/scss/word.scss +0 -0
- package/livingdocs/040.Media/020.image/scss/xbrl.scss +5 -0
- package/livingdocs/040.Media/030.video/ld-conf.json +19 -0
- package/livingdocs/040.Media/030.video/scss/app.scss +1 -0
- package/livingdocs/040.Media/030.video/scss/editor.scss +1 -0
- package/livingdocs/040.Media/030.video/scss/general.scss +5 -0
- package/livingdocs/040.Media/030.video/scss/pdf.scss +0 -0
- package/livingdocs/040.Media/030.video/scss/web.scss +12 -0
- package/livingdocs/040.Media/030.video/scss/word.scss +0 -0
- package/livingdocs/040.Media/030.video/scss/xbrl.scss +5 -0
- package/livingdocs/040.Media/030.video/video.html +59 -0
- package/livingdocs/040.Media/040.interactive-element/interactive-element.html +27 -0
- package/livingdocs/040.Media/040.interactive-element/ld-conf.json +6 -0
- package/livingdocs/050.Hero-and-Slider/.gitkeep +0 -0
- package/livingdocs/060.Buttons/.gitkeep +0 -0
- package/livingdocs/070.Container/010.aside-content-container/aside-content-container.html +10 -0
- package/livingdocs/070.Container/010.aside-content-container/ld-conf.json +20 -0
- package/livingdocs/070.Container/010.aside-content-container/properties.json +7 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/app.scss +1 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/editor.scss +1 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/general.scss +1 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/pdf.scss +3 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/web.scss +1 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/word.scss +0 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/xbrl.scss +1 -0
- package/livingdocs/070.Container/020.columns-container/columns-container.html +22 -0
- package/livingdocs/070.Container/020.columns-container/ld-conf.json +17 -0
- package/livingdocs/080.CV/010.cv/cv.html +40 -0
- package/livingdocs/080.CV/010.cv/ld-conf.json +11 -0
- package/livingdocs/080.CV/020.cv-time-span/cv-time-span.html +13 -0
- package/livingdocs/080.CV/020.cv-time-span/ld-conf.json +4 -0
- package/livingdocs/090.Signatures/010.signature-container/ld-conf.json +18 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/app.scss +1 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/editor.scss +1 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/general.scss +5 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +0 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/web.scss +6 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/word.scss +0 -0
- package/livingdocs/090.Signatures/010.signature-container/scss/xbrl.scss +1 -0
- package/livingdocs/090.Signatures/010.signature-container/signature-container.html +6 -0
- package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +11 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/app.scss +1 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/editor.scss +1 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/general.scss +9 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +0 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/web.scss +5 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/word.scss +0 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/xbrl.scss +1 -0
- package/livingdocs/090.Signatures/020.signature-item/signature-item.html +9 -0
- package/livingdocs/100.Misc/010.anchor/anchor.html +8 -0
- package/livingdocs/100.Misc/010.anchor/ld-conf.json +4 -0
- package/livingdocs/100.Misc/020.accordion/accordion.html +8 -0
- package/livingdocs/100.Misc/020.accordion/ld-conf.json +26 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/ld-conf.json +4 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +1 -0
- package/livingdocs/110.PDF/020.pdf-column-container/ld-conf.json +4 -0
- package/livingdocs/110.PDF/020.pdf-column-container/pdf-column-container.html +5 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/ld-conf.json +4 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +7 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/ld-conf.json +4 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +7 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/ld-conf.json +17 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/pdf-chapter-navigation.html +10 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +6 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/pdf-chapter-navigation-item.html +7 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/properties.json +7 -0
- package/livingdocs/110.PDF/070.pdf-cover/ld-conf.json +25 -0
- package/livingdocs/110.PDF/070.pdf-cover/pdf-cover.html +26 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +15 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/pdf-toc-page.html +8 -0
- package/livingdocs/{PDF_only/pdf-toc-page → 110.PDF/080.pdf-toc-page}/properties.json +11 -3
- package/livingdocs/110.PDF/090.pdf-toc-item-title/ld-conf.json +5 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/pdf-toc-item-title.html +3 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/ld-conf.json +14 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +6 -0
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +5 -0
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +4 -0
- package/livingdocs/120.Startpage/.gitkeep +0 -0
- package/livingdocs/999.Properties/alignment/properties.json +36 -0
- package/livingdocs/{Text/quote-with-portrait → 999.Properties/hide-quote-characters}/properties.json +0 -5
- package/livingdocs/999.Properties/pdf-spacer/properties.json +43 -0
- package/livingdocs/999.Properties/width/properties.json +32 -0
- package/package.json +8 -10
- package/scripts/beaver.js +16 -15
- package/scripts/build.d.ts +4 -7
- package/scripts/build.js +345 -320
- package/scripts/components.js +66 -71
- package/scripts/config.d.ts +8 -0
- package/scripts/config.js +52 -1
- package/scripts/doPublish.js +12 -0
- package/scripts/folders.d.ts +43 -0
- package/scripts/folders.js +46 -0
- package/scripts/init.js +28 -8
- package/scripts/ldd/LivingdocsDesignValidator.d.ts +61 -0
- package/scripts/ldd/LivingdocsDesignValidator.js +296 -0
- package/scripts/ldd/__tests__/LivingdocsDesignValidation.test.mjs +273 -0
- package/scripts/ldd/mapLdd.d.ts +1 -0
- package/scripts/ldd/mapLdd.js +204 -0
- package/scripts/prepare.d.ts +2 -0
- package/scripts/prepare.js +66 -0
- package/scripts/preparePublish.d.ts +1 -1
- package/scripts/preparePublish.js +34 -1
- package/scripts/renamePackage.d.ts +1 -1
- package/scripts/utils.d.ts +45 -30
- package/scripts/utils.js +112 -55
- package/srl/components/Srl/Aria/TabChain.vue +100 -0
- package/srl/components/Srl/Article/Autoload.vue +41 -0
- package/srl/components/Srl/Article/DialogButton.vue +55 -0
- package/srl/components/Srl/Article/Root.vue +76 -0
- package/srl/components/Srl/Menu/Item/Content/Image.vue +12 -0
- package/srl/components/Srl/Menu/Item/Content/ImageAfter.vue +13 -0
- package/srl/components/Srl/Menu/Item/Content/ImageBefore.vue +13 -0
- package/srl/components/Srl/Menu/Item/Content/Text.vue +9 -0
- package/srl/components/Srl/Menu/Item/Content.vue +23 -0
- package/srl/components/Srl/Menu/Item.vue +208 -0
- package/srl/components/Srl/Menu/List.vue +184 -0
- package/srl/components/Srl/Page/App.vue +65 -0
- package/srl/components/Srl/Page/Dialog.vue +71 -0
- package/srl/composables/article.ts +24 -0
- package/srl/composables/articles.ts +41 -0
- package/srl/composables/config.ts +165 -0
- package/srl/composables/downloads.ts +46 -0
- package/srl/composables/index.ts +34 -0
- package/srl/composables/locale.ts +8 -0
- package/srl/composables/menu.ts +101 -0
- package/srl/composables/root.ts +5 -0
- package/srl/composables/search.ts +108 -0
- package/srl/composables/settings.ts +9 -0
- package/srl/composables/viewPort.ts +78 -0
- package/srl/imports/app.scss +0 -0
- package/srl/imports/ldd.scss +0 -0
- package/srl/imports/pdf.scss +0 -0
- package/srl/imports/word.scss +0 -0
- package/srl/imports/xbrl.scss +0 -0
- package/srl/plugins/asyncLdComponent.ts +2 -0
- package/srl/plugins/initProject.ts +19 -0
- package/srl/plugins/viteSrlPlugin.ts +214 -0
- package/srl/plugins/vueSrlPlugin.ts +23 -0
- package/srl/scss/config.scss +7 -0
- package/{scss → srl/scss}/core-styles.scss +1 -0
- package/{scss → srl/scss}/grid/functions.scss +20 -0
- package/{scss → srl/scss}/grid/mixins.scss +10 -152
- package/{scss → srl/scss}/grid/variables.scss +1 -0
- package/srl/scss/helpers/functions.scss +0 -0
- package/{scss → srl/scss}/helpers/mixins.scss +0 -33
- package/{scss → srl/scss}/typography/mixins.scss +53 -13
- package/srl/scss/xbrl-core-styles.scss +47 -0
- package/{dev/nswow → srl/srl}/ArticleAutoloader.ts +22 -22
- package/{dev/nswow → srl/srl}/ArticleLoader.ts +25 -18
- package/srl/srl/Awesomizr.js +682 -0
- package/srl/srl/colors.scss +3 -0
- package/srl/srl/config.scss +7 -0
- package/srl/srl/core-styles.scss +2 -0
- package/srl/srl/fonts.scss +2 -0
- package/srl/srl/grid.scss +2 -0
- package/srl/srl/helpers.scss +2 -0
- package/srl/srl/meta.scss +2 -0
- package/srl/srl/pdf.scss +2 -0
- package/srl/srl/spacer.scss +2 -0
- package/srl/srl/system.scss +2 -0
- package/srl/srl/typography.scss +3 -0
- package/srl/types/components.d.ts +17 -0
- package/srl/types/nswow.d.ts +121 -0
- package/srl/utils/camelCase.ts +11 -0
- package/srl/utils/html.ts +82 -0
- package/srl/utils/index.ts +5 -0
- package/srl/utils/uri.ts +52 -0
- package/dev/ldd.html +0 -7
- package/dev/livingdocs/Media/image/app.scss +0 -25
- package/dev/livingdocs/Media/image/general.scss +0 -11
- package/dev/livingdocs/Media/image/image.html +0 -46
- package/dev/livingdocs/Media/image/ldd.scss +0 -1
- package/dev/livingdocs/Media/image/pdf.scss +0 -1
- package/dev/livingdocs/Media/image/print.scss +0 -7
- package/dev/livingdocs/Media/image/properties.json +0 -41
- package/dev/livingdocs/Media/image/word.scss +0 -1
- package/dev/livingdocs/Properties/grid/app.scss +0 -1
- package/dev/livingdocs/Properties/grid/general.scss +0 -95
- package/dev/livingdocs/Properties/grid/ldd.scss +0 -1
- package/dev/livingdocs/Properties/grid/pdf.scss +0 -1
- package/dev/livingdocs/Properties/grid/print.scss +0 -94
- package/dev/livingdocs/Properties/grid/properties.json +0 -68
- package/dev/livingdocs/Properties/grid/web.scss +0 -98
- package/dev/livingdocs/Properties/grid/word.scss +0 -1
- package/dev/livingdocs/Text/paragraph/general.scss +0 -9
- package/dev/livingdocs/Text/paragraph/paragraph.html +0 -22
- package/dev/livingdocs/Titles/title-h1/general.scss +0 -10
- package/dev/livingdocs/Titles/title-h1/title-h1.html +0 -16
- package/dev/livingdocs/Titles/title-h2/app.scss +0 -1
- package/dev/livingdocs/Titles/title-h2/general.scss +0 -13
- package/dev/livingdocs/Titles/title-h2/ldd.scss +0 -1
- package/dev/livingdocs/Titles/title-h2/pdf.scss +0 -1
- package/dev/livingdocs/Titles/title-h2/print.scss +0 -36
- package/dev/livingdocs/Titles/title-h2/title-h2.html +0 -24
- package/dev/livingdocs/Titles/title-h2/web.scss +0 -27
- package/dev/livingdocs/Titles/title-h2/word.scss +0 -1
- package/dev/livingdocs/Titles/title-h3/app.scss +0 -1
- package/dev/livingdocs/Titles/title-h3/general.scss +0 -13
- package/dev/livingdocs/Titles/title-h3/ldd.scss +0 -1
- package/dev/livingdocs/Titles/title-h3/pdf.scss +0 -1
- package/dev/livingdocs/Titles/title-h3/print.scss +0 -34
- package/dev/livingdocs/Titles/title-h3/title-h3.html +0 -24
- package/dev/livingdocs/Titles/title-h3/web.scss +0 -27
- package/dev/livingdocs/Titles/title-h3/word.scss +0 -1
- package/dev/livingdocs/Titles/title-h4/app.scss +0 -1
- package/dev/livingdocs/Titles/title-h4/general.scss +0 -13
- package/dev/livingdocs/Titles/title-h4/ldd.scss +0 -1
- package/dev/livingdocs/Titles/title-h4/pdf.scss +0 -1
- package/dev/livingdocs/Titles/title-h4/print.scss +0 -34
- package/dev/livingdocs/Titles/title-h4/title-h4.html +0 -24
- package/dev/livingdocs/Titles/title-h4/web.scss +0 -27
- package/dev/livingdocs/Titles/title-h4/word.scss +0 -1
- package/dev/livingdocs/Titles/title-h5/general.scss +0 -10
- package/dev/livingdocs/Titles/title-h5/title-h5.html +0 -16
- package/dev/livingdocs/Titles/title-h6/general.scss +0 -10
- package/dev/livingdocs/Titles/title-h6/title-h6.html +0 -16
- package/dev/nswow/colors.scss +0 -3
- package/dev/nswow/config.scss +0 -13
- package/dev/nswow/core-styles.scss +0 -2
- package/dev/nswow/fonts.scss +0 -2
- package/dev/nswow/grid.scss +0 -2
- package/dev/nswow/helpers.scss +0 -2
- package/dev/nswow/meta.scss +0 -2
- package/dev/nswow/spacer.scss +0 -2
- package/dev/nswow/system.scss +0 -2
- package/dev/nswow/typography.scss +0 -3
- package/dev/nswow.config.json +0 -293
- package/dev/pdf.ts +0 -1
- package/dev/src/components/LanguageSwitch.vue +0 -100
- package/dev/src/components/MenuItem/MenuArticle.vue +0 -15
- package/dev/src/components/MenuItem/MenuEntry.vue +0 -26
- package/dev/src/components/MenuItem/MenuExternal.vue +0 -28
- package/dev/src/components/MenuItem/index.ts +0 -5
- package/dev/src/components/PageModal.vue +0 -95
- package/dev/src/components/ScrollToTop.vue +0 -63
- package/dev/src/composables/config.ts +0 -48
- package/dev/src/main.ts +0 -16
- package/dev/src/types/nswow.d.ts +0 -73
- package/dev/src/views/DownloadsView.vue +0 -88
- package/dev/src/views/SearchView.vue +0 -126
- package/dev/word.ts +0 -1
- package/livingdocs/Buttons/button/app.scss +0 -1
- package/livingdocs/Buttons/button/button.html +0 -18
- package/livingdocs/Buttons/button/general.scss +0 -33
- package/livingdocs/Buttons/button/ldd.scss +0 -1
- package/livingdocs/Buttons/button/pdf.scss +0 -1
- package/livingdocs/Buttons/button/word.scss +0 -1
- package/livingdocs/Buttons/button-container/app.scss +0 -1
- package/livingdocs/Buttons/button-container/button-container.html +0 -31
- package/livingdocs/Buttons/button-container/general.scss +0 -12
- package/livingdocs/Buttons/button-container/ldd.scss +0 -1
- package/livingdocs/Buttons/button-container/pdf.scss +0 -3
- package/livingdocs/Buttons/button-container/properties.json +0 -19
- package/livingdocs/Buttons/button-container/word.scss +0 -3
- package/livingdocs/CV/cv-timeline/app.scss +0 -1
- package/livingdocs/CV/cv-timeline/cv-timeline.html +0 -19
- package/livingdocs/CV/cv-timeline/general.scss +0 -1
- package/livingdocs/CV/cv-timeline/ldd.scss +0 -1
- package/livingdocs/CV/cv-timeline/pdf.scss +0 -1
- package/livingdocs/CV/cv-timeline/print.scss +0 -35
- package/livingdocs/CV/cv-timeline/web.scss +0 -27
- package/livingdocs/CV/cv-timeline/word.scss +0 -1
- package/livingdocs/Container/column-container/column-container.html +0 -44
- package/livingdocs/Container/column-container/general.scss +0 -105
- package/livingdocs/Container/column-container/properties.json +0 -83
- package/livingdocs/Lists/alphanumeric-list-group/alphanumeric-list-group.html +0 -25
- package/livingdocs/Lists/alphanumeric-list-group/app.scss +0 -1
- package/livingdocs/Lists/alphanumeric-list-group/general.scss +0 -5
- package/livingdocs/Lists/alphanumeric-list-group/ldd.scss +0 -1
- package/livingdocs/Lists/alphanumeric-list-group/pdf.scss +0 -1
- package/livingdocs/Lists/alphanumeric-list-group/word.scss +0 -1
- package/livingdocs/Lists/list-item/app.scss +0 -1
- package/livingdocs/Lists/list-item/general.scss +0 -4
- package/livingdocs/Lists/list-item/ldd.scss +0 -1
- package/livingdocs/Lists/list-item/list-item.html +0 -17
- package/livingdocs/Lists/list-item/pdf.scss +0 -1
- package/livingdocs/Lists/list-item/word.scss +0 -1
- package/livingdocs/Lists/ordered-list-group/app.scss +0 -1
- package/livingdocs/Lists/ordered-list-group/general.scss +0 -5
- package/livingdocs/Lists/ordered-list-group/ldd.scss +0 -1
- package/livingdocs/Lists/ordered-list-group/ordered-list-group.html +0 -25
- package/livingdocs/Lists/ordered-list-group/pdf.scss +0 -1
- package/livingdocs/Lists/ordered-list-group/word.scss +0 -1
- package/livingdocs/Lists/unordered-list-group/app.scss +0 -1
- package/livingdocs/Lists/unordered-list-group/general.scss +0 -5
- package/livingdocs/Lists/unordered-list-group/ldd.scss +0 -1
- package/livingdocs/Lists/unordered-list-group/pdf.scss +0 -1
- package/livingdocs/Lists/unordered-list-group/unordered-list-group.html +0 -25
- package/livingdocs/Lists/unordered-list-group/word.scss +0 -1
- package/livingdocs/Media/chart/app.scss +0 -19
- package/livingdocs/Media/chart/chart.html +0 -29
- package/livingdocs/Media/chart/general.scss +0 -11
- package/livingdocs/Media/chart/ldd.scss +0 -1
- package/livingdocs/Media/chart/pdf.scss +0 -9
- package/livingdocs/Media/chart/properties.json +0 -41
- package/livingdocs/Media/chart/word.scss +0 -1
- package/livingdocs/Media/graphic/app.scss +0 -1
- package/livingdocs/Media/graphic/general.scss +0 -18
- package/livingdocs/Media/graphic/graphic.html +0 -29
- package/livingdocs/Media/graphic/ldd.scss +0 -1
- package/livingdocs/Media/graphic/pdf.scss +0 -1
- package/livingdocs/Media/graphic/properties.json +0 -36
- package/livingdocs/Media/graphic/word.scss +0 -1
- package/livingdocs/Media/image/app.scss +0 -25
- package/livingdocs/Media/image/general.scss +0 -11
- package/livingdocs/Media/image/image.html +0 -55
- package/livingdocs/Media/image/ldd.scss +0 -1
- package/livingdocs/Media/image/pdf.scss +0 -1
- package/livingdocs/Media/image/print.scss +0 -7
- package/livingdocs/Media/image/properties.json +0 -41
- package/livingdocs/Media/image/word.scss +0 -1
- package/livingdocs/Media/nswow-table/app.scss +0 -2
- package/livingdocs/Media/nswow-table/app.ts +0 -35
- package/livingdocs/Media/nswow-table/general.scss +0 -281
- package/livingdocs/Media/nswow-table/ldd.scss +0 -2
- package/livingdocs/Media/nswow-table/nswow-table.html +0 -30
- package/livingdocs/Media/nswow-table/pdf.scss +0 -8
- package/livingdocs/Media/nswow-table/properties.json +0 -66
- package/livingdocs/Media/nswow-table/web.scss +0 -23
- package/livingdocs/Media/nswow-table/word.scss +0 -2
- package/livingdocs/Media/video/app.scss +0 -1
- package/livingdocs/Media/video/general.scss +0 -7
- package/livingdocs/Media/video/ldd.scss +0 -1
- package/livingdocs/Media/video/pdf.scss +0 -1
- package/livingdocs/Media/video/print.scss +0 -5
- package/livingdocs/Media/video/properties.json +0 -41
- package/livingdocs/Media/video/video.html +0 -26
- package/livingdocs/Media/video/word.scss +0 -1
- package/livingdocs/Misc/accordion/accordion.html +0 -56
- package/livingdocs/Misc/accordion/app.scss +0 -63
- package/livingdocs/Misc/accordion/app.ts +0 -10
- package/livingdocs/Misc/accordion/general.scss +0 -44
- package/livingdocs/Misc/accordion/ldd.scss +0 -36
- package/livingdocs/Misc/accordion/pdf.scss +0 -39
- package/livingdocs/Misc/accordion/word.scss +0 -39
- package/livingdocs/Misc/anchor/anchor.html +0 -15
- package/livingdocs/Misc/anchor/app.scss +0 -10
- package/livingdocs/Misc/anchor/app.ts +0 -11
- package/livingdocs/Misc/anchor/general.scss +0 -1
- package/livingdocs/Misc/anchor/pdf.scss +0 -1
- package/livingdocs/Misc/anchor/print.scss +0 -3
- package/livingdocs/Misc/anchor/word.scss +0 -1
- package/livingdocs/Misc/spacer/app.scss +0 -1
- package/livingdocs/Misc/spacer/general.scss +0 -8
- package/livingdocs/Misc/spacer/ldd.scss +0 -1
- package/livingdocs/Misc/spacer/pdf.scss +0 -1
- package/livingdocs/Misc/spacer/print.scss +0 -18
- package/livingdocs/Misc/spacer/properties.json +0 -52
- package/livingdocs/Misc/spacer/spacer.html +0 -12
- package/livingdocs/Misc/spacer/web.scss +0 -18
- package/livingdocs/Misc/spacer/word.scss +0 -1
- package/livingdocs/PDF_only/pdf-cover/ldd.scss +0 -42
- package/livingdocs/PDF_only/pdf-cover/pdf-cover.html +0 -29
- package/livingdocs/PDF_only/pdf-cover/pdf.scss +0 -1
- package/livingdocs/PDF_only/pdf-cover/word.scss +0 -1
- package/livingdocs/PDF_only/pdf-cover-chapter/ldd.scss +0 -19
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf-chapter-cover.html +0 -18
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf.scss +0 -1
- package/livingdocs/PDF_only/pdf-cover-chapter/print.scss +0 -19
- package/livingdocs/PDF_only/pdf-cover-chapter/word.scss +0 -1
- package/livingdocs/PDF_only/pdf-pagebreak/general.scss +0 -4
- package/livingdocs/PDF_only/pdf-pagebreak/ldd.scss +0 -5
- package/livingdocs/PDF_only/pdf-pagebreak/pdf-pagebreak.html +0 -8
- package/livingdocs/PDF_only/pdf-publication-title/general.scss +0 -5
- package/livingdocs/PDF_only/pdf-publication-title/pdf-publication-title.html +0 -15
- package/livingdocs/PDF_only/pdf-toc-item/general.scss +0 -41
- package/livingdocs/PDF_only/pdf-toc-item/pdf-toc-item.html +0 -33
- package/livingdocs/PDF_only/pdf-toc-item-blank/general.scss +0 -5
- package/livingdocs/PDF_only/pdf-toc-item-blank/pdf-toc-item-blank.html +0 -11
- package/livingdocs/PDF_only/pdf-toc-item-title/general.scss +0 -5
- package/livingdocs/PDF_only/pdf-toc-item-title/pdf-toc-item-title.html +0 -11
- package/livingdocs/PDF_only/pdf-toc-page/app.scss +0 -1
- package/livingdocs/PDF_only/pdf-toc-page/general.scss +0 -1
- package/livingdocs/PDF_only/pdf-toc-page/ldd.scss +0 -1
- package/livingdocs/PDF_only/pdf-toc-page/pdf-toc-page.html +0 -33
- package/livingdocs/PDF_only/pdf-toc-page/pdf.scss +0 -1
- package/livingdocs/PDF_only/pdf-toc-page/word.scss +0 -1
- package/livingdocs/PDF_only/pdf-video-link/ldd.scss +0 -16
- package/livingdocs/PDF_only/pdf-video-link/pdf-video-link.html +0 -41
- package/livingdocs/PDF_only/pdf-video-link/pdf.scss +0 -1
- package/livingdocs/PDF_only/pdf-video-link/print.scss +0 -12
- package/livingdocs/PDF_only/pdf-video-link/word.scss +0 -1
- package/livingdocs/Properties/grid/app.scss +0 -1
- package/livingdocs/Properties/grid/general.scss +0 -95
- package/livingdocs/Properties/grid/ldd.scss +0 -1
- package/livingdocs/Properties/grid/pdf.scss +0 -1
- package/livingdocs/Properties/grid/print.scss +0 -94
- package/livingdocs/Properties/grid/properties.json +0 -68
- package/livingdocs/Properties/grid/web.scss +0 -98
- package/livingdocs/Properties/grid/word.scss +0 -1
- package/livingdocs/Signatures/signature-container/app.scss +0 -1
- package/livingdocs/Signatures/signature-container/general.scss +0 -7
- package/livingdocs/Signatures/signature-container/ldd.scss +0 -1
- package/livingdocs/Signatures/signature-container/pdf.scss +0 -1
- package/livingdocs/Signatures/signature-container/signature-container.html +0 -30
- package/livingdocs/Signatures/signature-container/word.scss +0 -1
- package/livingdocs/Signatures/signature-item/app.scss +0 -1
- package/livingdocs/Signatures/signature-item/general.scss +0 -53
- package/livingdocs/Signatures/signature-item/ldd.scss +0 -1
- package/livingdocs/Signatures/signature-item/pdf.scss +0 -1
- package/livingdocs/Signatures/signature-item/signature-item.html +0 -23
- package/livingdocs/Signatures/signature-item/word.scss +0 -1
- package/livingdocs/Text/footnote/app.scss +0 -1
- package/livingdocs/Text/footnote/footnote.html +0 -14
- package/livingdocs/Text/footnote/general.scss +0 -12
- package/livingdocs/Text/footnote/ldd.scss +0 -1
- package/livingdocs/Text/footnote/pdf.scss +0 -1
- package/livingdocs/Text/footnote/print.scss +0 -36
- package/livingdocs/Text/footnote/web.scss +0 -27
- package/livingdocs/Text/footnote/word.scss +0 -1
- package/livingdocs/Text/lead/general.scss +0 -9
- package/livingdocs/Text/lead/lead.html +0 -23
- package/livingdocs/Text/paragraph/general.scss +0 -9
- package/livingdocs/Text/quote/general.scss +0 -43
- package/livingdocs/Text/quote/quote.html +0 -29
- package/livingdocs/Text/quote-with-portrait/general.scss +0 -81
- package/livingdocs/Text/quote-with-portrait/quote-with-portrait.html +0 -49
- package/livingdocs/Titles/title-h1/general.scss +0 -10
- package/livingdocs/Titles/title-h1/title-h1.html +0 -16
- package/livingdocs/Titles/title-h2/app.scss +0 -1
- package/livingdocs/Titles/title-h2/general.scss +0 -13
- package/livingdocs/Titles/title-h2/ldd.scss +0 -1
- package/livingdocs/Titles/title-h2/pdf.scss +0 -1
- package/livingdocs/Titles/title-h2/print.scss +0 -36
- package/livingdocs/Titles/title-h2/title-h2.html +0 -26
- package/livingdocs/Titles/title-h2/web.scss +0 -27
- package/livingdocs/Titles/title-h2/word.scss +0 -1
- package/livingdocs/Titles/title-h3/app.scss +0 -1
- package/livingdocs/Titles/title-h3/general.scss +0 -13
- package/livingdocs/Titles/title-h3/ldd.scss +0 -1
- package/livingdocs/Titles/title-h3/pdf.scss +0 -1
- package/livingdocs/Titles/title-h3/print.scss +0 -34
- package/livingdocs/Titles/title-h3/title-h3.html +0 -26
- package/livingdocs/Titles/title-h3/web.scss +0 -27
- package/livingdocs/Titles/title-h3/word.scss +0 -1
- package/livingdocs/Titles/title-h4/app.scss +0 -1
- package/livingdocs/Titles/title-h4/general.scss +0 -13
- package/livingdocs/Titles/title-h4/ldd.scss +0 -1
- package/livingdocs/Titles/title-h4/pdf.scss +0 -1
- package/livingdocs/Titles/title-h4/print.scss +0 -34
- package/livingdocs/Titles/title-h4/title-h4.html +0 -26
- package/livingdocs/Titles/title-h4/web.scss +0 -27
- package/livingdocs/Titles/title-h4/word.scss +0 -1
- package/livingdocs/Titles/title-h5/general.scss +0 -10
- package/livingdocs/Titles/title-h5/title-h5.html +0 -16
- package/livingdocs/Titles/title-h6/general.scss +0 -10
- package/livingdocs/Titles/title-h6/title-h6.html +0 -16
- package/preparePublish.cjs +0 -95
- package/scripts/migrate-livingdocs-build/LICENSE +0 -21
- package/scripts/migrate-livingdocs-build/bin/build.d.ts +0 -8
- package/scripts/migrate-livingdocs-build/bin/build.js +0 -53
- package/scripts/migrate-livingdocs-build/bin/migrate.d.ts +0 -2
- package/scripts/migrate-livingdocs-build/bin/migrate.js +0 -43
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts +0 -9
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts.map +0 -1
- package/scripts/migrate-livingdocs-build/dev/build/v1.js +0 -51
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts +0 -2
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts.map +0 -1
- package/scripts/migrate-livingdocs-build/dev/build/v2.js +0 -44
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts +0 -2
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts.map +0 -1
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.js +0 -39
- package/scripts/migrate-livingdocs-build/dev/build.d.ts +0 -9
- package/scripts/migrate-livingdocs-build/dev/build.js +0 -7
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.d.ts +0 -20
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.js +0 -18
- package/scripts/migrate-livingdocs-build/dev/configuration.d.ts +0 -2
- package/scripts/migrate-livingdocs-build/dev/configuration.js +0 -34
- package/scripts/migrate-livingdocs-build/dev/lib.d.ts +0 -33
- package/scripts/migrate-livingdocs-build/dev/lib.js +0 -251
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.d.ts +0 -9
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.js +0 -80
- package/scripts/migrate-livingdocs-build/dev/logger.d.ts +0 -2
- package/scripts/migrate-livingdocs-build/dev/logger.js +0 -16
- package/scripts/migrate-livingdocs-build/dev/migrate.d.ts +0 -22
- package/scripts/migrate-livingdocs-build/dev/migrate.js +0 -241
- package/scripts/migrate-livingdocs-build/readme.md +0 -62
- package/scripts/vite.d.ts +0 -10
- package/scripts/vite.js +0 -58
- package/scss/config.scss +0 -7
- package/tags.txt +0 -1
- /package/dev/livingdocs/{Media/image/web.scss → .gitkeep} +0 -0
- /package/{dev/public/.keep → livingdocs/010.Titles/010.title-h1/scss/pdf.scss} +0 -0
- /package/livingdocs/{Lists/alphanumeric-list-group → 010.Titles/010.title-h1/scss}/web.scss +0 -0
- /package/livingdocs/{Lists/alphanumeric-list-group/print.scss → 010.Titles/010.title-h1/scss/word.scss} +0 -0
- /package/livingdocs/{Lists/list-item/print.scss → 010.Titles/020.title-h2/scss/pdf.scss} +0 -0
- /package/livingdocs/{Lists/list-item → 010.Titles/020.title-h2/scss}/web.scss +0 -0
- /package/livingdocs/{Lists/ordered-list-group/print.scss → 010.Titles/020.title-h2/scss/word.scss} +0 -0
- /package/livingdocs/{Lists/ordered-list-group/web.scss → 010.Titles/030.title-h3/scss/pdf.scss} +0 -0
- /package/livingdocs/{Lists/unordered-list-group → 010.Titles/030.title-h3/scss}/web.scss +0 -0
- /package/livingdocs/{Lists/unordered-list-group/print.scss → 010.Titles/030.title-h3/scss/word.scss} +0 -0
- /package/livingdocs/{Media/chart/print.scss → 010.Titles/040.title-h4/scss/pdf.scss} +0 -0
- /package/livingdocs/{Media/chart → 010.Titles/040.title-h4/scss}/web.scss +0 -0
- /package/livingdocs/{Media/graphic/print.scss → 010.Titles/040.title-h4/scss/word.scss} +0 -0
- /package/livingdocs/{Media/graphic/web.scss → 010.Titles/050.title-h5/scss/pdf.scss} +0 -0
- /package/livingdocs/{Media/image → 010.Titles/050.title-h5/scss}/web.scss +0 -0
- /package/livingdocs/{Media/nswow-table/print.scss → 010.Titles/050.title-h5/scss/word.scss} +0 -0
- /package/livingdocs/{Media/video/web.scss → 010.Titles/060.title-h6/scss/pdf.scss} +0 -0
- /package/livingdocs/{Signatures/signature-container → 010.Titles/060.title-h6/scss}/web.scss +0 -0
- /package/livingdocs/{PDF_only/pdf-cover/print.scss → 010.Titles/060.title-h6/scss/word.scss} +0 -0
- /package/livingdocs/{Signatures/signature-container/print.scss → 020.Text/010.lead/scss/pdf.scss} +0 -0
- /package/livingdocs/{Signatures/signature-item → 020.Text/010.lead/scss}/web.scss +0 -0
- /package/livingdocs/{Signatures/signature-item/print.scss → 020.Text/010.lead/scss/word.scss} +0 -0
- /package/{scss/helpers/functions.scss → livingdocs/020.Text/020.paragraph/scss/pdf.scss} +0 -0
- /package/livingdocs/{Text/quote → 020.Text/050.quote}/properties.json +0 -0
- /package/livingdocs/{PDF_only/pdf-toc-item → 110.PDF/100.pdf-toc-item}/properties.json +0 -0
- /package/{scss → srl/scss}/colors/functions.scss +0 -0
- /package/{scss → srl/scss}/colors/index.scss +0 -0
- /package/{scss → srl/scss}/colors/mixins.scss +0 -0
- /package/{scss → srl/scss}/colors/variables.scss +0 -0
- /package/{scss → srl/scss}/fonts/functions.scss +0 -0
- /package/{scss → srl/scss}/fonts/index.scss +0 -0
- /package/{scss → srl/scss}/fonts/mixins.scss +0 -0
- /package/{scss → srl/scss}/fonts/variables.scss +0 -0
- /package/{scss → srl/scss}/grid/index.scss +0 -0
- /package/{scss → srl/scss}/helpers/index.scss +0 -0
- /package/{scss → srl/scss}/helpers/variables.scss +0 -0
- /package/{scss → srl/scss}/index.scss +0 -0
- /package/{scss → srl/scss}/meta/functions.scss +0 -0
- /package/{scss → srl/scss}/meta/index.scss +0 -0
- /package/{scss → srl/scss}/meta/mixins.scss +0 -0
- /package/{scss → srl/scss}/meta/variables.scss +0 -0
- /package/{scss → srl/scss}/spacer/functions.scss +0 -0
- /package/{scss → srl/scss}/spacer/index.scss +0 -0
- /package/{scss → srl/scss}/spacer/mixins.scss +0 -0
- /package/{scss → srl/scss}/spacer/variables.scss +0 -0
- /package/{scss → srl/scss}/system/functions.scss +0 -0
- /package/{scss → srl/scss}/system/index.scss +0 -0
- /package/{scss → srl/scss}/system/mixins.scss +0 -0
- /package/{scss → srl/scss}/system/root.scss +0 -0
- /package/{scss → srl/scss}/system/variables.scss +0 -0
- /package/{scss → srl/scss}/typography/functions.scss +0 -0
- /package/{scss → srl/scss}/typography/index.scss +0 -0
- /package/{scss → srl/scss}/typography/variables.scss +0 -0
- /package/{dev/nswow → srl/srl}/index.scss +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
@mixin media($breakpoint) {
|
|
9
9
|
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
10
|
-
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
10
|
+
@error "Invalid breakpoint \"#{$breakpoint}\" specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
11
11
|
}
|
|
12
12
|
@if $breakpoint == print {
|
|
13
13
|
@media print {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
@mixin media-up($breakpoint) {
|
|
45
45
|
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
46
|
-
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
46
|
+
@error "Invalid breakpoint \"#{$breakpoint}\" specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
47
47
|
}
|
|
48
48
|
$min: map.get(variables.$breakpoints, $breakpoint);
|
|
49
49
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
@mixin media-down($breakpoint) {
|
|
60
60
|
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
61
|
-
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
61
|
+
@error "Invalid breakpoint \"#{$breakpoint}\" specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
62
62
|
}
|
|
63
63
|
$next: system.map-get-next(variables.$breakpoints, $breakpoint);
|
|
64
64
|
$max: false;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
map.has-key(variables.$breakpoints, $breakpoint-min) or not
|
|
81
81
|
map.has-key(variables.$breakpoints, $breakpoint-max)
|
|
82
82
|
) {
|
|
83
|
-
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
83
|
+
@error "Invalid breakpoint \"#{$breakpoint-min}\" or \"#{$breakpoint-max}\" specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
84
84
|
}
|
|
85
85
|
$min: map.get(variables.$breakpoints, $breakpoint-min);
|
|
86
86
|
@if $min == 0 {
|
|
@@ -202,10 +202,7 @@
|
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
$columns: map.get(
|
|
206
|
-
@if not $columns {
|
|
207
|
-
$columns: 1;
|
|
208
|
-
}
|
|
205
|
+
$columns: map.get(variables.$columns, $breakpoint);
|
|
209
206
|
|
|
210
207
|
$gap: map.get($gutter, gap);
|
|
211
208
|
$row-gap: unset;
|
|
@@ -240,149 +237,10 @@
|
|
|
240
237
|
);
|
|
241
238
|
}
|
|
242
239
|
|
|
243
|
-
@mixin
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
@include container;
|
|
247
|
-
|
|
248
|
-
&-fluid {
|
|
249
|
-
@include container-fluid;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.#{variables.$class-prefix}container,
|
|
253
|
-
.#{variables.$class-prefix}container-fluid {
|
|
254
|
-
max-width: unset;
|
|
255
|
-
padding-inline: unset;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.#{variables.$class-prefix}row {
|
|
260
|
-
@include row;
|
|
261
|
-
.#{variables.$class-prefix}row {
|
|
262
|
-
display: block;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
$maxCol: 0;
|
|
267
|
-
@each $breakpoint, $value in variables.$gutter {
|
|
268
|
-
$curCol: map.get($value, columns);
|
|
269
|
-
@if $curCol > $maxCol {
|
|
270
|
-
$maxCol: $curCol;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
$listBreakpoints: map.keys(variables.$breakpoints);
|
|
274
|
-
$lenght: list.length($listBreakpoints);
|
|
275
|
-
|
|
276
|
-
.#{variables.$class-prefix}col {
|
|
277
|
-
&-span {
|
|
278
|
-
@for $col from 1 to ($maxCol + 1) {
|
|
279
|
-
&-#{$col} {
|
|
280
|
-
grid-column-end: span #{$col};
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&-offset {
|
|
286
|
-
@for $offset from 1 to $maxCol {
|
|
287
|
-
&-#{$offset} {
|
|
288
|
-
grid-column-start: #{$offset + 1};
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
@each $breakpoint in $listBreakpoints {
|
|
295
|
-
$index: list.index($listBreakpoints, $breakpoint);
|
|
296
|
-
@include media($breakpoint) {
|
|
297
|
-
.#{variables.$class-prefix}col-#{$breakpoint} {
|
|
298
|
-
&-span {
|
|
299
|
-
@for $col
|
|
300
|
-
from 1
|
|
301
|
-
to
|
|
302
|
-
map.get(map.get(variables.$gutter, $breakpoint), columns)
|
|
303
|
-
{
|
|
304
|
-
&-#{$col} {
|
|
305
|
-
grid-column-end: span #{$col};
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
&-offset {
|
|
311
|
-
@for $offset
|
|
312
|
-
from 1
|
|
313
|
-
to
|
|
314
|
-
(map.get(map.get(variables.$gutter, $breakpoint), columns) - 1)
|
|
315
|
-
{
|
|
316
|
-
&-#{$offset} {
|
|
317
|
-
grid-column-start: #{$offset + 1};
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
@if $breakpoint != print {
|
|
325
|
-
@include media-up($breakpoint) {
|
|
326
|
-
.#{variables.$class-prefix}col-up-#{$breakpoint} {
|
|
327
|
-
&-span {
|
|
328
|
-
@for $col
|
|
329
|
-
from 1
|
|
330
|
-
to
|
|
331
|
-
map.get(map.get(variables.$gutter, $breakpoint), columns)
|
|
332
|
-
{
|
|
333
|
-
&-#{$col} {
|
|
334
|
-
grid-column-end: span #{$col};
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
&-offset {
|
|
340
|
-
@for $offset
|
|
341
|
-
from 1
|
|
342
|
-
to
|
|
343
|
-
(map.get(map.get(variables.$gutter, $breakpoint), columns) - 1)
|
|
344
|
-
{
|
|
345
|
-
&-#{$offset} {
|
|
346
|
-
grid-column-start: #{$offset + 1};
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
@if $index != $lenght {
|
|
354
|
-
@include media-down($breakpoint) {
|
|
355
|
-
.#{variables.$class-prefix}col-down-#{$breakpoint} {
|
|
356
|
-
&-span {
|
|
357
|
-
@for $col
|
|
358
|
-
from 1
|
|
359
|
-
to
|
|
360
|
-
map.get(map.get(variables.$gutter, $breakpoint), columns)
|
|
361
|
-
{
|
|
362
|
-
&-#{$col} {
|
|
363
|
-
grid-column-end: span #{$col};
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
240
|
+
@mixin pdf-flex-col($span) {
|
|
241
|
+
width: functions.calculate-pdf-col-span-minus-one-gutter($span);
|
|
242
|
+
}
|
|
367
243
|
|
|
368
|
-
|
|
369
|
-
@for $offset
|
|
370
|
-
from 1
|
|
371
|
-
to
|
|
372
|
-
(
|
|
373
|
-
map.get(map.get(variables.$gutter, $breakpoint), columns) -
|
|
374
|
-
1
|
|
375
|
-
)
|
|
376
|
-
{
|
|
377
|
-
&-#{$offset} {
|
|
378
|
-
grid-column-start: #{$offset + 1};
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
244
|
+
@mixin core-styles {
|
|
388
245
|
}
|
|
246
|
+
|
|
File without changes
|
|
@@ -13,39 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@mixin body-text {
|
|
17
|
-
h1 {
|
|
18
|
-
@include typography.get(headline1, true);
|
|
19
|
-
}
|
|
20
|
-
h2 {
|
|
21
|
-
@include typography.get(headline2, true);
|
|
22
|
-
}
|
|
23
|
-
h3 {
|
|
24
|
-
@include typography.get(headline3, true);
|
|
25
|
-
}
|
|
26
|
-
h4 {
|
|
27
|
-
@include typography.get(headline4, true);
|
|
28
|
-
}
|
|
29
|
-
h5 {
|
|
30
|
-
@include typography.get(headline5, true);
|
|
31
|
-
}
|
|
32
|
-
h6 {
|
|
33
|
-
@include typography.get(headline6, true);
|
|
34
|
-
}
|
|
35
|
-
p,
|
|
36
|
-
ul,
|
|
37
|
-
ol,
|
|
38
|
-
li,
|
|
39
|
-
td,
|
|
40
|
-
th,
|
|
41
|
-
dd,
|
|
42
|
-
dt {
|
|
43
|
-
@include typography.get(copy, true);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@include trim-margins;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
16
|
@mixin list-reset() {
|
|
50
17
|
list-style: none;
|
|
51
18
|
margin: 0;
|
|
@@ -39,7 +39,12 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
@mixin _register-typo-variables(
|
|
42
|
+
@mixin _register-typo-variables(
|
|
43
|
+
$typo,
|
|
44
|
+
$map,
|
|
45
|
+
$media: false,
|
|
46
|
+
$mediaBehavior: false
|
|
47
|
+
) {
|
|
43
48
|
@if not $media {
|
|
44
49
|
$defaults: map.merge(
|
|
45
50
|
(
|
|
@@ -108,7 +113,31 @@
|
|
|
108
113
|
|
|
109
114
|
@if map.has-key($map, media) {
|
|
110
115
|
@each $breakpoint, $breakpointValue in map.get($map, media) {
|
|
111
|
-
@
|
|
116
|
+
@if $breakpoint == up {
|
|
117
|
+
@each $upBreakpoint, $upBreakpointValue in $breakpointValue {
|
|
118
|
+
@include _register-typo-variables(
|
|
119
|
+
$typo,
|
|
120
|
+
$upBreakpointValue,
|
|
121
|
+
$upBreakpoint,
|
|
122
|
+
up
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
} @else if $breakpoint == down {
|
|
126
|
+
@each $downBreakpoint, $downBreakpointValue in $breakpointValue {
|
|
127
|
+
@include _register-typo-variables(
|
|
128
|
+
$typo,
|
|
129
|
+
$downBreakpointValue,
|
|
130
|
+
$downBreakpoint,
|
|
131
|
+
down
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
} @else {
|
|
135
|
+
@include _register-typo-variables(
|
|
136
|
+
$typo,
|
|
137
|
+
$breakpointValue,
|
|
138
|
+
$breakpoint
|
|
139
|
+
);
|
|
140
|
+
}
|
|
112
141
|
}
|
|
113
142
|
}
|
|
114
143
|
} @else {
|
|
@@ -116,7 +145,8 @@
|
|
|
116
145
|
@include system.add-root-style(
|
|
117
146
|
#{variables.$variable-prefix}typo-#{$typo}-font-family,
|
|
118
147
|
string.unquote(map.get($map, font-family)),
|
|
119
|
-
$media
|
|
148
|
+
$media,
|
|
149
|
+
$mediaBehavior
|
|
120
150
|
);
|
|
121
151
|
}
|
|
122
152
|
|
|
@@ -124,7 +154,8 @@
|
|
|
124
154
|
@include system.add-root-style(
|
|
125
155
|
#{variables.$variable-prefix}typo-#{$typo}-font-size,
|
|
126
156
|
system.size-unit(map.get($map, font-size)),
|
|
127
|
-
$media
|
|
157
|
+
$media,
|
|
158
|
+
$mediaBehavior
|
|
128
159
|
);
|
|
129
160
|
}
|
|
130
161
|
|
|
@@ -132,7 +163,8 @@
|
|
|
132
163
|
@include system.add-root-style(
|
|
133
164
|
#{variables.$variable-prefix}typo-#{$typo}-line-height,
|
|
134
165
|
system.size-unit(map.get($map, line-height), em),
|
|
135
|
-
$media
|
|
166
|
+
$media,
|
|
167
|
+
$mediaBehavior
|
|
136
168
|
);
|
|
137
169
|
}
|
|
138
170
|
|
|
@@ -140,7 +172,8 @@
|
|
|
140
172
|
@include system.add-root-style(
|
|
141
173
|
#{variables.$variable-prefix}typo-#{$typo}-font-style,
|
|
142
174
|
string.unquote(map.get($map, font-style)),
|
|
143
|
-
$media
|
|
175
|
+
$media,
|
|
176
|
+
$mediaBehavior
|
|
144
177
|
);
|
|
145
178
|
}
|
|
146
179
|
|
|
@@ -148,7 +181,8 @@
|
|
|
148
181
|
@include system.add-root-style(
|
|
149
182
|
#{variables.$variable-prefix}typo-#{$typo}-font-weight,
|
|
150
183
|
map.get($map, font-weight),
|
|
151
|
-
$media
|
|
184
|
+
$media,
|
|
185
|
+
$mediaBehavior
|
|
152
186
|
);
|
|
153
187
|
}
|
|
154
188
|
|
|
@@ -156,7 +190,8 @@
|
|
|
156
190
|
@include system.add-root-style(
|
|
157
191
|
#{variables.$variable-prefix}typo-#{$typo}-letter-spacing,
|
|
158
192
|
system.size-unit(map.get($defaults, letter-spacing)),
|
|
159
|
-
$media
|
|
193
|
+
$media,
|
|
194
|
+
$mediaBehavior
|
|
160
195
|
);
|
|
161
196
|
}
|
|
162
197
|
|
|
@@ -164,7 +199,8 @@
|
|
|
164
199
|
@include system.add-root-style(
|
|
165
200
|
#{variables.$variable-prefix}typo-#{$typo}-text-transform,
|
|
166
201
|
map.get($defaults, text-transform),
|
|
167
|
-
$media
|
|
202
|
+
$media,
|
|
203
|
+
$mediaBehavior
|
|
168
204
|
);
|
|
169
205
|
}
|
|
170
206
|
|
|
@@ -173,13 +209,15 @@
|
|
|
173
209
|
@include system.add-root-style(
|
|
174
210
|
#{variables.$variable-prefix}typo-#{$typo}-margin-top,
|
|
175
211
|
system.size-unit(map.get($map, margin-top), in),
|
|
176
|
-
$media
|
|
212
|
+
$media,
|
|
213
|
+
$mediaBehavior
|
|
177
214
|
);
|
|
178
215
|
} @else {
|
|
179
216
|
@include system.add-root-style(
|
|
180
217
|
#{variables.$variable-prefix}typo-#{$typo}-margin-top,
|
|
181
218
|
system.size-unit(map.get($map, margin-top)),
|
|
182
|
-
$media
|
|
219
|
+
$media,
|
|
220
|
+
$mediaBehavior
|
|
183
221
|
);
|
|
184
222
|
}
|
|
185
223
|
}
|
|
@@ -189,13 +227,15 @@
|
|
|
189
227
|
@include system.add-root-style(
|
|
190
228
|
#{variables.$variable-prefix}typo-#{$typo}-margin-bottom,
|
|
191
229
|
system.size-unit(map.get($map, margin-bottom), in),
|
|
192
|
-
$media
|
|
230
|
+
$media,
|
|
231
|
+
$mediaBehavior
|
|
193
232
|
);
|
|
194
233
|
} @else {
|
|
195
234
|
@include system.add-root-style(
|
|
196
235
|
#{variables.$variable-prefix}typo-#{$typo}-margin-bottom,
|
|
197
236
|
system.size-unit(map.get($map, margin-bottom)),
|
|
198
|
-
$media
|
|
237
|
+
$media,
|
|
238
|
+
$mediaBehavior
|
|
199
239
|
);
|
|
200
240
|
}
|
|
201
241
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use 'index';
|
|
3
|
+
@use 'system/mixins';
|
|
4
|
+
@use 'grid/variables';
|
|
5
|
+
@use 'sass:map';
|
|
6
|
+
@use 'sass:list';
|
|
7
|
+
|
|
8
|
+
$breakpointsList: map.keys(variables.$breakpoints);
|
|
9
|
+
$breakpointsListLength: list.length($breakpointsList);
|
|
10
|
+
|
|
11
|
+
@at-root {
|
|
12
|
+
:root {
|
|
13
|
+
@each $key, $value in mixins.$styles {
|
|
14
|
+
$currentValue: $value;
|
|
15
|
+
$currentBreakpoint: 'print';
|
|
16
|
+
@each $breakpoint, $breakpointValue in variables.$breakpoints {
|
|
17
|
+
@if map.has-key(mixins.$stylesUp, $breakpoint, $key) {
|
|
18
|
+
$currentValue: map.get(mixins.$stylesUp, $breakpoint, $key);
|
|
19
|
+
$currentBreakpoint: $breakpoint;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@if map.has-key(mixins.$stylesOnly, $breakpoint, $key) {
|
|
23
|
+
$indexCurrent: list.index($breakpointsList, $currentBreakpoint);
|
|
24
|
+
$indexBreakpoint: list.index($breakpointsList, $breakpoint);
|
|
25
|
+
@if $indexBreakpoint >
|
|
26
|
+
$indexCurrent or
|
|
27
|
+
$indexBreakpoint ==
|
|
28
|
+
$breakpointsListLength
|
|
29
|
+
{
|
|
30
|
+
$currentValue: map.get(mixins.$stylesOnly, $breakpoint, $key);
|
|
31
|
+
$currentBreakpoint: $breakpoint;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
--#{$key}: #{$currentValue};
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include index.core-styles;
|
|
41
|
+
@include index.system-core-styles;
|
|
42
|
+
@include index.fonts-core-styles;
|
|
43
|
+
@include index.grid-core-styles;
|
|
44
|
+
@include index.colors-core-styles;
|
|
45
|
+
@include index.typography-core-styles;
|
|
46
|
+
@include index.spacer-core-styles;
|
|
47
|
+
@include index.helpers-core-styles;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { camelCase } from '#utils';
|
|
2
|
+
import ArticleLoader from './ArticleLoader';
|
|
3
3
|
|
|
4
|
-
type AutoloadList = string | string[]
|
|
4
|
+
type AutoloadList = string | string[];
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Class representing an ArticleAutoloader.
|
|
8
8
|
* @class
|
|
9
9
|
*/
|
|
10
10
|
class ArticleAutoloader {
|
|
11
|
-
classes: { [key: string]: { new (node: HTMLElement, options: any): any } }
|
|
12
|
-
selector: string
|
|
11
|
+
classes: { [key: string]: { new (node: HTMLElement, options: any): any } };
|
|
12
|
+
selector: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Constructor for the class.
|
|
@@ -18,8 +18,8 @@ class ArticleAutoloader {
|
|
|
18
18
|
* @constructor
|
|
19
19
|
*/
|
|
20
20
|
constructor() {
|
|
21
|
-
this.classes = {}
|
|
22
|
-
this.selector = '[data-autoload]'
|
|
21
|
+
this.classes = {};
|
|
22
|
+
this.selector = '[data-autoload]';
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -29,10 +29,10 @@ class ArticleAutoloader {
|
|
|
29
29
|
* @return {void}
|
|
30
30
|
*/
|
|
31
31
|
init(obj: HTMLElement) {
|
|
32
|
-
const nodes: NodeListOf<Element> = obj.querySelectorAll(this.selector)
|
|
32
|
+
const nodes: NodeListOf<Element> = obj.querySelectorAll(this.selector);
|
|
33
33
|
if (nodes) {
|
|
34
34
|
for (let index = 0; index < nodes.length; index++) {
|
|
35
|
-
this._initAutoload(nodes[index] as HTMLElement)
|
|
35
|
+
this._initAutoload(nodes[index] as HTMLElement);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -44,7 +44,7 @@ class ArticleAutoloader {
|
|
|
44
44
|
* @param {string} className - The name to associate with the object class.
|
|
45
45
|
*/
|
|
46
46
|
register(objClass: ArticleLoader, className: string) {
|
|
47
|
-
this.classes[camelCase(className)] = objClass
|
|
47
|
+
this.classes[camelCase(className)] = objClass;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -58,7 +58,7 @@ class ArticleAutoloader {
|
|
|
58
58
|
*/
|
|
59
59
|
_createInstance(node: HTMLElement, options: any, className: string) {
|
|
60
60
|
if (this.classes[className] !== undefined) {
|
|
61
|
-
new this.classes[className](node, options)
|
|
61
|
+
new this.classes[className](node, options);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -68,33 +68,33 @@ class ArticleAutoloader {
|
|
|
68
68
|
* @param {HTMLElement} node - The node for which to initialize the autoload feature.
|
|
69
69
|
*/
|
|
70
70
|
_initAutoload(node: HTMLElement): void {
|
|
71
|
-
let load: AutoloadList = node.dataset.autoload
|
|
71
|
+
let load: AutoloadList = node.dataset.autoload;
|
|
72
72
|
|
|
73
73
|
// Converting to array in case of single string for uniform processing
|
|
74
74
|
try {
|
|
75
|
-
load = JSON.parse(load)
|
|
75
|
+
load = JSON.parse(load);
|
|
76
76
|
} catch (e) {
|
|
77
|
-
load = load.split(' ')
|
|
77
|
+
load = load.split(' ');
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
if (typeof load === 'string') {
|
|
81
|
-
load = [load]
|
|
81
|
+
load = [load];
|
|
82
82
|
}
|
|
83
83
|
// check if it's a single string or a list
|
|
84
84
|
if (load.length === 1) {
|
|
85
|
-
const options = node.dataset.options || {}
|
|
86
|
-
this._createInstance(node, options, camelCase(load[0]))
|
|
85
|
+
const options = node.dataset.options || {};
|
|
86
|
+
this._createInstance(node, options, camelCase(load[0]));
|
|
87
87
|
} else {
|
|
88
|
-
const optionsDataSet = JSON.parse(node.dataset.options || '{}')
|
|
88
|
+
const optionsDataSet = JSON.parse(node.dataset.options || '{}');
|
|
89
89
|
for (const className of load) {
|
|
90
90
|
if (className !== '') {
|
|
91
|
-
const options = optionsDataSet[className] || {}
|
|
92
|
-
this._createInstance(node, options, camelCase(className))
|
|
91
|
+
const options = optionsDataSet[className] || {};
|
|
92
|
+
this._createInstance(node, options, camelCase(className));
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export default ArticleAutoloader
|
|
100
|
-
export { ArticleAutoloader }
|
|
99
|
+
export default ArticleAutoloader;
|
|
100
|
+
export { ArticleAutoloader };
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @class
|
|
4
4
|
*/
|
|
5
5
|
abstract class ArticleLoader {
|
|
6
|
-
protected element: HTMLElement
|
|
7
|
-
protected options: { key: string; value: any }
|
|
6
|
+
protected element: HTMLElement;
|
|
7
|
+
protected options: { key: string; value: any };
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Constructs a new instance of the class.
|
|
@@ -13,13 +13,16 @@ abstract class ArticleLoader {
|
|
|
13
13
|
* @param {any} options - Optional options to pass to the class.
|
|
14
14
|
* @constructor
|
|
15
15
|
*/
|
|
16
|
-
protected constructor(
|
|
16
|
+
protected constructor(
|
|
17
|
+
selector: string | Node,
|
|
18
|
+
options: { key: string; value: any } | undefined,
|
|
19
|
+
) {
|
|
17
20
|
if (typeof selector === 'string' || selector instanceof NodeList) {
|
|
18
|
-
this._initializeNodeList(selector, options)
|
|
21
|
+
this._initializeNodeList(selector, options);
|
|
19
22
|
} else if (selector instanceof Node) {
|
|
20
|
-
this.element = selector as HTMLElement
|
|
21
|
-
this.element[this.constructor.name] = this
|
|
22
|
-
this._initializeNode(selector, options)
|
|
23
|
+
this.element = selector as HTMLElement;
|
|
24
|
+
this.element[this.constructor.name] = this;
|
|
25
|
+
this._initializeNode(selector, options);
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
|
|
@@ -32,8 +35,11 @@ abstract class ArticleLoader {
|
|
|
32
35
|
* @return {void} - No return value.
|
|
33
36
|
*/
|
|
34
37
|
private _initializeNodeList(selector: string | NodeList, options: unknown) {
|
|
35
|
-
const nodeList =
|
|
36
|
-
|
|
38
|
+
const nodeList =
|
|
39
|
+
typeof selector === 'string'
|
|
40
|
+
? document.querySelectorAll(selector)
|
|
41
|
+
: selector;
|
|
42
|
+
Array.from(nodeList).forEach((node) => new this.constructor(node, options));
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
/**
|
|
@@ -44,8 +50,8 @@ abstract class ArticleLoader {
|
|
|
44
50
|
* @return {void}
|
|
45
51
|
*/
|
|
46
52
|
private _initializeNode(node: Node, options: unknown) {
|
|
47
|
-
this._assignOptions(options)
|
|
48
|
-
this._create()
|
|
53
|
+
this._assignOptions(options);
|
|
54
|
+
this._create();
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/**
|
|
@@ -56,9 +62,10 @@ abstract class ArticleLoader {
|
|
|
56
62
|
*/
|
|
57
63
|
private _assignOptions(options: unknown) {
|
|
58
64
|
if (options !== undefined) {
|
|
59
|
-
this.options =
|
|
65
|
+
this.options =
|
|
66
|
+
typeof options === 'string' ? JSON.parse(options) : options;
|
|
60
67
|
} else {
|
|
61
|
-
this.options = {}
|
|
68
|
+
this.options = {};
|
|
62
69
|
}
|
|
63
70
|
}
|
|
64
71
|
|
|
@@ -67,7 +74,7 @@ abstract class ArticleLoader {
|
|
|
67
74
|
* @return { key: string, value: any }
|
|
68
75
|
*/
|
|
69
76
|
public getOptions() {
|
|
70
|
-
return this.options
|
|
77
|
+
return this.options;
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
/**
|
|
@@ -75,7 +82,7 @@ abstract class ArticleLoader {
|
|
|
75
82
|
* @return {HTMLElement}
|
|
76
83
|
*/
|
|
77
84
|
public getElement() {
|
|
78
|
-
return this.element
|
|
85
|
+
return this.element;
|
|
79
86
|
}
|
|
80
87
|
|
|
81
88
|
/**
|
|
@@ -84,8 +91,8 @@ abstract class ArticleLoader {
|
|
|
84
91
|
* This must be defined in any class extending ArticleLoader. It serves as the
|
|
85
92
|
* entry point for the initialization of the abstraction.
|
|
86
93
|
*/
|
|
87
|
-
abstract _create(): void
|
|
94
|
+
abstract _create(): void;
|
|
88
95
|
}
|
|
89
96
|
|
|
90
|
-
export default ArticleLoader
|
|
91
|
-
export { ArticleLoader }
|
|
97
|
+
export default ArticleLoader;
|
|
98
|
+
export { ArticleLoader };
|