@simple-reporting/base 0.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 +25 -0
- package/.nvmrc +1 -0
- package/.prettierrc +6 -0
- package/README.md +23 -0
- package/cli.js +114 -0
- package/dev/.ddev/config.yaml +279 -0
- package/dev/.ddev/nginx_full/custom.conf +12 -0
- package/dev/.env +1 -0
- package/dev/.env.development +1 -0
- package/dev/.eslintrc.cjs +15 -0
- package/dev/.nvmrc +1 -0
- package/dev/.prettierrc.json +8 -0
- package/dev/.vscode/extensions.json +3 -0
- package/dev/.vscode/settings.json +4 -0
- package/dev/README.md +45 -0
- package/dev/env.d.ts +1 -0
- package/dev/index.html +17 -0
- package/dev/ldd.html +7 -0
- package/dev/livingdocs/Media/image/app.scss +25 -0
- package/dev/livingdocs/Media/image/general.scss +11 -0
- package/dev/livingdocs/Media/image/image.html +46 -0
- package/dev/livingdocs/Media/image/ldd.scss +1 -0
- package/dev/livingdocs/Media/image/pdf.scss +1 -0
- package/dev/livingdocs/Media/image/print.scss +7 -0
- package/dev/livingdocs/Media/image/properties.json +41 -0
- package/dev/livingdocs/Media/image/web.scss +0 -0
- package/dev/livingdocs/Media/image/word.scss +1 -0
- package/dev/livingdocs/Properties/grid/app.scss +1 -0
- package/dev/livingdocs/Properties/grid/general.scss +95 -0
- package/dev/livingdocs/Properties/grid/ldd.scss +1 -0
- package/dev/livingdocs/Properties/grid/pdf.scss +1 -0
- package/dev/livingdocs/Properties/grid/print.scss +94 -0
- package/dev/livingdocs/Properties/grid/properties.json +68 -0
- package/dev/livingdocs/Properties/grid/web.scss +98 -0
- package/dev/livingdocs/Properties/grid/word.scss +1 -0
- package/dev/livingdocs/Text/paragraph/general.scss +9 -0
- package/dev/livingdocs/Text/paragraph/paragraph.html +22 -0
- package/dev/livingdocs/Titles/title-h1/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h1/title-h1.html +16 -0
- package/dev/livingdocs/Titles/title-h2/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h2/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/print.scss +36 -0
- package/dev/livingdocs/Titles/title-h2/title-h2.html +24 -0
- package/dev/livingdocs/Titles/title-h2/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h2/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h3/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/print.scss +34 -0
- package/dev/livingdocs/Titles/title-h3/title-h3.html +24 -0
- package/dev/livingdocs/Titles/title-h3/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h3/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h4/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/print.scss +34 -0
- package/dev/livingdocs/Titles/title-h4/title-h4.html +24 -0
- package/dev/livingdocs/Titles/title-h4/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h4/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h5/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h5/title-h5.html +16 -0
- package/dev/livingdocs/Titles/title-h6/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h6/title-h6.html +16 -0
- package/dev/livingdocs.config.json +376 -0
- package/dev/nswow/ArticleAutoloader.ts +100 -0
- package/dev/nswow/ArticleLoader.ts +91 -0
- package/dev/nswow/colors.scss +3 -0
- package/dev/nswow/config.scss +13 -0
- package/dev/nswow/core-styles.scss +2 -0
- package/dev/nswow/fonts.scss +2 -0
- package/dev/nswow/grid.scss +2 -0
- package/dev/nswow/helpers.scss +2 -0
- package/dev/nswow/index.scss +9 -0
- package/dev/nswow/meta.scss +2 -0
- package/dev/nswow/spacer.scss +2 -0
- package/dev/nswow/system.scss +2 -0
- package/dev/nswow/typography.scss +3 -0
- package/dev/nswow.config.json +293 -0
- package/dev/package.json +61 -0
- package/dev/pdf/pdf-configuration-debug.xml +6 -0
- package/dev/pdf/pdf-configuration.xml +3 -0
- package/dev/pdf.ts +1 -0
- package/dev/public/.keep +0 -0
- package/dev/src/App.vue +44 -0
- package/dev/src/Autoload.ts +6 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-300.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-700.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-italic.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-regular.woff2 +0 -0
- package/dev/src/assets/images/mms-logo-black.svg +91 -0
- package/dev/src/assets/images/mms-logo-white.svg +105 -0
- package/dev/src/assets/scss/app.scss +39 -0
- package/dev/src/assets/scss/general.scss +17 -0
- package/dev/src/assets/scss/ldd.scss +27 -0
- package/dev/src/assets/scss/pdf.scss +2 -0
- package/dev/src/assets/scss/print.scss +1 -0
- package/dev/src/assets/scss/web.scss +1 -0
- package/dev/src/assets/scss/word.scss +2 -0
- package/dev/src/components/LanguageSwitch.vue +100 -0
- package/dev/src/components/MainNavigation.vue +209 -0
- package/dev/src/components/MenuItem/MenuArticle.vue +15 -0
- package/dev/src/components/MenuItem/MenuEntry.vue +26 -0
- package/dev/src/components/MenuItem/MenuExternal.vue +28 -0
- package/dev/src/components/MenuItem/index.ts +5 -0
- package/dev/src/components/PageFooter.vue +86 -0
- package/dev/src/components/PageHeader.vue +149 -0
- package/dev/src/components/PageModal.vue +95 -0
- package/dev/src/components/PrevNext.vue +144 -0
- package/dev/src/components/ScrollToTop.vue +63 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCApplication.vue +715 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownCharts.vue +112 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownPeriod.vue +85 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCTable.vue +63 -0
- package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +9 -0
- package/dev/src/components/SrlPage/KFCApplication/models/KFCApplication.ts +183 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-basic.scss +1136 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-custom.scss +71 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-general.scss +113 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison-dropdown.scss +189 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +151 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +40 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-print.scss +20 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +21 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_variables.scss +10 -0
- package/dev/src/components/SrlPage/KFCApplication/services/xlsxParser.ts +194 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgColumnView.vue +28 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDownloadChart.vue +26 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDropdown.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgIndexedValues.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLegendSwap.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLineView.vue +28 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPDFChart.vue +26 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPrintChart.vue +33 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgTableView.vue +67 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloader.js +455 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloaderStyle.js +44 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XTableNamer.js +68 -0
- package/dev/src/composables/config.ts +48 -0
- package/dev/src/i18n/index.ts +51 -0
- package/dev/src/i18n/translation.ts +85 -0
- package/dev/src/locales/de.json +15 -0
- package/dev/src/locales/en.json +15 -0
- package/dev/src/main.ts +16 -0
- package/dev/src/router/index.ts +47 -0
- package/dev/src/types/nswow.d.ts +73 -0
- package/dev/src/utils/variables.ts +13 -0
- package/dev/src/views/ArticleView.vue +77 -0
- package/dev/src/views/DownloadsView.vue +88 -0
- package/dev/src/views/HomeView.vue +35 -0
- package/dev/src/views/PageNotFound.vue +73 -0
- package/dev/src/views/SearchView.vue +126 -0
- package/dev/tsconfig.app.json +16 -0
- package/dev/tsconfig.json +14 -0
- package/dev/tsconfig.node.json +19 -0
- package/dev/tsconfig.vitest.json +11 -0
- package/dev/vite.config.ts +27 -0
- package/dev/vitest.config.ts +14 -0
- package/dev/word.ts +1 -0
- package/livingdocs/Buttons/button/app.scss +1 -0
- package/livingdocs/Buttons/button/button.html +18 -0
- package/livingdocs/Buttons/button/general.scss +33 -0
- package/livingdocs/Buttons/button/ldd.scss +1 -0
- package/livingdocs/Buttons/button/pdf.scss +1 -0
- package/livingdocs/Buttons/button/word.scss +1 -0
- package/livingdocs/Buttons/button-container/app.scss +1 -0
- package/livingdocs/Buttons/button-container/button-container.html +31 -0
- package/livingdocs/Buttons/button-container/general.scss +12 -0
- package/livingdocs/Buttons/button-container/ldd.scss +1 -0
- package/livingdocs/Buttons/button-container/pdf.scss +3 -0
- package/livingdocs/Buttons/button-container/properties.json +19 -0
- package/livingdocs/Buttons/button-container/word.scss +3 -0
- package/livingdocs/CV/cv-timeline/app.scss +1 -0
- package/livingdocs/CV/cv-timeline/cv-timeline.html +19 -0
- package/livingdocs/CV/cv-timeline/general.scss +1 -0
- package/livingdocs/CV/cv-timeline/ldd.scss +1 -0
- package/livingdocs/CV/cv-timeline/pdf.scss +1 -0
- package/livingdocs/CV/cv-timeline/print.scss +35 -0
- package/livingdocs/CV/cv-timeline/web.scss +27 -0
- package/livingdocs/CV/cv-timeline/word.scss +1 -0
- package/livingdocs/Container/column-container/column-container.html +44 -0
- package/livingdocs/Container/column-container/general.scss +105 -0
- package/livingdocs/Container/column-container/properties.json +83 -0
- package/livingdocs/Lists/alphanumeric-list-group/alphanumeric-list-group.html +25 -0
- package/livingdocs/Lists/alphanumeric-list-group/app.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/general.scss +5 -0
- package/livingdocs/Lists/alphanumeric-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/print.scss +0 -0
- package/livingdocs/Lists/alphanumeric-list-group/web.scss +0 -0
- package/livingdocs/Lists/alphanumeric-list-group/word.scss +1 -0
- package/livingdocs/Lists/list-item/app.scss +1 -0
- package/livingdocs/Lists/list-item/general.scss +4 -0
- package/livingdocs/Lists/list-item/ldd.scss +1 -0
- package/livingdocs/Lists/list-item/list-item.html +17 -0
- package/livingdocs/Lists/list-item/pdf.scss +1 -0
- package/livingdocs/Lists/list-item/print.scss +0 -0
- package/livingdocs/Lists/list-item/web.scss +0 -0
- package/livingdocs/Lists/list-item/word.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/app.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/general.scss +5 -0
- package/livingdocs/Lists/ordered-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/ordered-list-group.html +25 -0
- package/livingdocs/Lists/ordered-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/print.scss +0 -0
- package/livingdocs/Lists/ordered-list-group/web.scss +0 -0
- package/livingdocs/Lists/ordered-list-group/word.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/app.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/general.scss +5 -0
- package/livingdocs/Lists/unordered-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/print.scss +0 -0
- package/livingdocs/Lists/unordered-list-group/unordered-list-group.html +25 -0
- package/livingdocs/Lists/unordered-list-group/web.scss +0 -0
- package/livingdocs/Lists/unordered-list-group/word.scss +1 -0
- package/livingdocs/Media/chart/app.scss +19 -0
- package/livingdocs/Media/chart/chart.html +29 -0
- package/livingdocs/Media/chart/general.scss +11 -0
- package/livingdocs/Media/chart/ldd.scss +1 -0
- package/livingdocs/Media/chart/pdf.scss +9 -0
- package/livingdocs/Media/chart/print.scss +0 -0
- package/livingdocs/Media/chart/properties.json +41 -0
- package/livingdocs/Media/chart/web.scss +0 -0
- package/livingdocs/Media/chart/word.scss +1 -0
- package/livingdocs/Media/graphic/app.scss +1 -0
- package/livingdocs/Media/graphic/general.scss +18 -0
- package/livingdocs/Media/graphic/graphic.html +29 -0
- package/livingdocs/Media/graphic/ldd.scss +1 -0
- package/livingdocs/Media/graphic/pdf.scss +1 -0
- package/livingdocs/Media/graphic/print.scss +0 -0
- package/livingdocs/Media/graphic/properties.json +36 -0
- package/livingdocs/Media/graphic/web.scss +0 -0
- package/livingdocs/Media/graphic/word.scss +1 -0
- package/livingdocs/Media/image/app.scss +25 -0
- package/livingdocs/Media/image/general.scss +11 -0
- package/livingdocs/Media/image/image.html +55 -0
- package/livingdocs/Media/image/ldd.scss +1 -0
- package/livingdocs/Media/image/pdf.scss +1 -0
- package/livingdocs/Media/image/print.scss +7 -0
- package/livingdocs/Media/image/properties.json +41 -0
- package/livingdocs/Media/image/web.scss +0 -0
- package/livingdocs/Media/image/word.scss +1 -0
- package/livingdocs/Media/nswow-table/app.scss +2 -0
- package/livingdocs/Media/nswow-table/app.ts +35 -0
- package/livingdocs/Media/nswow-table/general.scss +281 -0
- package/livingdocs/Media/nswow-table/ldd.scss +2 -0
- package/livingdocs/Media/nswow-table/nswow-table.html +30 -0
- package/livingdocs/Media/nswow-table/pdf.scss +8 -0
- package/livingdocs/Media/nswow-table/print.scss +0 -0
- package/livingdocs/Media/nswow-table/properties.json +66 -0
- package/livingdocs/Media/nswow-table/web.scss +23 -0
- package/livingdocs/Media/nswow-table/word.scss +2 -0
- package/livingdocs/Media/video/app.scss +1 -0
- package/livingdocs/Media/video/general.scss +7 -0
- package/livingdocs/Media/video/ldd.scss +1 -0
- package/livingdocs/Media/video/pdf.scss +1 -0
- package/livingdocs/Media/video/print.scss +5 -0
- package/livingdocs/Media/video/properties.json +41 -0
- package/livingdocs/Media/video/video.html +26 -0
- package/livingdocs/Media/video/web.scss +0 -0
- package/livingdocs/Media/video/word.scss +1 -0
- package/livingdocs/Misc/accordion/accordion.html +56 -0
- package/livingdocs/Misc/accordion/app.scss +63 -0
- package/livingdocs/Misc/accordion/app.ts +10 -0
- package/livingdocs/Misc/accordion/general.scss +44 -0
- package/livingdocs/Misc/accordion/ldd.scss +36 -0
- package/livingdocs/Misc/accordion/pdf.scss +39 -0
- package/livingdocs/Misc/accordion/word.scss +39 -0
- package/livingdocs/Misc/anchor/anchor.html +15 -0
- package/livingdocs/Misc/anchor/app.scss +10 -0
- package/livingdocs/Misc/anchor/app.ts +11 -0
- package/livingdocs/Misc/anchor/general.scss +1 -0
- package/livingdocs/Misc/anchor/pdf.scss +1 -0
- package/livingdocs/Misc/anchor/print.scss +3 -0
- package/livingdocs/Misc/anchor/word.scss +1 -0
- package/livingdocs/Misc/spacer/app.scss +1 -0
- package/livingdocs/Misc/spacer/general.scss +8 -0
- package/livingdocs/Misc/spacer/ldd.scss +1 -0
- package/livingdocs/Misc/spacer/pdf.scss +1 -0
- package/livingdocs/Misc/spacer/print.scss +18 -0
- package/livingdocs/Misc/spacer/properties.json +52 -0
- package/livingdocs/Misc/spacer/spacer.html +12 -0
- package/livingdocs/Misc/spacer/web.scss +18 -0
- package/livingdocs/Misc/spacer/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover/ldd.scss +42 -0
- package/livingdocs/PDF_only/pdf-cover/pdf-cover.html +29 -0
- package/livingdocs/PDF_only/pdf-cover/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover/print.scss +0 -0
- package/livingdocs/PDF_only/pdf-cover/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/ldd.scss +19 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf-chapter-cover.html +18 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/print.scss +19 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-pagebreak/general.scss +4 -0
- package/livingdocs/PDF_only/pdf-pagebreak/ldd.scss +5 -0
- package/livingdocs/PDF_only/pdf-pagebreak/pdf-pagebreak.html +8 -0
- package/livingdocs/PDF_only/pdf-publication-title/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-publication-title/pdf-publication-title.html +15 -0
- package/livingdocs/PDF_only/pdf-toc-item/general.scss +41 -0
- package/livingdocs/PDF_only/pdf-toc-item/pdf-toc-item.html +33 -0
- package/livingdocs/PDF_only/pdf-toc-item/properties.json +7 -0
- package/livingdocs/PDF_only/pdf-toc-item-blank/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-toc-item-blank/pdf-toc-item-blank.html +11 -0
- package/livingdocs/PDF_only/pdf-toc-item-title/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-toc-item-title/pdf-toc-item-title.html +11 -0
- package/livingdocs/PDF_only/pdf-toc-page/app.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/general.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/ldd.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/pdf-toc-page.html +33 -0
- package/livingdocs/PDF_only/pdf-toc-page/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/properties.json +12 -0
- package/livingdocs/PDF_only/pdf-toc-page/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-video-link/ldd.scss +16 -0
- package/livingdocs/PDF_only/pdf-video-link/pdf-video-link.html +41 -0
- package/livingdocs/PDF_only/pdf-video-link/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-video-link/print.scss +12 -0
- package/livingdocs/PDF_only/pdf-video-link/word.scss +1 -0
- package/livingdocs/Properties/grid/app.scss +1 -0
- package/livingdocs/Properties/grid/general.scss +95 -0
- package/livingdocs/Properties/grid/ldd.scss +1 -0
- package/livingdocs/Properties/grid/pdf.scss +1 -0
- package/livingdocs/Properties/grid/print.scss +94 -0
- package/livingdocs/Properties/grid/properties.json +68 -0
- package/livingdocs/Properties/grid/web.scss +98 -0
- package/livingdocs/Properties/grid/word.scss +1 -0
- package/livingdocs/Signatures/signature-container/app.scss +1 -0
- package/livingdocs/Signatures/signature-container/general.scss +7 -0
- package/livingdocs/Signatures/signature-container/ldd.scss +1 -0
- package/livingdocs/Signatures/signature-container/pdf.scss +1 -0
- package/livingdocs/Signatures/signature-container/print.scss +0 -0
- package/livingdocs/Signatures/signature-container/signature-container.html +30 -0
- package/livingdocs/Signatures/signature-container/web.scss +0 -0
- package/livingdocs/Signatures/signature-container/word.scss +1 -0
- package/livingdocs/Signatures/signature-item/app.scss +1 -0
- package/livingdocs/Signatures/signature-item/general.scss +53 -0
- package/livingdocs/Signatures/signature-item/ldd.scss +1 -0
- package/livingdocs/Signatures/signature-item/pdf.scss +1 -0
- package/livingdocs/Signatures/signature-item/print.scss +0 -0
- package/livingdocs/Signatures/signature-item/signature-item.html +23 -0
- package/livingdocs/Signatures/signature-item/web.scss +0 -0
- package/livingdocs/Signatures/signature-item/word.scss +1 -0
- package/livingdocs/Text/footnote/app.scss +1 -0
- package/livingdocs/Text/footnote/footnote.html +14 -0
- package/livingdocs/Text/footnote/general.scss +12 -0
- package/livingdocs/Text/footnote/ldd.scss +1 -0
- package/livingdocs/Text/footnote/pdf.scss +1 -0
- package/livingdocs/Text/footnote/print.scss +36 -0
- package/livingdocs/Text/footnote/web.scss +27 -0
- package/livingdocs/Text/footnote/word.scss +1 -0
- package/livingdocs/Text/lead/general.scss +9 -0
- package/livingdocs/Text/lead/lead.html +23 -0
- package/livingdocs/Text/paragraph/general.scss +9 -0
- package/livingdocs/Text/paragraph/paragraph.html +24 -0
- package/livingdocs/Text/quote/general.scss +43 -0
- package/livingdocs/Text/quote/properties.json +7 -0
- package/livingdocs/Text/quote/quote.html +29 -0
- package/livingdocs/Text/quote-with-portrait/general.scss +81 -0
- package/livingdocs/Text/quote-with-portrait/properties.json +12 -0
- package/livingdocs/Text/quote-with-portrait/quote-with-portrait.html +49 -0
- package/livingdocs/Titles/title-h1/general.scss +10 -0
- package/livingdocs/Titles/title-h1/title-h1.html +16 -0
- package/livingdocs/Titles/title-h2/app.scss +1 -0
- package/livingdocs/Titles/title-h2/general.scss +13 -0
- package/livingdocs/Titles/title-h2/ldd.scss +1 -0
- package/livingdocs/Titles/title-h2/pdf.scss +1 -0
- package/livingdocs/Titles/title-h2/print.scss +36 -0
- package/livingdocs/Titles/title-h2/title-h2.html +26 -0
- package/livingdocs/Titles/title-h2/web.scss +27 -0
- package/livingdocs/Titles/title-h2/word.scss +1 -0
- package/livingdocs/Titles/title-h3/app.scss +1 -0
- package/livingdocs/Titles/title-h3/general.scss +13 -0
- package/livingdocs/Titles/title-h3/ldd.scss +1 -0
- package/livingdocs/Titles/title-h3/pdf.scss +1 -0
- package/livingdocs/Titles/title-h3/print.scss +34 -0
- package/livingdocs/Titles/title-h3/title-h3.html +26 -0
- package/livingdocs/Titles/title-h3/web.scss +27 -0
- package/livingdocs/Titles/title-h3/word.scss +1 -0
- package/livingdocs/Titles/title-h4/app.scss +1 -0
- package/livingdocs/Titles/title-h4/general.scss +13 -0
- package/livingdocs/Titles/title-h4/ldd.scss +1 -0
- package/livingdocs/Titles/title-h4/pdf.scss +1 -0
- package/livingdocs/Titles/title-h4/print.scss +34 -0
- package/livingdocs/Titles/title-h4/title-h4.html +26 -0
- package/livingdocs/Titles/title-h4/web.scss +27 -0
- package/livingdocs/Titles/title-h4/word.scss +1 -0
- package/livingdocs/Titles/title-h5/general.scss +10 -0
- package/livingdocs/Titles/title-h5/title-h5.html +16 -0
- package/livingdocs/Titles/title-h6/general.scss +10 -0
- package/livingdocs/Titles/title-h6/title-h6.html +16 -0
- package/package.json +50 -0
- package/preparePublish.cjs +95 -0
- package/scripts/beaver.d.ts +6 -0
- package/scripts/beaver.js +316 -0
- package/scripts/build.d.ts +40 -0
- package/scripts/build.js +812 -0
- package/scripts/colors.d.ts +3 -0
- package/scripts/colors.js +27 -0
- package/scripts/components.d.ts +43 -0
- package/scripts/components.js +566 -0
- package/scripts/config.d.ts +1 -0
- package/scripts/config.js +1 -0
- package/scripts/doPublish.d.ts +1 -0
- package/scripts/doPublish.js +43 -0
- package/scripts/init.d.ts +9 -0
- package/scripts/init.js +45 -0
- package/scripts/migrate-livingdocs-build/LICENSE +21 -0
- package/scripts/migrate-livingdocs-build/bin/build.d.ts +8 -0
- package/scripts/migrate-livingdocs-build/bin/build.js +53 -0
- package/scripts/migrate-livingdocs-build/bin/migrate.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/bin/migrate.js +43 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.js +51 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.js +44 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.js +39 -0
- package/scripts/migrate-livingdocs-build/dev/build.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/build.js +7 -0
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.d.ts +20 -0
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.js +18 -0
- package/scripts/migrate-livingdocs-build/dev/configuration.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/configuration.js +34 -0
- package/scripts/migrate-livingdocs-build/dev/lib.d.ts +33 -0
- package/scripts/migrate-livingdocs-build/dev/lib.js +251 -0
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.js +80 -0
- package/scripts/migrate-livingdocs-build/dev/logger.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/logger.js +16 -0
- package/scripts/migrate-livingdocs-build/dev/migrate.d.ts +22 -0
- package/scripts/migrate-livingdocs-build/dev/migrate.js +241 -0
- package/scripts/migrate-livingdocs-build/readme.md +62 -0
- package/scripts/preparePublish.d.ts +1 -0
- package/scripts/preparePublish.js +88 -0
- package/scripts/renamePackage.d.ts +1 -0
- package/scripts/renamePackage.js +48 -0
- package/scripts/utils.d.ts +49 -0
- package/scripts/utils.js +106 -0
- package/scripts/vite.d.ts +10 -0
- package/scripts/vite.js +58 -0
- package/scss/colors/functions.scss +18 -0
- package/scss/colors/index.scss +3 -0
- package/scss/colors/mixins.scss +45 -0
- package/scss/colors/variables.scss +6 -0
- package/scss/config.scss +7 -0
- package/scss/core-styles.scss +22 -0
- package/scss/fonts/functions.scss +21 -0
- package/scss/fonts/index.scss +3 -0
- package/scss/fonts/mixins.scss +31 -0
- package/scss/fonts/variables.scss +8 -0
- package/scss/grid/functions.scss +29 -0
- package/scss/grid/index.scss +3 -0
- package/scss/grid/mixins.scss +388 -0
- package/scss/grid/variables.scss +10 -0
- package/scss/helpers/functions.scss +0 -0
- package/scss/helpers/index.scss +3 -0
- package/scss/helpers/mixins.scss +87 -0
- package/scss/helpers/variables.scss +7 -0
- package/scss/index.scss +8 -0
- package/scss/meta/functions.scss +64 -0
- package/scss/meta/index.scss +3 -0
- package/scss/meta/mixins.scss +6 -0
- package/scss/meta/variables.scss +8 -0
- package/scss/spacer/functions.scss +9 -0
- package/scss/spacer/index.scss +3 -0
- package/scss/spacer/mixins.scss +236 -0
- package/scss/spacer/variables.scss +6 -0
- package/scss/system/functions.scss +77 -0
- package/scss/system/index.scss +3 -0
- package/scss/system/mixins.scss +27 -0
- package/scss/system/root.scss +39 -0
- package/scss/system/variables.scss +13 -0
- package/scss/typography/functions.scss +63 -0
- package/scss/typography/index.scss +3 -0
- package/scss/typography/mixins.scss +262 -0
- package/scss/typography/variables.scss +11 -0
- package/tags.txt +1 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'variables';
|
|
3
|
+
@use 'functions';
|
|
4
|
+
@use '../grid';
|
|
5
|
+
@use '../system';
|
|
6
|
+
|
|
7
|
+
@mixin margin($spacer) {
|
|
8
|
+
margin: functions.get($spacer);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin margin-block($spacer) {
|
|
12
|
+
margin-block: functions.get($spacer);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin margin-inline($spacer) {
|
|
16
|
+
margin-inline: functions.get($spacer);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin margin-top($spacer) {
|
|
20
|
+
margin-block-start: functions.get($spacer);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin margin-right($spacer) {
|
|
24
|
+
margin-inline-end: functions.get($spacer);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin margin-bottom($spacer) {
|
|
28
|
+
margin-block-end: functions.get($spacer);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin margin-left($spacer) {
|
|
32
|
+
margin-inline-start: functions.get($spacer);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin padding($spacer) {
|
|
36
|
+
padding: functions.get($spacer);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin padding-block($spacer) {
|
|
40
|
+
padding-block: functions.get($spacer);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin padding-inline($spacer) {
|
|
44
|
+
padding-inline: functions.get($spacer);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin padding-top($spacer) {
|
|
48
|
+
padding-block-start: functions.get($spacer);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin padding-right($spacer) {
|
|
52
|
+
padding-inline-end: functions.get($spacer);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@mixin padding-bottom($spacer) {
|
|
56
|
+
padding-block-end: functions.get($spacer);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin padding-left($spacer) {
|
|
60
|
+
padding-inline-start: functions.get($spacer);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin gap($spacer) {
|
|
64
|
+
gap: functions.get($spacer);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@mixin row-gap($spacer) {
|
|
68
|
+
row-gap: functions.get($spacer);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@mixin column-gap($spacer) {
|
|
72
|
+
column-gap: functions.get($spacer);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@each $spacer, $spacerValue in variables.$spacer {
|
|
76
|
+
$varName: #{variables.$variable-prefix}spacer-#{$spacer};
|
|
77
|
+
@include system.add-root-style(
|
|
78
|
+
$varName,
|
|
79
|
+
system.size-unit(map.get($spacerValue, size))
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
@if not map.has-key($spacerValue, media, print) {
|
|
83
|
+
@include system.add-root-style(
|
|
84
|
+
$varName,
|
|
85
|
+
system.size-unit(map.get($spacerValue, size), in),
|
|
86
|
+
print
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@if map.has-key($spacerValue, media) {
|
|
91
|
+
@each $breakpoint, $breakpointValue in map.get($spacerValue, media) {
|
|
92
|
+
@if $breakpoint == print {
|
|
93
|
+
@include system.add-root-style(
|
|
94
|
+
$varName,
|
|
95
|
+
system.size-unit(map.get($spacerValue, size), in),
|
|
96
|
+
print
|
|
97
|
+
);
|
|
98
|
+
} @else if $breakpoint == up {
|
|
99
|
+
@each $upBreakpoint, $upBreakpointValue in $breakpointValue {
|
|
100
|
+
@include system.add-root-style(
|
|
101
|
+
$varName,
|
|
102
|
+
system.size-unit($upBreakpointValue),
|
|
103
|
+
$upBreakpoint,
|
|
104
|
+
up
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
} @else if $breakpoint == down {
|
|
108
|
+
@each $downBreakpoint, $downBreakpointValue in $breakpointValue {
|
|
109
|
+
@include system.add-root-style(
|
|
110
|
+
$varName,
|
|
111
|
+
system.size-unit($downBreakpointValue),
|
|
112
|
+
$downBreakpoint,
|
|
113
|
+
down
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
} @else {
|
|
117
|
+
@include system.add-root-style(
|
|
118
|
+
$varName,
|
|
119
|
+
system.size-unit($breakpointValue),
|
|
120
|
+
$breakpoint
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@mixin core-styles {
|
|
128
|
+
@at-root {
|
|
129
|
+
@each $spacer, $spacerValue in variables.$spacer {
|
|
130
|
+
.#{variables.$class-prefix}ma-none {
|
|
131
|
+
margin: 0;
|
|
132
|
+
}
|
|
133
|
+
.#{variables.$class-prefix}my-none {
|
|
134
|
+
margin-block: 0;
|
|
135
|
+
}
|
|
136
|
+
.#{variables.$class-prefix}mx-none {
|
|
137
|
+
margin-inline: 0;
|
|
138
|
+
}
|
|
139
|
+
.#{variables.$class-prefix}mt-none {
|
|
140
|
+
margin-block-start: 0;
|
|
141
|
+
}
|
|
142
|
+
.#{variables.$class-prefix}mr-none {
|
|
143
|
+
margin-inline-end: 0;
|
|
144
|
+
}
|
|
145
|
+
.#{variables.$class-prefix}mb-none {
|
|
146
|
+
margin-block-end: 0;
|
|
147
|
+
}
|
|
148
|
+
.#{variables.$class-prefix}ml-none {
|
|
149
|
+
margin-inline-start: 0;
|
|
150
|
+
}
|
|
151
|
+
.#{variables.$class-prefix}ma-#{'' + $spacer} {
|
|
152
|
+
@include margin($spacer);
|
|
153
|
+
}
|
|
154
|
+
.#{variables.$class-prefix}my-#{'' + $spacer} {
|
|
155
|
+
@include margin-block($spacer);
|
|
156
|
+
}
|
|
157
|
+
.#{variables.$class-prefix}mx-#{'' + $spacer} {
|
|
158
|
+
@include margin-inline($spacer);
|
|
159
|
+
}
|
|
160
|
+
.#{variables.$class-prefix}mt-#{'' + $spacer} {
|
|
161
|
+
@include margin-top($spacer);
|
|
162
|
+
}
|
|
163
|
+
.#{variables.$class-prefix}mr-#{'' + $spacer} {
|
|
164
|
+
@include margin-right($spacer);
|
|
165
|
+
}
|
|
166
|
+
.#{variables.$class-prefix}mb-#{'' + $spacer} {
|
|
167
|
+
@include margin-bottom($spacer);
|
|
168
|
+
}
|
|
169
|
+
.#{variables.$class-prefix}ml-#{'' + $spacer} {
|
|
170
|
+
@include margin-left($spacer);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.#{variables.$class-prefix}pa-none {
|
|
174
|
+
padding: 0;
|
|
175
|
+
}
|
|
176
|
+
.#{variables.$class-prefix}py-none {
|
|
177
|
+
padding-block: 0;
|
|
178
|
+
}
|
|
179
|
+
.#{variables.$class-prefix}px-none {
|
|
180
|
+
padding-inline: 0;
|
|
181
|
+
}
|
|
182
|
+
.#{variables.$class-prefix}pt-none {
|
|
183
|
+
padding-block-start: 0;
|
|
184
|
+
}
|
|
185
|
+
.#{variables.$class-prefix}pr-none {
|
|
186
|
+
padding-inline-end: 0;
|
|
187
|
+
}
|
|
188
|
+
.#{variables.$class-prefix}pb-none {
|
|
189
|
+
padding-block-end: 0;
|
|
190
|
+
}
|
|
191
|
+
.#{variables.$class-prefix}pl-none {
|
|
192
|
+
padding-inline-start: 0;
|
|
193
|
+
}
|
|
194
|
+
.#{variables.$class-prefix}pa-#{'' + $spacer} {
|
|
195
|
+
@include padding($spacer);
|
|
196
|
+
}
|
|
197
|
+
.#{variables.$class-prefix}py-#{'' + $spacer} {
|
|
198
|
+
@include padding-block($spacer);
|
|
199
|
+
}
|
|
200
|
+
.#{variables.$class-prefix}px-#{'' + $spacer} {
|
|
201
|
+
@include padding-inline($spacer);
|
|
202
|
+
}
|
|
203
|
+
.#{variables.$class-prefix}pt-#{'' + $spacer} {
|
|
204
|
+
@include padding-top($spacer);
|
|
205
|
+
}
|
|
206
|
+
.#{variables.$class-prefix}pr-#{'' + $spacer} {
|
|
207
|
+
@include padding-right($spacer);
|
|
208
|
+
}
|
|
209
|
+
.#{variables.$class-prefix}pb-#{'' + $spacer} {
|
|
210
|
+
@include padding-bottom($spacer);
|
|
211
|
+
}
|
|
212
|
+
.#{variables.$class-prefix}pl-#{'' + $spacer} {
|
|
213
|
+
@include padding-left($spacer);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.#{variables.$class-prefix}gap-none {
|
|
217
|
+
gap: 0;
|
|
218
|
+
}
|
|
219
|
+
.#{variables.$class-prefix}gap-#{'' + $spacer} {
|
|
220
|
+
@include gap($spacer);
|
|
221
|
+
}
|
|
222
|
+
.#{variables.$class-prefix}row-gap-none {
|
|
223
|
+
row-gap: 0;
|
|
224
|
+
}
|
|
225
|
+
.#{variables.$class-prefix}row-gap-#{'' + $spacer} {
|
|
226
|
+
@include row-gap($spacer);
|
|
227
|
+
}
|
|
228
|
+
.#{variables.$class-prefix}column-gap-none {
|
|
229
|
+
column-gap: 0;
|
|
230
|
+
}
|
|
231
|
+
.#{variables.$class-prefix}column-gap-#{'' + $spacer} {
|
|
232
|
+
@include column-gap($spacer);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@use 'variables';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use 'sass:list';
|
|
4
|
+
@use 'sass:math';
|
|
5
|
+
@use 'sass:meta';
|
|
6
|
+
|
|
7
|
+
@function map-get-next($map, $key, $fallback: false, $return: value) {
|
|
8
|
+
// Check if map is valid
|
|
9
|
+
@if meta.type-of($map) == map {
|
|
10
|
+
// Check if key exists in map
|
|
11
|
+
@if map.has-key($map, $key) {
|
|
12
|
+
// Init index counter variable
|
|
13
|
+
$i: 0;
|
|
14
|
+
// Init key index
|
|
15
|
+
$key-index: false;
|
|
16
|
+
// Traverse map for key
|
|
17
|
+
@each $map-key, $map-value in $map {
|
|
18
|
+
// Update index
|
|
19
|
+
$i: $i + 1;
|
|
20
|
+
// If map key found, set key index
|
|
21
|
+
@if $map-key == $key {
|
|
22
|
+
$key-index: $i;
|
|
23
|
+
}
|
|
24
|
+
// If next index return next value or key based on $return
|
|
25
|
+
@if $i == $key-index + 1 {
|
|
26
|
+
@if $return == key {
|
|
27
|
+
@return $map-key;
|
|
28
|
+
} @else {
|
|
29
|
+
@return $map-value;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// If last entry return false
|
|
33
|
+
@if $i == list.length($map) {
|
|
34
|
+
@return $fallback;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
@warn 'No next map item for key #{$key}';
|
|
38
|
+
@return $fallback;
|
|
39
|
+
}
|
|
40
|
+
@warn 'No valid key #{$key} in map';
|
|
41
|
+
@return $fallback;
|
|
42
|
+
}
|
|
43
|
+
@warn 'No valid map';
|
|
44
|
+
@return $fallback;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@function size-unit($size, $size-unit: false) {
|
|
48
|
+
@if not $size-unit {
|
|
49
|
+
$size-unit: variables.$size-unit;
|
|
50
|
+
}
|
|
51
|
+
@if meta.type-of($size) == 'number' and math.is-unitless($size) and $size != 0
|
|
52
|
+
{
|
|
53
|
+
@if $size-unit == 'rem' {
|
|
54
|
+
@return math.div($size, variables.$root-size) + rem;
|
|
55
|
+
} @else if $size-unit == 'in' {
|
|
56
|
+
@return math.div($size, variables.$dpi) + in;
|
|
57
|
+
} @else if $size-unit == 'pt' {
|
|
58
|
+
@return ($size * variables.$point) + pt;
|
|
59
|
+
} @else {
|
|
60
|
+
@return $size + $size-unit;
|
|
61
|
+
}
|
|
62
|
+
} @else if $size == false {
|
|
63
|
+
@return unset;
|
|
64
|
+
} @else if $size == null {
|
|
65
|
+
@return unset;
|
|
66
|
+
} @else {
|
|
67
|
+
@return #{$size};
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@function strip-unit($number) {
|
|
72
|
+
@if meta.type-of($number) == 'number' and not math.is-unitless($number) {
|
|
73
|
+
@return math.div($number, ($number * 0 + 1));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@return $number;
|
|
77
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'variables';
|
|
3
|
+
|
|
4
|
+
$styles: ();
|
|
5
|
+
$stylesUp: ();
|
|
6
|
+
$stylesDown: ();
|
|
7
|
+
$stylesOnly: ();
|
|
8
|
+
|
|
9
|
+
@mixin add-root-style($key, $value, $breakpoint: false, $mediaBehavior: false) {
|
|
10
|
+
@if $breakpoint {
|
|
11
|
+
@if $mediaBehavior {
|
|
12
|
+
@if $mediaBehavior == up {
|
|
13
|
+
$stylesUp: map.set($stylesUp, $breakpoint, $key, $value) !global;
|
|
14
|
+
}
|
|
15
|
+
@if $mediaBehavior == down {
|
|
16
|
+
$stylesDown: map.set($stylesDown, $breakpoint, $key, $value) !global;
|
|
17
|
+
}
|
|
18
|
+
} @else {
|
|
19
|
+
$stylesOnly: map.set($stylesOnly, $breakpoint, $key, $value) !global;
|
|
20
|
+
}
|
|
21
|
+
} @else {
|
|
22
|
+
$styles: map.set($styles, $key, $value) !global;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin core-styles {
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use 'variables';
|
|
2
|
+
@use 'mixins';
|
|
3
|
+
@use '../grid';
|
|
4
|
+
|
|
5
|
+
@mixin core-styles {
|
|
6
|
+
@each $key, $value in variables.$root-styles {
|
|
7
|
+
@include add-root-style($key, $value);
|
|
8
|
+
}
|
|
9
|
+
@at-root {
|
|
10
|
+
:root {
|
|
11
|
+
@each $key, $value in mixins.$styles {
|
|
12
|
+
--#{$key}: #{$value};
|
|
13
|
+
}
|
|
14
|
+
@each $breakpoint, $breakpointValue in mixins.$stylesUp {
|
|
15
|
+
@include grid.media-up($breakpoint) {
|
|
16
|
+
@each $key, $value in $breakpointValue {
|
|
17
|
+
--#{$key}: #{$value};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@each $breakpoint, $breakpointValue in mixins.$stylesDown {
|
|
23
|
+
@include grid.media-down($breakpoint) {
|
|
24
|
+
@each $key, $value in $breakpointValue {
|
|
25
|
+
--#{$key}: #{$value};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@each $breakpoint, $breakpointValue in mixins.$stylesOnly {
|
|
31
|
+
@include grid.media($breakpoint) {
|
|
32
|
+
@each $key, $value in $breakpointValue {
|
|
33
|
+
--#{$key}: #{$value};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
$environment: development !default;
|
|
2
|
+
|
|
3
|
+
$variable-prefix: 'srl-' !default;
|
|
4
|
+
$class-prefix: 'srl-' !default;
|
|
5
|
+
|
|
6
|
+
$dpi: 96 !default;
|
|
7
|
+
$point: 0.75 !default;
|
|
8
|
+
$root-size: 16 !default;
|
|
9
|
+
$size-unit: 'rem' !default;
|
|
10
|
+
|
|
11
|
+
$meta: () !default;
|
|
12
|
+
|
|
13
|
+
$root-styles: () !default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'variables';
|
|
3
|
+
@use '../system';
|
|
4
|
+
|
|
5
|
+
@function get-font-family($typo) {
|
|
6
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
7
|
+
@error "Invalid typo for typography specified! Choose one of #{map.keys(variables.$typography)}";
|
|
8
|
+
}
|
|
9
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-font-family, unset);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@function get-font-size($typo) {
|
|
13
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
14
|
+
@error "Invalid typo for typo specified! Choose one of #{map.keys(variables.$typography)}";
|
|
15
|
+
}
|
|
16
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-font-size, unset);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@function get-line-height($typo) {
|
|
20
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
21
|
+
@error "Invalid typo for typography specified! Choose one of #{map.keys(variables.$typography)}";
|
|
22
|
+
}
|
|
23
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-line-height, unset);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@function get-font-style($typo) {
|
|
27
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
28
|
+
@error "Invalid typo for typography specified! Choose one of #{map.keys(variables.$typography)}";
|
|
29
|
+
}
|
|
30
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-font-style, normal);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@function get-font-weight($typo) {
|
|
34
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-font-weight, unset);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@function get-letter-spacing($typo) {
|
|
38
|
+
@return var(
|
|
39
|
+
--#{variables.$variable-prefix}typo-#{$typo}-letter-spacing,
|
|
40
|
+
unset
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@function get-text-transform($typo) {
|
|
45
|
+
@return var(
|
|
46
|
+
--#{variables.$variable-prefix}typo-#{$typo}-text-transform,
|
|
47
|
+
unset
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@function get-margin-top($typo) {
|
|
52
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
53
|
+
@error "Invalid typo for typography specified! Choose one of #{map.keys(variables.$typography)}";
|
|
54
|
+
}
|
|
55
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-margin-top, 0);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@function get-margin-bottom($typo) {
|
|
59
|
+
@if not map.has-key(variables.$typography, $typo) {
|
|
60
|
+
@error "Invalid typo for typography specified! Choose one of #{map.keys(variables.$typography)}";
|
|
61
|
+
}
|
|
62
|
+
@return var(--#{variables.$variable-prefix}typo-#{$typo}-margin-bottom, 0);
|
|
63
|
+
}
|