@qhealth-design-system/core 1.0.38
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/.babelrc +15 -0
- package/.browserslistrc +5 -0
- package/.editorconfig +19 -0
- package/.eslintignore +1 -0
- package/.eslintrc +25 -0
- package/.gitattributes +2 -0
- package/.github/workflows/release_package.yml +103 -0
- package/CHANGELOG.md +14 -0
- package/README.md +534 -0
- package/dist/api/service_finder/schemas.json +1 -0
- package/dist/component-abstract.html +884 -0
- package/dist/component-accordion.html +1157 -0
- package/dist/component-banner.html +928 -0
- package/dist/component-banner_advanced.html +1524 -0
- package/dist/component-banner_basic.html +1189 -0
- package/dist/component-banner_intermediate.html +1288 -0
- package/dist/component-body.html +919 -0
- package/dist/component-breadcrumbs.html +881 -0
- package/dist/component-btn.html +829 -0
- package/dist/component-callout.html +964 -0
- package/dist/component-card_feature.html +1805 -0
- package/dist/component-card_multi_action.html +1965 -0
- package/dist/component-card_no_action.html +1632 -0
- package/dist/component-card_single_action.html +1772 -0
- package/dist/component-code.html +928 -0
- package/dist/component-footer.html +1131 -0
- package/dist/component-forms.html +1297 -0
- package/dist/component-global-elements.html +1243 -0
- package/dist/component-global_alert.html +891 -0
- package/dist/component-header.html +1155 -0
- package/dist/component-in_page_navigation.html +920 -0
- package/dist/component-internal_navigation.html +1097 -0
- package/dist/component-left_hand_navigation.html +995 -0
- package/dist/component-main_navigation.html +999 -0
- package/dist/component-mega_main_navigation.html +1145 -0
- package/dist/component-multi_column.html +1116 -0
- package/dist/component-page_alert.html +911 -0
- package/dist/component-pagination.html +971 -0
- package/dist/component-tag_list.html +979 -0
- package/dist/component-updated_date.html +778 -0
- package/dist/component-widgets.html +851 -0
- package/dist/components/_global/import.xml +95 -0
- package/dist/components/_global/manifest.json +11 -0
- package/dist/components/_global/presentation.js +50 -0
- package/dist/components/_global/static.html +30 -0
- package/dist/components/_template/import.xml +299 -0
- package/dist/components/_template/manifest.json +40 -0
- package/dist/components/_template/presentation.js +12 -0
- package/dist/components/_template/static.html +4 -0
- package/dist/components/abstract/import.xml +231 -0
- package/dist/components/abstract/manifest.json +29 -0
- package/dist/components/abstract/presentation.js +33 -0
- package/dist/components/abstract/static.html +9 -0
- package/dist/components/accordion/import.xml +1929 -0
- package/dist/components/accordion/manifest.json +427 -0
- package/dist/components/accordion/presentation.js +112 -0
- package/dist/components/accordion/static.html +56 -0
- package/dist/components/banner/import.xml +95 -0
- package/dist/components/banner/manifest.json +11 -0
- package/dist/components/banner/presentation.js +138 -0
- package/dist/components/banner/static.html +39 -0
- package/dist/components/banner_advanced/import.xml +1969 -0
- package/dist/components/banner_advanced/manifest.json +1450 -0
- package/dist/components/banner_advanced/presentation.js +564 -0
- package/dist/components/banner_advanced/static.html +159 -0
- package/dist/components/banner_basic/import.xml +907 -0
- package/dist/components/banner_basic/manifest.json +151 -0
- package/dist/components/banner_basic/presentation.js +325 -0
- package/dist/components/banner_basic/static.html +86 -0
- package/dist/components/banner_intermediate/import.xml +1473 -0
- package/dist/components/banner_intermediate/manifest.json +248 -0
- package/dist/components/banner_intermediate/presentation.js +410 -0
- package/dist/components/banner_intermediate/static.html +102 -0
- package/dist/components/body/import.xml +343 -0
- package/dist/components/body/manifest.json +46 -0
- package/dist/components/body/presentation.js +37 -0
- package/dist/components/body/static.html +5 -0
- package/dist/components/breadcrumbs/import.xml +95 -0
- package/dist/components/breadcrumbs/manifest.json +9 -0
- package/dist/components/breadcrumbs/presentation.js +99 -0
- package/dist/components/breadcrumbs/static.html +21 -0
- package/dist/components/callout/import.xml +953 -0
- package/dist/components/callout/manifest.json +121 -0
- package/dist/components/callout/presentation.js +103 -0
- package/dist/components/callout/static.html +10 -0
- package/dist/components/card_feature/import.xml +2355 -0
- package/dist/components/card_feature/manifest.json +1390 -0
- package/dist/components/card_feature/presentation.js +365 -0
- package/dist/components/card_feature/static.html +80 -0
- package/dist/components/card_multi_action/import.xml +1539 -0
- package/dist/components/card_multi_action/manifest.json +1314 -0
- package/dist/components/card_multi_action/presentation.js +638 -0
- package/dist/components/card_multi_action/static.html +120 -0
- package/dist/components/card_no_action/import.xml +1449 -0
- package/dist/components/card_no_action/manifest.json +1264 -0
- package/dist/components/card_no_action/presentation.js +454 -0
- package/dist/components/card_no_action/static.html +94 -0
- package/dist/components/card_single_action/import.xml +1539 -0
- package/dist/components/card_single_action/manifest.json +1273 -0
- package/dist/components/card_single_action/presentation.js +498 -0
- package/dist/components/card_single_action/static.html +103 -0
- package/dist/components/code/import.xml +569 -0
- package/dist/components/code/manifest.json +112 -0
- package/dist/components/code/presentation.js +124 -0
- package/dist/components/code/static.html +15 -0
- package/dist/components/footer/import.xml +95 -0
- package/dist/components/footer/manifest.json +9 -0
- package/dist/components/footer/presentation.js +409 -0
- package/dist/components/footer/static.html +146 -0
- package/dist/components/global_alert/import.xml +95 -0
- package/dist/components/global_alert/manifest.json +9 -0
- package/dist/components/global_alert/presentation.js +81 -0
- package/dist/components/global_alert/static.html +26 -0
- package/dist/components/header/import.xml +95 -0
- package/dist/components/header/manifest.json +11 -0
- package/dist/components/header/presentation.js +190 -0
- package/dist/components/header/static.html +158 -0
- package/dist/components/horizontal_rule/import.xml +547 -0
- package/dist/components/horizontal_rule/manifest.json +69 -0
- package/dist/components/horizontal_rule/presentation.js +50 -0
- package/dist/components/horizontal_rule/static.html +4 -0
- package/dist/components/in_page_navigation/import.xml +253 -0
- package/dist/components/in_page_navigation/manifest.json +35 -0
- package/dist/components/in_page_navigation/presentation.js +14 -0
- package/dist/components/in_page_navigation/static.html +13 -0
- package/dist/components/internal_navigation/import.xml +95 -0
- package/dist/components/internal_navigation/manifest.json +11 -0
- package/dist/components/internal_navigation/presentation.js +165 -0
- package/dist/components/internal_navigation/static.html +130 -0
- package/dist/components/left_hand_navigation/import.xml +299 -0
- package/dist/components/left_hand_navigation/manifest.json +40 -0
- package/dist/components/left_hand_navigation/presentation.js +178 -0
- package/dist/components/left_hand_navigation/static.html +64 -0
- package/dist/components/main_navigation/import.xml +95 -0
- package/dist/components/main_navigation/manifest.json +11 -0
- package/dist/components/main_navigation/presentation.js +150 -0
- package/dist/components/main_navigation/static.html +80 -0
- package/dist/components/mega_main_navigation/import.xml +95 -0
- package/dist/components/mega_main_navigation/manifest.json +9 -0
- package/dist/components/mega_main_navigation/presentation.js +380 -0
- package/dist/components/mega_main_navigation/static.html +153 -0
- package/dist/components/multi_column/import.xml +1631 -0
- package/dist/components/multi_column/manifest.json +233 -0
- package/dist/components/multi_column/presentation.js +249 -0
- package/dist/components/multi_column/static.html +36 -0
- package/dist/components/page_alert/import.xml +479 -0
- package/dist/components/page_alert/manifest.json +63 -0
- package/dist/components/page_alert/presentation.js +67 -0
- package/dist/components/page_alert/static.html +8 -0
- package/dist/components/pagination/import.xml +95 -0
- package/dist/components/pagination/manifest.json +42 -0
- package/dist/components/pagination/presentation.js +84 -0
- package/dist/components/pagination/static.html +5 -0
- package/dist/components/updated_date/import.xml +95 -0
- package/dist/components/updated_date/manifest.json +9 -0
- package/dist/components/updated_date/presentation.js +34 -0
- package/dist/components/updated_date/static.html +6 -0
- package/dist/components/widgets/import.xml +95 -0
- package/dist/components/widgets/manifest.json +9 -0
- package/dist/components/widgets/presentation.js +40 -0
- package/dist/components/widgets/static.html +0 -0
- package/dist/components.html +790 -0
- package/dist/externals/componentPreview.js +101 -0
- package/dist/externals/dsComponentLoader.js +410 -0
- package/dist/externals/esri-leaflet-vector.js +5 -0
- package/dist/externals/esri-leaflet.js +12 -0
- package/dist/externals/fb-handlebars.min.js +29 -0
- package/dist/externals/fb-typeahead.bundle.min.js +6 -0
- package/dist/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/dist/externals/getPagination.js +62 -0
- package/dist/externals/handlebars.min-v4.7.6.js +29 -0
- package/dist/externals/leaflet.js +6 -0
- package/dist/externals/populateDatastoreSim.js +381 -0
- package/dist/externals/tinymce_classes.css +62 -0
- package/dist/home.html +694 -0
- package/dist/index.html +710 -0
- package/dist/inner-with-nav.html +1853 -0
- package/dist/inner.html +671 -0
- package/dist/js/helpers.js +892 -0
- package/dist/js/main.js +55 -0
- package/dist/js/main.js.map +1 -0
- package/dist/js/runtime.js +2 -0
- package/dist/js/runtime.js.map +1 -0
- package/dist/main.css +918 -0
- package/dist/main.css.map +1 -0
- package/dist/mysource_files/ajax-loader.gif +0 -0
- package/dist/mysource_files/favicons/favicon.ico +0 -0
- package/dist/mysource_files/img/100x100.jpg +0 -0
- package/dist/mysource_files/img/600x260.jpg +0 -0
- package/dist/mysource_files/img/Heart-Pattern-Dark.png +0 -0
- package/dist/mysource_files/img/Heart-Pattern.png +0 -0
- package/dist/mysource_files/img/banner-background--desktop.png +0 -0
- package/dist/mysource_files/img/banner-background--mobile.png +0 -0
- package/dist/mysource_files/img/banner-bg.png +0 -0
- package/dist/mysource_files/img/banner.png +0 -0
- package/dist/mysource_files/img/card--brand.png +0 -0
- package/dist/mysource_files/img/card--components.png +0 -0
- package/dist/mysource_files/img/card--content.png +0 -0
- package/dist/mysource_files/img/header-logo-agov.png +0 -0
- package/dist/mysource_files/img/header-logo-qgov--dark.svg +63 -0
- package/dist/mysource_files/img/header-logo-qgov--light.svg +56 -0
- package/dist/mysource_files/img/header-logo-qgov--pre-dark.svg +56 -0
- package/dist/mysource_files/img/header-search.svg +3 -0
- package/dist/mysource_files/img/layers-2x.png +0 -0
- package/dist/mysource_files/img/layers.png +0 -0
- package/dist/mysource_files/img/marker-icon.png +0 -0
- package/dist/mysource_files/img/svg-icons.svg +155 -0
- package/dist/mysource_files/img/video-play.svg +3 -0
- package/dist/mysource_files/slick.eot +0 -0
- package/dist/mysource_files/slick.svg +14 -0
- package/dist/mysource_files/slick.ttf +0 -0
- package/dist/mysource_files/slick.woff +0 -0
- package/package-lock.json +14276 -0
- package/package.json +79 -0
- package/scripts/add_component.sh +109 -0
- package/src/assets/favicons/favicon.ico +0 -0
- package/src/assets/img/100x100.jpg +0 -0
- package/src/assets/img/600x260.jpg +0 -0
- package/src/assets/img/Heart-Pattern-Dark.png +0 -0
- package/src/assets/img/Heart-Pattern.png +0 -0
- package/src/assets/img/banner-background--desktop.png +0 -0
- package/src/assets/img/banner-background--mobile.png +0 -0
- package/src/assets/img/banner-bg.png +0 -0
- package/src/assets/img/banner.png +0 -0
- package/src/assets/img/card--brand.png +0 -0
- package/src/assets/img/card--components.png +0 -0
- package/src/assets/img/card--content.png +0 -0
- package/src/assets/img/header-logo-agov.png +0 -0
- package/src/assets/img/header-logo-qgov--dark.svg +63 -0
- package/src/assets/img/header-logo-qgov--light.svg +56 -0
- package/src/assets/img/header-logo-qgov--pre-dark.svg +56 -0
- package/src/assets/img/header-search.svg +3 -0
- package/src/assets/img/layers-2x.png +0 -0
- package/src/assets/img/layers.png +0 -0
- package/src/assets/img/marker-icon.png +0 -0
- package/src/assets/img/svg-icons.svg +155 -0
- package/src/assets/img/video-play.svg +3 -0
- package/src/components/_global/css/admin/component.scss +71 -0
- package/src/components/_global/css/body/component.scss +897 -0
- package/src/components/_global/css/btn/component.scss +564 -0
- package/src/components/_global/css/cta_links/component.scss +121 -0
- package/src/components/_global/css/direction_links/component.scss +196 -0
- package/src/components/_global/css/example/component.scss +54 -0
- package/src/components/_global/css/forms/control_inputs/component.scss +349 -0
- package/src/components/_global/css/forms/general/component.scss +298 -0
- package/src/components/_global/css/forms/select/component.scss +230 -0
- package/src/components/_global/css/forms/text/component.scss +402 -0
- package/src/components/_global/css/global.scss +42 -0
- package/src/components/_global/css/grid-12/component.scss +331 -0
- package/src/components/_global/css/headings/component.scss +172 -0
- package/src/components/_global/css/icons/component.scss +29 -0
- package/src/components/_global/css/link_columns/component.scss +194 -0
- package/src/components/_global/css/link_list/component.scss +37 -0
- package/src/components/_global/css/modal/component.scss +182 -0
- package/src/components/_global/css/slick/component.scss +25 -0
- package/src/components/_global/css/table/component.scss +211 -0
- package/src/components/_global/css/tabs/component.scss +43 -0
- package/src/components/_global/css/tags/component.scss +272 -0
- package/src/components/_global/css/user_location/component.scss +38 -0
- package/src/components/_global/css/version/component.scss +47 -0
- package/src/components/_global/html/component.hbs +108 -0
- package/src/components/_global/html/ds_component.hbs +30 -0
- package/src/components/_global/html/head.html +63 -0
- package/src/components/_global/html/scripts.html +58 -0
- package/src/components/_global/js/_polyfills/global.js +18 -0
- package/src/components/_global/js/animate/global.js +324 -0
- package/src/components/_global/js/forms/global.js +182 -0
- package/src/components/_global/js/global.js +302 -0
- package/src/components/_global/js/manifest.json +11 -0
- package/src/components/_global/js/modal/global.js +236 -0
- package/src/components/_global/js/slick/global.js +153 -0
- package/src/components/_global/js/tabs/global.js +305 -0
- package/src/components/_global/js/user_location/global.js +116 -0
- package/src/components/_template/css/component.scss +22 -0
- package/src/components/_template/html/component-page.html +85 -0
- package/src/components/_template/html/component.hbs +4 -0
- package/src/components/_template/js/global.js +6 -0
- package/src/components/_template/js/manifest.json +40 -0
- package/src/components/abstract/css/component.scss +91 -0
- package/src/components/abstract/html/component.hbs +9 -0
- package/src/components/abstract/js/manifest.json +29 -0
- package/src/components/accordion/css/component.scss +329 -0
- package/src/components/accordion/html/accordion-group.html +157 -0
- package/src/components/accordion/html/component.hbs +46 -0
- package/src/components/accordion/html/default.html +92 -0
- package/src/components/accordion/js/global.js +413 -0
- package/src/components/accordion/js/manifest.json +427 -0
- package/src/components/banner/css/component.scss +664 -0
- package/src/components/banner/html/component.hbs +52 -0
- package/src/components/banner/js/manifest.json +11 -0
- package/src/components/banner_advanced/css/component.scss +7 -0
- package/src/components/banner_advanced/html/component.hbs +213 -0
- package/src/components/banner_advanced/js/global.js +6 -0
- package/src/components/banner_advanced/js/manifest.json +1450 -0
- package/src/components/banner_basic/css/component.scss +52 -0
- package/src/components/banner_basic/html/component.hbs +130 -0
- package/src/components/banner_basic/js/global.js +6 -0
- package/src/components/banner_basic/js/manifest.json +151 -0
- package/src/components/banner_intermediate/css/component.scss +276 -0
- package/src/components/banner_intermediate/html/component.hbs +165 -0
- package/src/components/banner_intermediate/js/global.js +6 -0
- package/src/components/banner_intermediate/js/manifest.json +248 -0
- package/src/components/body/css/component.scss +16 -0
- package/src/components/body/html/component.hbs +5 -0
- package/src/components/body/js/manifest.json +46 -0
- package/src/components/breadcrumbs/css/component.scss +236 -0
- package/src/components/breadcrumbs/html/component.hbs +29 -0
- package/src/components/breadcrumbs/js/manifest.json +9 -0
- package/src/components/callout/css/component.scss +146 -0
- package/src/components/callout/html/component.hbs +28 -0
- package/src/components/callout/js/manifest.json +121 -0
- package/src/components/card_feature/css/component.scss +224 -0
- package/src/components/card_feature/html/component.hbs +129 -0
- package/src/components/card_feature/js/manifest.json +1390 -0
- package/src/components/card_multi_action/css/component.scss +229 -0
- package/src/components/card_multi_action/html/component.hbs +192 -0
- package/src/components/card_multi_action/js/manifest.json +1314 -0
- package/src/components/card_no_action/css/component.scss +551 -0
- package/src/components/card_no_action/html/component.hbs +127 -0
- package/src/components/card_no_action/js/global.js +6 -0
- package/src/components/card_no_action/js/manifest.json +1264 -0
- package/src/components/card_single_action/css/component.scss +164 -0
- package/src/components/card_single_action/html/component.hbs +161 -0
- package/src/components/card_single_action/js/manifest.json +1273 -0
- package/src/components/code/css/component.scss +355 -0
- package/src/components/code/html/component.hbs +84 -0
- package/src/components/code/js/global.js +160 -0
- package/src/components/code/js/manifest.json +112 -0
- package/src/components/footer/css/component.scss +437 -0
- package/src/components/footer/html/component.hbs +177 -0
- package/src/components/footer/js/manifest.json +9 -0
- package/src/components/global_alert/css/component.scss +169 -0
- package/src/components/global_alert/html/component.hbs +38 -0
- package/src/components/global_alert/js/global.js +39 -0
- package/src/components/global_alert/js/manifest.json +9 -0
- package/src/components/header/css/component.scss +697 -0
- package/src/components/header/html/component.hbs +186 -0
- package/src/components/header/js/global.js +188 -0
- package/src/components/header/js/manifest.json +11 -0
- package/src/components/horizontal_rule/css/component.scss +37 -0
- package/src/components/horizontal_rule/html/component.hbs +6 -0
- package/src/components/horizontal_rule/js/manifest.json +69 -0
- package/src/components/in_page_navigation/css/component.scss +54 -0
- package/src/components/in_page_navigation/html/component.hbs +17 -0
- package/src/components/in_page_navigation/js/global.js +51 -0
- package/src/components/in_page_navigation/js/manifest.json +35 -0
- package/src/components/internal_navigation/css/component.scss +437 -0
- package/src/components/internal_navigation/html/component.hbs +57 -0
- package/src/components/internal_navigation/js/manifest.json +11 -0
- package/src/components/left_hand_navigation/css/component.scss +280 -0
- package/src/components/left_hand_navigation/html/component.hbs +77 -0
- package/src/components/left_hand_navigation/js/global.js +36 -0
- package/src/components/left_hand_navigation/js/manifest.json +40 -0
- package/src/components/main_navigation/css/component.scss +706 -0
- package/src/components/main_navigation/html/component.hbs +87 -0
- package/src/components/main_navigation/js/global.js +373 -0
- package/src/components/main_navigation/js/manifest.json +11 -0
- package/src/components/mega_main_navigation/css/component.scss +535 -0
- package/src/components/mega_main_navigation/html/component.hbs +157 -0
- package/src/components/mega_main_navigation/js/global.js +170 -0
- package/src/components/mega_main_navigation/js/manifest.json +9 -0
- package/src/components/multi_column/css/component.scss +11 -0
- package/src/components/multi_column/html/component.hbs +98 -0
- package/src/components/multi_column/js/manifest.json +233 -0
- package/src/components/page_alert/css/component.scss +132 -0
- package/src/components/page_alert/html/component.hbs +26 -0
- package/src/components/page_alert/js/manifest.json +63 -0
- package/src/components/pagination/css/component.scss +196 -0
- package/src/components/pagination/html/component.hbs +41 -0
- package/src/components/pagination/html/default.html +30 -0
- package/src/components/pagination/js/manifest.json +42 -0
- package/src/components/search_box/css/component.scss +48 -0
- package/src/components/search_box/html/component.html +11 -0
- package/src/components/search_box/js/manifest.json +73 -0
- package/src/components/updated_date/css/component.scss +0 -0
- package/src/components/updated_date/html/component.hbs +31 -0
- package/src/components/updated_date/js/manifest.json +9 -0
- package/src/components/widgets/css/component.scss +82 -0
- package/src/components/widgets/html/component.hbs +19 -0
- package/src/components/widgets/html/default.html +4 -0
- package/src/components/widgets/js/current.json +483 -0
- package/src/components/widgets/js/manifest.json +9 -0
- package/src/components/widgets/js/site.json +358 -0
- package/src/data/current.json +522 -0
- package/src/data/current_admin.json +305 -0
- package/src/data/model_component.js +14 -0
- package/src/data/site.json +762 -0
- package/src/externals/componentPreview.js +101 -0
- package/src/externals/dsComponentLoader.js +410 -0
- package/src/externals/esri-leaflet-vector.js +5 -0
- package/src/externals/esri-leaflet.js +12 -0
- package/src/externals/fb-handlebars.min.js +29 -0
- package/src/externals/fb-typeahead.bundle.min.js +6 -0
- package/src/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/src/externals/getPagination.js +62 -0
- package/src/externals/handlebars.min-v4.7.6.js +29 -0
- package/src/externals/leaflet.js +6 -0
- package/src/externals/populateDatastoreSim.js +381 -0
- package/src/externals/tinymce_classes.css +62 -0
- package/src/helpers/Handlebars/appendIf.js +6 -0
- package/src/helpers/Handlebars/arrayLength.js +3 -0
- package/src/helpers/Handlebars/arrayWith.js +13 -0
- package/src/helpers/Handlebars/capitaliseFirst.js +8 -0
- package/src/helpers/Handlebars/charMax.js +8 -0
- package/src/helpers/Handlebars/checkIf.js +20 -0
- package/src/helpers/Handlebars/columnWidth.js +39 -0
- package/src/helpers/Handlebars/contains.js +7 -0
- package/src/helpers/Handlebars/createMap.js +19 -0
- package/src/helpers/Handlebars/dsMapFromID.js +8 -0
- package/src/helpers/Handlebars/dsMapFromProp.js +8 -0
- package/src/helpers/Handlebars/eachByName.js +18 -0
- package/src/helpers/Handlebars/eachDS.js +7 -0
- package/src/helpers/Handlebars/eachFrom.js +13 -0
- package/src/helpers/Handlebars/eachUpTo.js +8 -0
- package/src/helpers/Handlebars/eachWhen.js +33 -0
- package/src/helpers/Handlebars/formatDate.js +62 -0
- package/src/helpers/Handlebars/generateDates.js +74 -0
- package/src/helpers/Handlebars/getDistance.js +40 -0
- package/src/helpers/Handlebars/getObject.js +3 -0
- package/src/helpers/Handlebars/getParamaterByName.js +11 -0
- package/src/helpers/Handlebars/getPossibleValues.js +13 -0
- package/src/helpers/Handlebars/getProp.js +3 -0
- package/src/helpers/Handlebars/getTags.js +20 -0
- package/src/helpers/Handlebars/getTitle.js +4 -0
- package/src/helpers/Handlebars/ifAny.js +9 -0
- package/src/helpers/Handlebars/ifArray.js +3 -0
- package/src/helpers/Handlebars/ifCond.js +31 -0
- package/src/helpers/Handlebars/ifEqualsOrChained.js +12 -0
- package/src/helpers/Handlebars/ifProp.js +3 -0
- package/src/helpers/Handlebars/if_eq.js +9 -0
- package/src/helpers/Handlebars/inArray.js +8 -0
- package/src/helpers/Handlebars/isPage.js +7 -0
- package/src/helpers/Handlebars/itemAt.js +11 -0
- package/src/helpers/Handlebars/jsonParse.js +8 -0
- package/src/helpers/Handlebars/jsonStringify.js +3 -0
- package/src/helpers/Handlebars/listAZ.js +51 -0
- package/src/helpers/Handlebars/listAZOptions.js +34 -0
- package/src/helpers/Handlebars/listByClosest.js +60 -0
- package/src/helpers/Handlebars/listByClosestWithOffset.js +63 -0
- package/src/helpers/Handlebars/math.js +11 -0
- package/src/helpers/Handlebars/newLineToBreak.js +6 -0
- package/src/helpers/Handlebars/nonBreakingSpaces.js +6 -0
- package/src/helpers/Handlebars/objectFromSelect.js +21 -0
- package/src/helpers/Handlebars/partialReplace.js +9 -0
- package/src/helpers/Handlebars/printAccordion.js +24 -0
- package/src/helpers/Handlebars/replace.js +8 -0
- package/src/helpers/Handlebars/replaceMany.js +5 -0
- package/src/helpers/Handlebars/sizeFormat.js +11 -0
- package/src/helpers/Handlebars/split.js +6 -0
- package/src/helpers/Handlebars/toUpperCase.js +7 -0
- package/src/helpers/Handlebars/urldecode.js +3 -0
- package/src/helpers/Handlebars/urlencode.js +3 -0
- package/src/helpers/Handlebars/withinObject.js +13 -0
- package/src/html/component-abstract.html +86 -0
- package/src/html/component-accordion.html +87 -0
- package/src/html/component-banner.html +84 -0
- package/src/html/component-banner_advanced.html +97 -0
- package/src/html/component-banner_basic.html +163 -0
- package/src/html/component-banner_intermediate.html +91 -0
- package/src/html/component-body.html +116 -0
- package/src/html/component-breadcrumbs.html +88 -0
- package/src/html/component-btn.html +117 -0
- package/src/html/component-callout.html +86 -0
- package/src/html/component-card_feature.html +631 -0
- package/src/html/component-card_multi_action.html +793 -0
- package/src/html/component-card_no_action.html +521 -0
- package/src/html/component-card_single_action.html +631 -0
- package/src/html/component-code.html +84 -0
- package/src/html/component-footer.html +87 -0
- package/src/html/component-forms.html +585 -0
- package/src/html/component-global-elements.html +531 -0
- package/src/html/component-global_alert.html +87 -0
- package/src/html/component-header.html +88 -0
- package/src/html/component-in_page_navigation.html +109 -0
- package/src/html/component-internal_navigation.html +87 -0
- package/src/html/component-left_hand_navigation.html +85 -0
- package/src/html/component-main_navigation.html +87 -0
- package/src/html/component-mega_main_navigation.html +88 -0
- package/src/html/component-multi_column.html +86 -0
- package/src/html/component-page_alert.html +86 -0
- package/src/html/component-pagination.html +86 -0
- package/src/html/component-tag_list.html +340 -0
- package/src/html/component-updated_date.html +88 -0
- package/src/html/component-widgets.html +90 -0
- package/src/html/components.html +136 -0
- package/src/html/home.html +126 -0
- package/src/html/index.html +142 -0
- package/src/html/inner-with-nav.html +1126 -0
- package/src/html/inner.html +107 -0
- package/src/index.js +12 -0
- package/src/styles/global.scss +120 -0
- package/src/styles/imports/figma.scss +0 -0
- package/src/styles/imports/functions.scss +519 -0
- package/src/styles/imports/mixins.scss +658 -0
- package/src/styles/imports/placeholders.scss +68 -0
- package/src/styles/imports/utilities.scss +185 -0
- package/src/styles/imports/variables.scss +484 -0
- package/src/styles/postcss.config.js +4 -0
- package/webpack/JsonMergePlugin.js +35 -0
- package/webpack/PrecompilePlugin.js +369 -0
- package/webpack/webpack.common.js +151 -0
- package/webpack/webpack.dev.js +54 -0
- package/webpack/webpack.prod.js +70 -0
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// GLOBAL VARIABLES
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
@import "figma.scss";
|
|
6
|
+
/**
|
|
7
|
+
* QLD-pixelfallback enable pixel fallbacks
|
|
8
|
+
*/
|
|
9
|
+
$QLD-pixelfallback: true !default;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* QLD-media Breakpoints
|
|
13
|
+
*/
|
|
14
|
+
$QLD-media-sm: 400px;
|
|
15
|
+
$QLD-media-md: 699px;
|
|
16
|
+
$QLD-media-lg: 992px;
|
|
17
|
+
$QLD-media-xl: 1312px;
|
|
18
|
+
// $QLD-media-xxl: 1599px;
|
|
19
|
+
$QLD-main-nav-breakpoint: lg;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* QLD-rem value used for REM calculation
|
|
23
|
+
*/
|
|
24
|
+
$QLD-rem: 16 !default;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* QLD-unit used for all type and grid calculations
|
|
28
|
+
*/
|
|
29
|
+
$QLD-unit: 4 !default;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* QLD-font stack
|
|
33
|
+
* QLD-font-monospace stack
|
|
34
|
+
*/
|
|
35
|
+
$QLD-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
|
|
36
|
+
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
37
|
+
$QLD-font-monospace: "Roboto Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace !default;
|
|
38
|
+
$QLD-font-heading: "ff-meta-web-pro", "Lato", -apple-system, BlinkMacSystemFont,
|
|
39
|
+
"Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji",
|
|
40
|
+
"Segoe UI Emoji", "Segoe UI Symbol";
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* QLD-fontsize-map
|
|
44
|
+
*
|
|
45
|
+
* Predetermined pixel sizes from a 1.25 typescale rounded to the nearest $QLD-unit (vertical grid)
|
|
46
|
+
*/
|
|
47
|
+
$QLD-fontsize-map: (
|
|
48
|
+
xs: 14,
|
|
49
|
+
sm: 16,
|
|
50
|
+
md: 20,
|
|
51
|
+
lg: 24,
|
|
52
|
+
xl: 32,
|
|
53
|
+
xxl: 40,
|
|
54
|
+
xxxl: 52
|
|
55
|
+
) !default;
|
|
56
|
+
|
|
57
|
+
// Base font
|
|
58
|
+
$base-font-scale: 1; // The font scale multiplier (e.g. 2 = 32px/2em/2rem)
|
|
59
|
+
$base-font-pixel: 16; // Used for font size calculations & conversions
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* QLD-maxwidth for line lengths (the ‘measure’)
|
|
63
|
+
*/
|
|
64
|
+
$QLD-font-maxwidth: 46rem !default; // Answer to life, the universe, and everything (keeps things readable on wide viewports).
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* QLD-lineheight-map
|
|
70
|
+
*
|
|
71
|
+
* Predetermined lineheight mapped to keyword
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
$QLD-lineheight-map: (
|
|
75
|
+
nospace: 1,
|
|
76
|
+
heading: 1.25,
|
|
77
|
+
default: 1.5,
|
|
78
|
+
h3: 4/3,
|
|
79
|
+
h4: 1.2,
|
|
80
|
+
h6: 8/7,
|
|
81
|
+
small: 1.4,
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* QLD-spacing-map
|
|
86
|
+
*
|
|
87
|
+
* Predetermined standard spacing mapped to keyword
|
|
88
|
+
*/
|
|
89
|
+
$QLD-space-map: (
|
|
90
|
+
0: 0,
|
|
91
|
+
1: 4,
|
|
92
|
+
2: 8,
|
|
93
|
+
3: 12,
|
|
94
|
+
4: 16,
|
|
95
|
+
5: 20,
|
|
96
|
+
6: 24,
|
|
97
|
+
7: 32,
|
|
98
|
+
8: 36,
|
|
99
|
+
9: 40,
|
|
100
|
+
10: 48,
|
|
101
|
+
11: 56,
|
|
102
|
+
12: 64,
|
|
103
|
+
13: 80,
|
|
104
|
+
14: 96,
|
|
105
|
+
15: 128,
|
|
106
|
+
16: 160
|
|
107
|
+
) !default;
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* QLD vertical container padding
|
|
112
|
+
*/
|
|
113
|
+
$QLD-container-padding-mobile: 9;
|
|
114
|
+
$QLD-container-padding-desktop: 12;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* QLD grid gutter padding
|
|
118
|
+
*/
|
|
119
|
+
$QLD-grid-gutter-sm:4;
|
|
120
|
+
$QLD-grid-gutter-md:7;
|
|
121
|
+
$QLD-grid-gutter-lg:10;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* QLD grid inner nested body conntainer-fluid padding
|
|
125
|
+
*/
|
|
126
|
+
$QLD-grid-inner-container-mobile: 4;
|
|
127
|
+
$QLD-grid-inner-container-desktop: 7;
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* QLD-maxwidth for line lengths (the ‘measure’)
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
$QLD-grid-maxwidth: 88rem;
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
// $QLD-container-padding-xs: 1rem;
|
|
141
|
+
// $QLD-container-padding-md: 2.5rem;
|
|
142
|
+
// $QLD-container-padding-lg: 4rem;
|
|
143
|
+
// $QLD-container-padding-xl: 9rem;
|
|
144
|
+
// $QLD-container-padding-xxl: 10rem;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* QLD border-width values
|
|
148
|
+
*/
|
|
149
|
+
$QLD-border-width-thin: 1px;
|
|
150
|
+
$QLD-border-width-default: 2px;
|
|
151
|
+
$QLD-border-width-medium: 3px;
|
|
152
|
+
$QLD-border-width-thick: 4px;
|
|
153
|
+
$QLD-border-width-extra-thick: 8px;
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* QLD border-radius values
|
|
158
|
+
*/
|
|
159
|
+
$QLD-border-radius-xs: map-get( $QLD-space-map, 1 ) + px;
|
|
160
|
+
$QLD-border-radius-sm: map-get( $QLD-space-map, 3 ) + px;
|
|
161
|
+
$QLD-border-radius-md: map-get( $QLD-space-map, 4 ) + px;
|
|
162
|
+
$QLD-border-radius-lg: map-get( $QLD-space-map, 7 ) + px;
|
|
163
|
+
$QLD-border-radius-xl: map-get( $QLD-space-map, 9 ) + px;
|
|
164
|
+
$QLD-border-radius-xxl: map-get( $QLD-space-map, 12 ) + px;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* QLD box shadow values
|
|
168
|
+
*/
|
|
169
|
+
$QLD-box-shaddow-level-one: 0px 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 3px 1px rgba(0, 0, 0, 0.1);
|
|
170
|
+
$QLD-box-shaddow-level-two: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
171
|
+
$QLD-box-shaddow-level-three: 0px 4px 8px 3px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.2);
|
|
172
|
+
$QLD-box-shaddow-level-four: 7px 6px 13px rgba(0, 0, 0, 0.02), 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 13px 20px rgba(0, 0, 0, 0.1);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* QLD icon sizes
|
|
176
|
+
*/
|
|
177
|
+
$QLD-icon-size-xs:map-get( $QLD-space-map, 2 ) + px;//8px
|
|
178
|
+
$QLD-icon-size-sm:map-get( $QLD-space-map, 4 ) + px;//16px
|
|
179
|
+
$QLD-icon-size-md:map-get( $QLD-space-map, 5 ) + px;//20px
|
|
180
|
+
$QLD-icon-size-lg:map-get( $QLD-space-map, 6 ) + px;//24px
|
|
181
|
+
$QLD-icon-size-xl:map-get( $QLD-space-map, 12 ) + px;//64px
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* QLD default icons
|
|
185
|
+
*/
|
|
186
|
+
$QLD-icon-arrow-up: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M379.8 225.7C376.7 229.3 372.3 231.1 368 231.1c-3.844 0-7.703-1.426-10.77-4.31L208 86.12v377.3c0 9.171-7.156 16.59-15.1 16.59S176 472.6 176 463.4V86.12l-149.2 140.7C20.25 232.1 10.14 232.5 4.156 225.7C-1.781 218.9-1.297 208.4 5.234 202.2l176-165.9c6.094-5.768 15.44-5.768 21.53 0l176 165.9C385.3 208.4 385.8 218.9 379.8 225.7z"/></svg>' ;
|
|
187
|
+
$QLD-icon-arrow-right: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M443.7 266.8l-165.9 176C274.5 446.3 269.1 448 265.5 448c-3.986 0-7.988-1.375-11.16-4.156c-6.773-5.938-7.275-16.06-1.118-22.59L393.9 272H16.59c-9.171 0-16.59-7.155-16.59-15.1S7.421 240 16.59 240h377.3l-140.7-149.3c-6.157-6.531-5.655-16.66 1.118-22.59c6.789-5.906 17.27-5.469 23.45 1.094l165.9 176C449.4 251.3 449.4 260.7 443.7 266.8z"/></svg>';
|
|
188
|
+
$QLD-icon-arrow-down: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M378.8 309.8l-176 165.9C199.7 478.6 195.9 480 192 480s-7.719-1.426-10.77-4.31l-176-165.9C-1.297 303.6-1.781 293.1 4.156 286.3c5.953-6.838 16.09-7.259 22.61-1.134L176 425.9V48.59c0-9.171 7.156-16.59 15.1-16.59S208 39.42 208 48.59v377.3l149.2-140.7c6.516-6.125 16.66-5.704 22.61 1.134C385.8 293.1 385.3 303.6 378.8 309.8z"/></svg>';
|
|
189
|
+
$QLD-icon-arrow-left: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 256C448 264.8 440.6 272 431.4 272H54.11l140.7 149.3c6.157 6.531 5.655 16.66-1.118 22.59C190.5 446.6 186.5 448 182.5 448c-4.505 0-9.009-1.75-12.28-5.25l-165.9-176c-5.752-6.094-5.752-15.41 0-21.5l165.9-176c6.19-6.562 16.69-7 23.45-1.094c6.773 5.938 7.275 16.06 1.118 22.59L54.11 240h377.3C440.6 240 448 247.2 448 256z"/></svg>';
|
|
190
|
+
|
|
191
|
+
$QLD-icon-arrow-view-all: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M283.3 148.7c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62L329.4 240H144C135.2 240 128 247.2 128 256s7.156 16 16 16h185.4l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.62s16.38 6.25 22.62 0l96-96C382.4 264.2 384 260.1 384 256s-1.562-8.188-4.688-11.31L283.3 148.7zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 480c-123.5 0-224-100.5-224-224s100.5-224 224-224s224 100.5 224 224S379.5 480 256 480z"/></svg>';
|
|
192
|
+
|
|
193
|
+
$QLD-icon-chevron-up: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M443.8 330.8C440.6 334.3 436.3 336 432 336c-3.891 0-7.781-1.406-10.86-4.25L224 149.8l-197.1 181.1c-6.5 6-16.64 5.625-22.61-.9062c-6-6.5-5.594-16.59 .8906-22.59l208-192c6.156-5.688 15.56-5.688 21.72 0l208 192C449.3 314.3 449.8 324.3 443.8 330.8z"/></svg>';
|
|
194
|
+
$QLD-icon-chevron-right: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M85.14 475.8c-3.438-3.141-5.156-7.438-5.156-11.75c0-3.891 1.406-7.781 4.25-10.86l181.1-197.1L84.23 58.86c-6-6.5-5.625-16.64 .9062-22.61c6.5-6 16.59-5.594 22.59 .8906l192 208c5.688 6.156 5.688 15.56 0 21.72l-192 208C101.7 481.3 91.64 481.8 85.14 475.8z"/></svg>';
|
|
195
|
+
$QLD-icon-chevron-down: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M4.251 181.1C7.392 177.7 11.69 175.1 16 175.1c3.891 0 7.781 1.406 10.86 4.25l197.1 181.1l197.1-181.1c6.5-6 16.64-5.625 22.61 .9062c6 6.5 5.594 16.59-.8906 22.59l-208 192c-6.156 5.688-15.56 5.688-21.72 0l-208-192C-1.343 197.7-1.749 187.6 4.251 181.1z"/></svg>';
|
|
196
|
+
$QLD-icon-chevron-left: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M234.8 36.25c3.438 3.141 5.156 7.438 5.156 11.75c0 3.891-1.406 7.781-4.25 10.86L53.77 256l181.1 197.1c6 6.5 5.625 16.64-.9062 22.61c-6.5 6-16.59 5.594-22.59-.8906l-192-208c-5.688-6.156-5.688-15.56 0-21.72l192-208C218.2 30.66 228.3 30.25 234.8 36.25z"/></svg>';
|
|
197
|
+
|
|
198
|
+
$QLD-icon-close: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M180.7 180.7C186.9 174.4 197.1 174.4 203.3 180.7L256 233.4L308.7 180.7C314.9 174.4 325.1 174.4 331.3 180.7C337.6 186.9 337.6 197.1 331.3 203.3L278.6 256L331.3 308.7C337.6 314.9 337.6 325.1 331.3 331.3C325.1 337.6 314.9 337.6 308.7 331.3L256 278.6L203.3 331.3C197.1 337.6 186.9 337.6 180.7 331.3C174.4 325.1 174.4 314.9 180.7 308.7L233.4 256L180.7 203.3C174.4 197.1 174.4 186.9 180.7 180.7zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 32C132.3 32 32 132.3 32 256C32 379.7 132.3 480 256 480C379.7 480 480 379.7 480 256C480 132.3 379.7 32 256 32z"/></svg>';
|
|
199
|
+
$QLD-icon-close-hover: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"/></svg>';
|
|
200
|
+
|
|
201
|
+
$QLD-icon-error: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 480c-123.5 0-224-100.5-224-224s100.5-224 224-224s224 100.5 224 224S379.5 480 256 480zM362.4 131.8c-6.688-5.75-16.8-4.938-22.55 1.75L256 231.4l-83.86-97.84C166.4 126.9 156.3 126.2 149.6 131.8c-6.719 5.75-7.5 15.88-1.734 22.56L234.9 256l-87.08 101.6c-5.766 6.688-4.984 16.81 1.734 22.56C152.6 382.8 156.3 384 160 384c4.5 0 8.984-1.906 12.14-5.594L256 280.6l83.86 97.84C343 382.1 347.5 384 352 384c3.688 0 7.391-1.281 10.41-3.844c6.719-5.75 7.5-15.88 1.734-22.56L277.1 256l87.08-101.6C369.9 147.7 369.1 137.6 362.4 131.8z"/></svg>';
|
|
202
|
+
$QLD-icon-success: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M235.3 331.3C229.1 337.6 218.9 337.6 212.7 331.3L148.7 267.3C142.4 261.1 142.4 250.9 148.7 244.7C154.9 238.4 165.1 238.4 171.3 244.7L224 297.4L340.7 180.7C346.9 174.4 357.1 174.4 363.3 180.7C369.6 186.9 369.6 197.1 363.3 203.3L235.3 331.3zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 32C132.3 32 32 132.3 32 256C32 379.7 132.3 480 256 480C379.7 480 480 379.7 480 256C480 132.3 379.7 32 256 32z"/></svg>';
|
|
203
|
+
$QLD-icon-warning: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 360c-13.25 0-23.1 10.74-23.1 24c0 13.25 10.75 24 23.1 24c13.25 0 23.1-10.75 23.1-24C280 370.7 269.3 360 256 360zM256 320c8.843 0 15.1-7.156 15.1-16V160c0-8.844-7.155-16-15.1-16S240 151.2 240 160v144C240 312.8 247.2 320 256 320zM504.3 397.3L304.5 59.38C294.4 42.27 276.2 32.03 256 32C235.8 32 217.7 42.22 207.5 59.36l-199.9 338c-10.05 16.97-10.2 37.34-.4218 54.5C17.29 469.5 35.55 480 56.1 480h399.9c20.51 0 38.75-10.53 48.81-28.17C514.6 434.7 514.4 414.3 504.3 397.3zM476.1 435.1C472.7 443.5 464.8 448 455.1 448H56.1c-8.906 0-16.78-4.484-21.08-12c-4.078-7.156-4.015-15.3 .1562-22.36L235.1 75.66C239.4 68.36 247.2 64 256 64c0 0-.0156 0 0 0c8.765 .0156 16.56 4.359 20.86 11.64l199.9 338C480.1 420.7 481.1 428.8 476.1 435.1z"/></svg>';
|
|
204
|
+
$QLD-icon-info: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 184c13.25 0 24-10.74 24-24c0-13.25-10.75-24-24-24S200 146.7 200 160C200 173.3 210.7 184 224 184zM384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM416 416c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h320c17.64 0 32 14.36 32 32V416zM272 352h-32V240C240 231.2 232.8 224 224 224H192C183.2 224 176 231.2 176 240S183.2 256 192 256h16v96h-32C167.2 352 160 359.2 160 368C160 376.8 167.2 384 176 384h96c8.836 0 16-7.164 16-16C288 359.2 280.8 352 272 352z"/></svg>';
|
|
205
|
+
$QLD-icon-search: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M507.3 484.7l-141.5-141.5C397 306.8 415.1 259.7 415.1 208c0-114.9-93.13-208-208-208S-.0002 93.13-.0002 208S93.12 416 207.1 416c51.68 0 98.85-18.96 135.2-50.15l141.5 141.5C487.8 510.4 491.9 512 496 512s8.188-1.562 11.31-4.688C513.6 501.1 513.6 490.9 507.3 484.7zM208 384C110.1 384 32 305 32 208S110.1 32 208 32S384 110.1 384 208S305 384 208 384z"/></svg>';
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* QLD-color- system colours
|
|
209
|
+
*/
|
|
210
|
+
$QLD-color-system-darkest:#0E1435;
|
|
211
|
+
$QLD-color-system-grey-text: #414141;
|
|
212
|
+
$QLD-color-system-grey-dark: #595959;
|
|
213
|
+
$QLD-color-system-grey-medium: #78797E;
|
|
214
|
+
$QLD-color-system-grey: #E0E0E0;
|
|
215
|
+
$QLD-color-system-grey-light: #EBEBEB;
|
|
216
|
+
$QLD-color-system-grey-extra-light: #E8EEF0;
|
|
217
|
+
$QLD-color-system-white: #FFFFFF;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* QLD-color- global styles
|
|
221
|
+
*/
|
|
222
|
+
$QLD-color-error: #E22339 !default;
|
|
223
|
+
$QLD-color-error__light: #FFF6F6 !default;
|
|
224
|
+
$QLD-color-error__shade: #FDF0F0 !default;
|
|
225
|
+
|
|
226
|
+
$QLD-color-success: #6BBE27 !default;
|
|
227
|
+
$QLD-color-success__light: #F7FBF8 !default;
|
|
228
|
+
$QLD-color-success__shade: #F2FAF4 !default;
|
|
229
|
+
|
|
230
|
+
$QLD-color-warning: #FFCC2C !default;
|
|
231
|
+
$QLD-color-warning__shade: #FFCC2C !default;
|
|
232
|
+
|
|
233
|
+
$QLD-color-info: #0085B3 !default;
|
|
234
|
+
$QLD-color-info__shade: #0085B3 !default;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* QLD-color-light styles
|
|
238
|
+
*/
|
|
239
|
+
$QLD-color-light-siteTitle: #022A50 !default;
|
|
240
|
+
$QLD-color-light-designAccent:#73BE27 !default;
|
|
241
|
+
$QLD-color-light-heading: #03213F !default;
|
|
242
|
+
$QLD-color-light-text: #414141 !default;
|
|
243
|
+
$QLD-color-light-text__muted:#636363 !default;
|
|
244
|
+
$QLD-color-light-link: #09549F !default;
|
|
245
|
+
$QLD-color-light-link__visited: #551A8B !default;
|
|
246
|
+
$QLD-color-light-button__text: #FFFFFF !default;
|
|
247
|
+
$QLD-color-light-button: #09549F !default;
|
|
248
|
+
$QLD-color-light-button__hover:#003E7D !default;
|
|
249
|
+
$QLD-color-light-focus: #0085B3 !default;
|
|
250
|
+
$QLD-color-light-border: #EBEBEB !default;
|
|
251
|
+
$QLD-color-light-background: #FFFFFF !default;
|
|
252
|
+
$QLD-color-light-background__shade: #F5F5F5 !default;
|
|
253
|
+
$QLD-color-light-hint: #6f777b !default;
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* QLD-color-light-alt styles
|
|
258
|
+
*/
|
|
259
|
+
$QLD-color-light-alt-button: #008733 !default;
|
|
260
|
+
$QLD-color-light-alt-button__hover: #005B23 !default;
|
|
261
|
+
$QLD-color-light-alt-border: #7A7A7A !default;
|
|
262
|
+
$QLD-color-light-alt-background: #EBEBEB !default;
|
|
263
|
+
$QLD-color-light-alt-background__shade: #E0E0E0 !default;
|
|
264
|
+
$QLD-color-light-alt-hint: #61696B !default;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* QLD-color-dark styles
|
|
268
|
+
*/
|
|
269
|
+
$QLD-color-dark-siteTitle: #FFFFFF !default;
|
|
270
|
+
$QLD-color-dark-designAccent:#6BBE27 !default;
|
|
271
|
+
$QLD-color-dark-heading: #FFFFFF !default;
|
|
272
|
+
$QLD-color-dark-text: #FFFFFF !default;
|
|
273
|
+
$QLD-color-dark-text__muted:#DEEBF9 !default;
|
|
274
|
+
$QLD-color-dark-link: #FFFFFF !default;
|
|
275
|
+
$QLD-color-dark-link__visited: #A668F4 !default;
|
|
276
|
+
$QLD-color-dark-button__text: #121940 !default;
|
|
277
|
+
$QLD-color-dark-button: #9AC02C !default;
|
|
278
|
+
$QLD-color-dark-button__hover:#ADD33F !default;
|
|
279
|
+
$QLD-color-dark-focus: #01B0E5 !default;
|
|
280
|
+
$QLD-color-dark-border: #1D9AC6 !default;
|
|
281
|
+
$QLD-color-dark-background: #09549F !default;
|
|
282
|
+
$QLD-color-dark-background__shade: #04498F !default;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* QLD-color-alt-dark styles
|
|
286
|
+
*/
|
|
287
|
+
$QLD-color-dark-alt-button: #EFD700 !default;
|
|
288
|
+
$QLD-color-dark-alt-button__hover: #FFE817 !default;
|
|
289
|
+
$QLD-color-dark-alt-border: #11B2D4 !default;
|
|
290
|
+
$QLD-color-dark-alt-background: #05325F !default;
|
|
291
|
+
$QLD-color-dark-alt-background__shade: #052C53 !default;
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Figma QLD-color-light styles
|
|
298
|
+
*/
|
|
299
|
+
@if global-variable-exists(Figma-QLD-color-light-siteTitle){
|
|
300
|
+
$QLD-color-light-siteTitle: $Figma-QLD-color-light-siteTitle;
|
|
301
|
+
}
|
|
302
|
+
@if global-variable-exists(Figma-QLD-color-light-designAccent){
|
|
303
|
+
$QLD-color-light-designAccent: $Figma-QLD-color-light-designAccent;
|
|
304
|
+
}
|
|
305
|
+
@if global-variable-exists(Figma-QLD-color-light-heading){
|
|
306
|
+
$QLD-color-light-heading: $Figma-QLD-color-light-heading;
|
|
307
|
+
}
|
|
308
|
+
@if global-variable-exists(Figma-QLD-color-light-text){
|
|
309
|
+
$QLD-color-light-text: $Figma-QLD-color-light-text;
|
|
310
|
+
}
|
|
311
|
+
@if global-variable-exists(Figma-QLD-color-light-text__muted){
|
|
312
|
+
$QLD-color-light-text__muted: $Figma-QLD-color-light-text__muted;
|
|
313
|
+
}
|
|
314
|
+
@if global-variable-exists(Figma-QLD-color-light-link){
|
|
315
|
+
$QLD-color-light-link: $Figma-QLD-color-light-link;
|
|
316
|
+
}
|
|
317
|
+
@if global-variable-exists(Figma-QLD-color-light-link__visited){
|
|
318
|
+
$QLD-color-light-link__visited: $Figma-QLD-color-light-link__visited;
|
|
319
|
+
}
|
|
320
|
+
@if global-variable-exists(Figma-QLD-color-light-button__text){
|
|
321
|
+
$QLD-color-light-button__text: $Figma-QLD-color-light-button__text;
|
|
322
|
+
}
|
|
323
|
+
@if global-variable-exists(Figma-QLD-color-light-button){
|
|
324
|
+
$QLD-color-light-button: $Figma-QLD-color-light-button;
|
|
325
|
+
}
|
|
326
|
+
@if global-variable-exists(Figma-QLD-color-light-button__hover){
|
|
327
|
+
$QLD-color-light-button__hover: $Figma-QLD-color-light-button__hover;
|
|
328
|
+
}
|
|
329
|
+
@if global-variable-exists(Figma-QLD-color-light-focus){
|
|
330
|
+
$QLD-color-light-focus: $Figma-QLD-color-light-focus;
|
|
331
|
+
}
|
|
332
|
+
@if global-variable-exists(Figma-QLD-color-light-border){
|
|
333
|
+
$QLD-color-light-border: $Figma-QLD-color-light-border;
|
|
334
|
+
}
|
|
335
|
+
@if global-variable-exists(Figma-QLD-color-light-background){
|
|
336
|
+
$QLD-color-light-background: $Figma-QLD-color-light-background;
|
|
337
|
+
}
|
|
338
|
+
@if global-variable-exists(Figma-QLD-color-light-background__shade){
|
|
339
|
+
$QLD-color-light-background__shade: $Figma-QLD-color-light-background__shade;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Figma QLD-color-light-alt styles
|
|
345
|
+
*/
|
|
346
|
+
@if global-variable-exists(Figma-QLD-color-light-alt-button){
|
|
347
|
+
$QLD-color-light-alt-button: $Figma-QLD-color-light-alt-button;
|
|
348
|
+
}
|
|
349
|
+
@if global-variable-exists(Figma-QLD-color-light-alt-button__hover){
|
|
350
|
+
$QLD-color-light-alt-button__hover: $Figma-QLD-color-light-alt-button__hover;
|
|
351
|
+
}
|
|
352
|
+
@if global-variable-exists(Figma-QLD-color-light-alt-border){
|
|
353
|
+
$QLD-color-light-alt-border: $Figma-QLD-color-light-alt-border;
|
|
354
|
+
}
|
|
355
|
+
@if global-variable-exists(Figma-QLD-color-light-alt-background){
|
|
356
|
+
$QLD-color-light-alt-background: $Figma-QLD-color-light-alt-background;
|
|
357
|
+
}
|
|
358
|
+
@if global-variable-exists(Figma-QLD-color-light-alt-background__shade){
|
|
359
|
+
$QLD-color-light-alt-background__shade: $Figma-QLD-color-light-alt-background__shade;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Figma QLD-color-dark styles
|
|
365
|
+
*/
|
|
366
|
+
@if global-variable-exists(Figma-QLD-color-dark-siteTitle){
|
|
367
|
+
$QLD-color-dark-siteTitle: $Figma-QLD-color-dark-siteTitle;
|
|
368
|
+
}
|
|
369
|
+
@if global-variable-exists(Figma-QLD-color-dark-designAccent){
|
|
370
|
+
$QLD-color-dark-designAccent: $Figma-QLD-color-dark-designAccent;
|
|
371
|
+
}
|
|
372
|
+
@if global-variable-exists(Figma-QLD-color-dark-heading){
|
|
373
|
+
$QLD-color-dark-heading: $Figma-QLD-color-dark-heading;
|
|
374
|
+
}
|
|
375
|
+
@if global-variable-exists(Figma-QLD-color-dark-text){
|
|
376
|
+
$QLD-color-dark-text: $Figma-QLD-color-dark-text;
|
|
377
|
+
}
|
|
378
|
+
@if global-variable-exists(Figma-QLD-color-dark-text__muted){
|
|
379
|
+
$QLD-color-dark-text__muted: $Figma-QLD-color-dark-text__muted;
|
|
380
|
+
}
|
|
381
|
+
@if global-variable-exists(Figma-QLD-color-dark-link){
|
|
382
|
+
$QLD-color-dark-link: $Figma-QLD-color-dark-link;
|
|
383
|
+
}
|
|
384
|
+
@if global-variable-exists(Figma-QLD-color-dark-link__visited){
|
|
385
|
+
$QLD-color-dark-link__visited: $Figma-QLD-color-dark-link__visited;
|
|
386
|
+
}
|
|
387
|
+
@if global-variable-exists(Figma-QLD-color-dark-button__text){
|
|
388
|
+
$QLD-color-dark-button__text: $Figma-QLD-color-dark-button__text;
|
|
389
|
+
}
|
|
390
|
+
@if global-variable-exists(Figma-QLD-color-dark-button){
|
|
391
|
+
$QLD-color-dark-button: $Figma-QLD-color-dark-button;
|
|
392
|
+
}
|
|
393
|
+
@if global-variable-exists(Figma-QLD-color-dark-button__hover){
|
|
394
|
+
$QLD-color-dark-button__hover: $Figma-QLD-color-dark-button__hover;
|
|
395
|
+
}
|
|
396
|
+
@if global-variable-exists(Figma-QLD-color-dark-focus){
|
|
397
|
+
$QLD-color-dark-focus: $Figma-QLD-color-dark-focus;
|
|
398
|
+
}
|
|
399
|
+
@if global-variable-exists(Figma-QLD-color-dark-border){
|
|
400
|
+
$QLD-color-dark-border: $Figma-QLD-color-dark-border;
|
|
401
|
+
}
|
|
402
|
+
@if global-variable-exists(Figma-QLD-color-dark-background){
|
|
403
|
+
$QLD-color-dark-background: $Figma-QLD-color-dark-background;
|
|
404
|
+
}
|
|
405
|
+
@if global-variable-exists(Figma-QLD-color-dark-background__shade){
|
|
406
|
+
$QLD-color-dark-background__shade: $Figma-QLD-color-dark-background__shade;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Figma QLD-color-alt-dark styles
|
|
411
|
+
*/
|
|
412
|
+
@if global-variable-exists(Figma-QLD-color-dark-alt-button){
|
|
413
|
+
$QLD-color-dark-alt-button: $Figma-QLD-color-dark-alt-button;
|
|
414
|
+
}
|
|
415
|
+
@if global-variable-exists(Figma-QLD-color-dark-alt-button__hover){
|
|
416
|
+
$QLD-color-dark-alt-button__hover: $Figma-QLD-color-dark-alt-button__hover;
|
|
417
|
+
}
|
|
418
|
+
@if global-variable-exists(Figma-QLD-color-dark-alt-border){
|
|
419
|
+
$QLD-color-dark-alt-border: $Figma-QLD-color-dark-alt-border;
|
|
420
|
+
}
|
|
421
|
+
@if global-variable-exists(Figma-QLD-color-dark-alt-background){
|
|
422
|
+
$QLD-color-dark-alt-background: $Figma-QLD-color-dark-alt-background;
|
|
423
|
+
}
|
|
424
|
+
@if global-variable-exists(Figma-QLD-color-dark-alt-background__shade){
|
|
425
|
+
$QLD-color-dark-alt-background__shade: $Figma-QLD-color-dark-alt-background__shade;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* QLD-border-radius styles
|
|
431
|
+
*/
|
|
432
|
+
$QLD-border-radius: $QLD-unit + 0px !default;
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* QLD custom properties (CSS variables) - defaults
|
|
437
|
+
*/
|
|
438
|
+
:root,
|
|
439
|
+
::after,
|
|
440
|
+
::before {
|
|
441
|
+
--QLD-color-light-siteTitle: #{$QLD-color-light-siteTitle};
|
|
442
|
+
--QLD-color-light-designAccent:#{$QLD-color-light-designAccent};
|
|
443
|
+
--QLD-color-light-heading: #{$QLD-color-light-heading};
|
|
444
|
+
--QLD-color-light-text: #{$QLD-color-light-text};
|
|
445
|
+
--QLD-color-light-text__muted:#{$QLD-color-light-text__muted};
|
|
446
|
+
--QLD-color-light-link: #{$QLD-color-light-link};
|
|
447
|
+
--QLD-color-light-link__visited: #{$QLD-color-light-link__visited};
|
|
448
|
+
--QLD-color-light-button__text: #{$QLD-color-light-button__text};
|
|
449
|
+
--QLD-color-light-button: #{$QLD-color-light-button};
|
|
450
|
+
--QLD-color-light-button__hover: #{$QLD-color-light-button__hover};
|
|
451
|
+
--QLD-color-light-focus: #{$QLD-color-light-focus};
|
|
452
|
+
--QLD-color-light-border: #{$QLD-color-light-border};
|
|
453
|
+
--QLD-color-light-background: #{$QLD-color-light-background};
|
|
454
|
+
--QLD-color-light-background__shade: #{$QLD-color-light-background__shade};
|
|
455
|
+
--QLD-color-light-hint: #{$QLD-color-light-hint};
|
|
456
|
+
|
|
457
|
+
--QLD-color-light-alt-button: #{$QLD-color-light-alt-button};
|
|
458
|
+
--QLD-color-light-alt-button__hover: #{$QLD-color-light-alt-button__hover};
|
|
459
|
+
--QLD-color-light-alt-border: #{$QLD-color-light-alt-border};
|
|
460
|
+
--QLD-color-light-alt-background: #{$QLD-color-light-alt-background};
|
|
461
|
+
--QLD-color-light-alt-background__shade: #{$QLD-color-light-alt-background__shade};
|
|
462
|
+
--QLD-color-light-alt-hint: #{$QLD-color-light-alt-hint};
|
|
463
|
+
|
|
464
|
+
--QLD-color-dark-siteTitle: #{$QLD-color-dark-siteTitle};
|
|
465
|
+
--QLD-color-dark-designAccent:#{$QLD-color-dark-designAccent};
|
|
466
|
+
--QLD-color-dark-heading: #{$QLD-color-dark-heading};
|
|
467
|
+
--QLD-color-dark-text: #{$QLD-color-dark-text};
|
|
468
|
+
--QLD-color-dark-text__muted: #{$QLD-color-dark-text__muted};
|
|
469
|
+
--QLD-color-dark-link: #{$QLD-color-dark-link};
|
|
470
|
+
--QLD-color-dark-link__visited: #{$QLD-color-dark-link__visited};
|
|
471
|
+
--QLD-color-dark-button__text: #{$QLD-color-dark-button__text};
|
|
472
|
+
--QLD-color-dark-button: #{$QLD-color-dark-button};
|
|
473
|
+
--QLD-color-dark-button__hover: #{$QLD-color-dark-button__hover};
|
|
474
|
+
--QLD-color-dark-focus: #{$QLD-color-dark-focus};
|
|
475
|
+
--QLD-color-dark-border: #{$QLD-color-dark-border};
|
|
476
|
+
--QLD-color-dark-background: #{$QLD-color-dark-background};
|
|
477
|
+
--QLD-color-dark-background__shade: #{$QLD-color-dark-background__shade};
|
|
478
|
+
|
|
479
|
+
--QLD-color-dark-alt-button: #{$QLD-color-dark-alt-button};
|
|
480
|
+
--QLD-color-dark-alt-button__hover: #{$QLD-color-dark-alt-button__hover};
|
|
481
|
+
--QLD-color-dark-alt-border: #{$QLD-color-dark-alt-border};
|
|
482
|
+
--QLD-color-dark-alt-background: #{$QLD-color-dark-alt-background};
|
|
483
|
+
--QLD-color-dark-alt-background__shade: #{$QLD-color-dark-alt-background__shade};
|
|
484
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const glob = require('glob');
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
var path = require("path");
|
|
4
|
+
const apiDir = `./dist/api/service_finder`;
|
|
5
|
+
|
|
6
|
+
// A JavaScript class.
|
|
7
|
+
class JsonMergePlugin {
|
|
8
|
+
constructor(options = {}) {
|
|
9
|
+
this.options = options;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
apply(compiler) {
|
|
13
|
+
const inputPath = this.options.input;
|
|
14
|
+
const outputPath = this.options.output.endsWith('/') ? this.options.output.slice(0, -1) : this.options.output;
|
|
15
|
+
|
|
16
|
+
const output = {};
|
|
17
|
+
|
|
18
|
+
glob(inputPath, (error, files) => {
|
|
19
|
+
files.forEach((filename) => {
|
|
20
|
+
const contents = JSON.parse(fs.readFileSync(filename, 'utf8'));
|
|
21
|
+
var key = path.basename(filename, path.extname(filename));
|
|
22
|
+
output[key] = contents;
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
if(!fs.existsSync(apiDir)) {
|
|
26
|
+
fs.mkdirSync(apiDir, {recursive: true});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
fs.writeFileSync(outputPath, JSON.stringify(output));
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
module.exports = JsonMergePlugin;
|