@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,388 @@
|
|
|
1
|
+
@use 'variables';
|
|
2
|
+
@use 'functions';
|
|
3
|
+
@use '../system';
|
|
4
|
+
@use 'sass:math';
|
|
5
|
+
@use 'sass:map';
|
|
6
|
+
@use 'sass:list';
|
|
7
|
+
|
|
8
|
+
@mixin media($breakpoint) {
|
|
9
|
+
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
10
|
+
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
11
|
+
}
|
|
12
|
+
@if $breakpoint == print {
|
|
13
|
+
@media print {
|
|
14
|
+
@content;
|
|
15
|
+
}
|
|
16
|
+
} @else {
|
|
17
|
+
$min: map.get(variables.$breakpoints, $breakpoint);
|
|
18
|
+
@if $min == 0 {
|
|
19
|
+
$min: false;
|
|
20
|
+
}
|
|
21
|
+
$next: system.map-get-next(variables.$breakpoints, $breakpoint);
|
|
22
|
+
$max: false;
|
|
23
|
+
@if $next {
|
|
24
|
+
$max: $next - 1;
|
|
25
|
+
}
|
|
26
|
+
@if (not $min and $max) {
|
|
27
|
+
@media screen and (max-width: #{system.size-unit($max)}) {
|
|
28
|
+
@content;
|
|
29
|
+
}
|
|
30
|
+
} @else if ($min and not $max) {
|
|
31
|
+
@media screen and (min-width: #{system.size-unit($min)}) {
|
|
32
|
+
@content;
|
|
33
|
+
}
|
|
34
|
+
} @else if ($min and $max) {
|
|
35
|
+
@media screen and (min-width: #{system.size-unit($min)}) and (max-width: #{system.size-unit($max)}) {
|
|
36
|
+
@content;
|
|
37
|
+
}
|
|
38
|
+
} @else {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin media-up($breakpoint) {
|
|
45
|
+
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
46
|
+
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
47
|
+
}
|
|
48
|
+
$min: map.get(variables.$breakpoints, $breakpoint);
|
|
49
|
+
|
|
50
|
+
@if $min == 0 {
|
|
51
|
+
@content;
|
|
52
|
+
} @else {
|
|
53
|
+
@media screen and (min-width: #{system.size-unit($min)}) {
|
|
54
|
+
@content;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin media-down($breakpoint) {
|
|
60
|
+
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
61
|
+
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
62
|
+
}
|
|
63
|
+
$next: system.map-get-next(variables.$breakpoints, $breakpoint);
|
|
64
|
+
$max: false;
|
|
65
|
+
@if $next {
|
|
66
|
+
$max: $next - 1;
|
|
67
|
+
}
|
|
68
|
+
@if $max {
|
|
69
|
+
@media screen and (max-width: #{system.size-unit($max)}) {
|
|
70
|
+
@content;
|
|
71
|
+
}
|
|
72
|
+
} @else {
|
|
73
|
+
@error "Invalid max breakpoint #{$breakpoint} specified! Choose one of #{map.keys(map-remove(variables.$breakpoints, $breakpoint))}";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@mixin media-between($breakpoint-min, $breakpoint-max) {
|
|
78
|
+
@if (
|
|
79
|
+
not
|
|
80
|
+
map.has-key(variables.$breakpoints, $breakpoint-min) or not
|
|
81
|
+
map.has-key(variables.$breakpoints, $breakpoint-max)
|
|
82
|
+
) {
|
|
83
|
+
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
84
|
+
}
|
|
85
|
+
$min: map.get(variables.$breakpoints, $breakpoint-min);
|
|
86
|
+
@if $min == 0 {
|
|
87
|
+
$min: false;
|
|
88
|
+
}
|
|
89
|
+
$next: system.map-get-next(variables.$breakpoints, $breakpoint-max);
|
|
90
|
+
$max: false;
|
|
91
|
+
@if $next {
|
|
92
|
+
$max: $next - 1;
|
|
93
|
+
}
|
|
94
|
+
@if (not $min and $max) {
|
|
95
|
+
@media screen and (max-width: #{system.size-unit($max)}) {
|
|
96
|
+
@content;
|
|
97
|
+
}
|
|
98
|
+
} @else if ($min and not $max) {
|
|
99
|
+
@media screen and (min-width: #{system.size-unit($min)}) {
|
|
100
|
+
@content;
|
|
101
|
+
}
|
|
102
|
+
} @else if ($min and $max) {
|
|
103
|
+
@media screen and (min-width: #{system.size-unit($min)}) and (max-width: #{system.size-unit($max)}) {
|
|
104
|
+
@content;
|
|
105
|
+
}
|
|
106
|
+
} @else {
|
|
107
|
+
@content;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@mixin container-fluid {
|
|
112
|
+
padding-inline: var(--#{variables.$variable-prefix}container-padding, unset);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@mixin container {
|
|
116
|
+
max-width: var(--#{variables.$variable-prefix}container-max-width, unset);
|
|
117
|
+
padding-inline: var(--#{variables.$variable-prefix}container-padding, unset);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@mixin row() {
|
|
121
|
+
display: grid;
|
|
122
|
+
grid-template-columns: repeat(
|
|
123
|
+
var(--#{variables.$variable-prefix}gutter-columns),
|
|
124
|
+
1fr
|
|
125
|
+
);
|
|
126
|
+
column-gap: var(--#{variables.$variable-prefix}gutter-column-gap);
|
|
127
|
+
row-gap: var(--#{variables.$variable-prefix}gutter-row-gap);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@mixin col($span: false, $breakpoint-start: false, $breakpoint-end: false) {
|
|
131
|
+
@if $breakpoint-start and $breakpoint-end and $span {
|
|
132
|
+
@include media-between($breakpoint-start, $breakpoint-end) {
|
|
133
|
+
width: auto;
|
|
134
|
+
grid-column-end: span #{$span};
|
|
135
|
+
}
|
|
136
|
+
} @else if $breakpoint-start and $span {
|
|
137
|
+
@include media($breakpoint-start) {
|
|
138
|
+
width: auto;
|
|
139
|
+
grid-column-end: span #{$span};
|
|
140
|
+
}
|
|
141
|
+
} @else if $span {
|
|
142
|
+
width: auto;
|
|
143
|
+
grid-column-end: span #{$span};
|
|
144
|
+
} @else {
|
|
145
|
+
width: auto;
|
|
146
|
+
grid-column-end: span #{variables.$column-default-span};
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@mixin offset($offset, $breakpoint: false) {
|
|
151
|
+
@if $breakpoint {
|
|
152
|
+
@if not map.has-key(variables.$breakpoints, $breakpoint) {
|
|
153
|
+
@error "Invalid breakpoint specified! Choose one of #{map.keys(variables.$breakpoints)}";
|
|
154
|
+
}
|
|
155
|
+
@include media($breakpoint) {
|
|
156
|
+
grid-column-start: ($offset + 1);
|
|
157
|
+
}
|
|
158
|
+
} @else {
|
|
159
|
+
grid-column-start: ($offset + 1);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@each $breakpoint, $min-width in variables.$breakpoints {
|
|
164
|
+
$size-unit: false;
|
|
165
|
+
@if $breakpoint == print {
|
|
166
|
+
$size-unit: in;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@include system.add-root-style(
|
|
170
|
+
#{variables.$variable-prefix}breakpoint-#{$breakpoint},
|
|
171
|
+
system.size-unit($min-width, $size-unit)
|
|
172
|
+
);
|
|
173
|
+
|
|
174
|
+
$container: map.get(variables.$containers, $breakpoint);
|
|
175
|
+
|
|
176
|
+
$container-max-width: map.get($container, max-width);
|
|
177
|
+
@if not $container-max-width {
|
|
178
|
+
$container-max-width: unset;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@include system.add-root-style(
|
|
182
|
+
#{variables.$variable-prefix}container-max-width,
|
|
183
|
+
system.size-unit($container-max-width, $size-unit),
|
|
184
|
+
$breakpoint
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
$container-padding: map.get($container, padding);
|
|
188
|
+
@if not $container-padding {
|
|
189
|
+
$container-padding: unset;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@include system.add-root-style(
|
|
193
|
+
#{variables.$variable-prefix}container-padding,
|
|
194
|
+
system.size-unit($container-padding, $size-unit),
|
|
195
|
+
$breakpoint
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
$gutter: map.get(variables.$gutter, $breakpoint);
|
|
199
|
+
@if not $gutter {
|
|
200
|
+
$gutter: (
|
|
201
|
+
columns: 1,
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
$columns: map.get($gutter, columns);
|
|
206
|
+
@if not $columns {
|
|
207
|
+
$columns: 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
$gap: map.get($gutter, gap);
|
|
211
|
+
$row-gap: unset;
|
|
212
|
+
$column-gap: unset;
|
|
213
|
+
@if $gap {
|
|
214
|
+
$row-gap: $gap;
|
|
215
|
+
$column-gap: $gap;
|
|
216
|
+
} @else {
|
|
217
|
+
@if map.has-key($gutter, row-gap) {
|
|
218
|
+
$row-gap: map.get($gutter, row-gap);
|
|
219
|
+
}
|
|
220
|
+
@if map.has-key($gutter, column-gap) {
|
|
221
|
+
$column-gap: map.get($gutter, column-gap);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@include system.add-root-style(
|
|
226
|
+
#{variables.$variable-prefix}gutter-columns,
|
|
227
|
+
$columns,
|
|
228
|
+
$breakpoint
|
|
229
|
+
);
|
|
230
|
+
@include system.add-root-style(
|
|
231
|
+
#{variables.$variable-prefix}gutter-row-gap,
|
|
232
|
+
system.size-unit($row-gap, $size-unit),
|
|
233
|
+
$breakpoint
|
|
234
|
+
);
|
|
235
|
+
|
|
236
|
+
@include system.add-root-style(
|
|
237
|
+
#{variables.$variable-prefix}gutter-column-gap,
|
|
238
|
+
system.size-unit($column-gap, $size-unit),
|
|
239
|
+
$breakpoint
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@mixin core-styles {
|
|
244
|
+
@at-root {
|
|
245
|
+
.#{variables.$class-prefix}container {
|
|
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
|
+
}
|
|
367
|
+
|
|
368
|
+
&-offset {
|
|
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
|
+
}
|
|
388
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@use '../system';
|
|
2
|
+
@use '../typography';
|
|
3
|
+
@use 'variables';
|
|
4
|
+
|
|
5
|
+
@mixin trim-margins {
|
|
6
|
+
> * {
|
|
7
|
+
&:first-child {
|
|
8
|
+
margin-block-start: 0;
|
|
9
|
+
}
|
|
10
|
+
&:last-child {
|
|
11
|
+
margin-block-end: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
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
|
+
@mixin list-reset() {
|
|
50
|
+
list-style: none;
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: 0;
|
|
53
|
+
li {
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin list-default($list-style: circle) {
|
|
60
|
+
list-style: #{$list-style};
|
|
61
|
+
margin: system.size-unit(variables.$default-list-margin);
|
|
62
|
+
padding: system.size-unit(variables.$default-list-padding);
|
|
63
|
+
li {
|
|
64
|
+
margin: system.size-unit(variables.$default-list-margin);
|
|
65
|
+
padding: system.size-unit(variables.$default-list-padding);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin clearfix {
|
|
70
|
+
&:after {
|
|
71
|
+
content: '';
|
|
72
|
+
display: table;
|
|
73
|
+
clear: both;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@mixin core-styles {
|
|
78
|
+
.#{variables.$class-prefix}list-reset {
|
|
79
|
+
@include list-reset;
|
|
80
|
+
}
|
|
81
|
+
.#{variables.$class-prefix}trim-margins {
|
|
82
|
+
@include trim-margins;
|
|
83
|
+
}
|
|
84
|
+
.#{variables.$class-prefix}clearfix {
|
|
85
|
+
@include clearfix;
|
|
86
|
+
}
|
|
87
|
+
}
|
package/scss/index.scss
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use 'variables';
|
|
2
|
+
@use 'sass:list';
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@use '../system';
|
|
5
|
+
|
|
6
|
+
@function is($list, $map: variables.$meta) {
|
|
7
|
+
$current: false;
|
|
8
|
+
$next: ();
|
|
9
|
+
|
|
10
|
+
@each $key, $index in $list {
|
|
11
|
+
@if $current == false {
|
|
12
|
+
$current: $key;
|
|
13
|
+
} @else {
|
|
14
|
+
$next: list.append($next, $key);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@if $current and map.has-key($map, $current) {
|
|
19
|
+
@if list.length($next) > 0 {
|
|
20
|
+
@return is($next, map.get($map, $current));
|
|
21
|
+
} @else {
|
|
22
|
+
@return true;
|
|
23
|
+
}
|
|
24
|
+
} @else {
|
|
25
|
+
@return false;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@function get($list, $map: variables.$meta) {
|
|
30
|
+
$current: false;
|
|
31
|
+
$next: ();
|
|
32
|
+
|
|
33
|
+
@each $key, $index in $list {
|
|
34
|
+
@if $current == false {
|
|
35
|
+
$current: $key;
|
|
36
|
+
} @else {
|
|
37
|
+
$next: list.append($next, $key);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@if $current and map.has-key($map, $current) {
|
|
42
|
+
@if list.length($next) > 0 {
|
|
43
|
+
@return get($next, map.get($map, $current));
|
|
44
|
+
} @else {
|
|
45
|
+
@return map.get($map, $current);
|
|
46
|
+
}
|
|
47
|
+
} @else {
|
|
48
|
+
@return false;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@function spacer($name, $size-unit: false) {
|
|
53
|
+
@if not map.has-key(variables.$spacer, $name) {
|
|
54
|
+
@error "Invalid name for spacer specified! Choose one of #{map.keys(variables.$spacer)}";
|
|
55
|
+
}
|
|
56
|
+
@return system.size-unit(map.get(variables.$spacer, $name), $size-unit);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@function padding($name, $size-unit: false) {
|
|
60
|
+
@if not map.has-key(variables.$padding, $name) {
|
|
61
|
+
@error "Invalid name for padding specified! Choose one of #{map.keys(variables.$padding)}";
|
|
62
|
+
}
|
|
63
|
+
@return system.size-unit(map.get(variables.$padding, $name), $size-unit);
|
|
64
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@use 'variables';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@function get($spacer) {
|
|
5
|
+
@if not map.has-key(variables.$spacer, $spacer) {
|
|
6
|
+
@error "Invalid column-gap "#{$spacer}" specified! Choose one of #{map.keys(variables.$spacer)}";
|
|
7
|
+
}
|
|
8
|
+
@return var(--#{variables.$variable-prefix}spacer-#{$spacer});
|
|
9
|
+
}
|