@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,177 @@
|
|
|
1
|
+
<!--FOOTER -->
|
|
2
|
+
{{#with site.metadata}}
|
|
3
|
+
<footer class="qld__footer {{footerStyle.value}}" role="contentinfo">
|
|
4
|
+
|
|
5
|
+
{{#if footerSiteTitle.value}}
|
|
6
|
+
<div class="container-fluid">
|
|
7
|
+
<div class="row qld__footer__row">
|
|
8
|
+
<div class="col-xs-12 qld__footer__column">
|
|
9
|
+
<div class="qld__footer__title">
|
|
10
|
+
<h4 class="qld__footer__heading">{{footerSiteTitle.value}}</h4>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
{{/if}}
|
|
16
|
+
|
|
17
|
+
<div class="container-fluid">
|
|
18
|
+
<div class="row">
|
|
19
|
+
<div class="col-xs-12 col-lg-3 qld__footer__column">
|
|
20
|
+
<div class="container-fluid">
|
|
21
|
+
<div class="row ">
|
|
22
|
+
<div class="col-xs-6 col-lg-12">
|
|
23
|
+
{{#if footerCTAHeading}}
|
|
24
|
+
<h4 class="qld__footer__heading">{{footerCTAHeading.value}}</h4>
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{#if footerCTALead}}
|
|
27
|
+
<p class="qld__footer__cta-content">
|
|
28
|
+
{{footerCTALead.value}}
|
|
29
|
+
</p>
|
|
30
|
+
{{/if}}
|
|
31
|
+
{{#if footerCTAContact.value}}
|
|
32
|
+
<p class="qld__footer__cta-content">
|
|
33
|
+
{{#if footerCTAContactIcon.value}}
|
|
34
|
+
<i class="qld__footer__cta__icon {{footerCTAContactIcon.value}}"></i>
|
|
35
|
+
{{/if}}
|
|
36
|
+
{{{footerCTAContact.value}}}
|
|
37
|
+
</p>
|
|
38
|
+
{{/if}}
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-xs-6 col-lg-12 ">
|
|
41
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
42
|
+
{{#if footerCTALink}}
|
|
43
|
+
{{#ifCond footerCTALink.asset_type_code '==' 'page_redirect'}}
|
|
44
|
+
<a href="{{urldecode (lookup footerCTALink 'redirect_url^urlencode')}}" class="qld__btn qld__btn--secondary">{{lookup footerCTALink 'asset_short_name^escapequotes'}}</a>
|
|
45
|
+
{{else}}
|
|
46
|
+
<a href="{{urldecode (lookup footerCTALink 'asset_url^urlencode')}}" class="qld__btn qld__btn--secondary">{{lookup footerCTALink 'asset_short_name^escapequotes'}}</a>
|
|
47
|
+
{{/ifCond}}
|
|
48
|
+
{{/if}}
|
|
49
|
+
{{/with}}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
56
|
+
{{#if footerOptionalSecondLinksList}}
|
|
57
|
+
<div class="col-xs-12 col-lg-2 qld__footer__column">
|
|
58
|
+
<nav class="qld__footer__navigation" aria-label="footer">
|
|
59
|
+
{{#if ../footerOptionalExtraLinksHeading.value}}
|
|
60
|
+
<h4 class="qld__footer__heading">{{../footerOptionalExtraLinksHeading.value}}</h4>
|
|
61
|
+
{{/if}}
|
|
62
|
+
<ul class="qld__link-list">
|
|
63
|
+
{{#each footerOptionalSecondLinksList}}
|
|
64
|
+
<li>
|
|
65
|
+
{{#ifCond asset_type_code '==' 'page_redirect'}}
|
|
66
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'redirect_url^urlencode')}}">{{lookup this 'asset_short_name^escapequotes'}}</a>
|
|
67
|
+
|
|
68
|
+
{{else}}
|
|
69
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'asset_url^urlencode')}}">{{lookup this 'asset_short_name^escapequotes'}}</a>
|
|
70
|
+
{{/ifCond}}
|
|
71
|
+
</li>
|
|
72
|
+
{{/each}}
|
|
73
|
+
</ul>
|
|
74
|
+
</nav>
|
|
75
|
+
</div>
|
|
76
|
+
{{/if}}
|
|
77
|
+
{{/with}}
|
|
78
|
+
|
|
79
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
80
|
+
{{#if footerLinks}}
|
|
81
|
+
<div class="col-xs-12 col-lg-2 qld__footer__column">
|
|
82
|
+
<nav class="qld__footer__navigation" aria-label="footer">
|
|
83
|
+
<ul class="qld__link-list">
|
|
84
|
+
{{#each footerLinks}}
|
|
85
|
+
<li>
|
|
86
|
+
{{#ifCond asset_type_code '==' 'page_redirect'}}
|
|
87
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'redirect_url^urlencode')}}">{{lookup this 'asset_short_name^escapequotes'}}</a>
|
|
88
|
+
|
|
89
|
+
{{else}}
|
|
90
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'asset_url^urlencode')}}">{{lookup this 'asset_short_name^escapequotes'}}</a>
|
|
91
|
+
{{/ifCond}}
|
|
92
|
+
</li>
|
|
93
|
+
{{/each}}
|
|
94
|
+
</ul>
|
|
95
|
+
</nav>
|
|
96
|
+
</div>
|
|
97
|
+
{{/if}}
|
|
98
|
+
{{/with}}
|
|
99
|
+
|
|
100
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
101
|
+
{{#if footerSocialLinks}}
|
|
102
|
+
<div class="col-xs-12 col-lg-2 qld__footer__column">
|
|
103
|
+
<nav class="qld__footer__social" aria-label="social media links">
|
|
104
|
+
{{#if ../footerSocialLinksHeading.value}}
|
|
105
|
+
<h4 class="qld__footer__heading">{{../footerSocialLinksHeading.value}}</h4>
|
|
106
|
+
{{/if}}
|
|
107
|
+
<ul class="qld__link-list">
|
|
108
|
+
{{#each footerSocialLinks}}
|
|
109
|
+
<li>
|
|
110
|
+
{{#ifCond asset_type_code '==' 'page_redirect'}}
|
|
111
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'redirect_url^urlencode')}}">
|
|
112
|
+
{{else}}
|
|
113
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup this 'asset_url^urlencode')}}">
|
|
114
|
+
{{/ifCond}}
|
|
115
|
+
{{#ifCond (lookup this 'asset_short_name^escapequotes') 'contains' 'facebook'}}
|
|
116
|
+
<svg aria-hidden="true" focusable="false" width="32" height="20" viewBox="0 0 12 21" fill="none" xmlns="http://www.w3.org/2000/svg" role="img"><title>Facebook icon</title><path d="M3.85156 20.5H7.52344V11.5547H10.375L10.8438 8H7.52344V5.53906C7.52344 4.99219 7.60156 4.5625 7.83594 4.28906C8.07031 3.97656 8.57812 3.82031 9.28125 3.82031H11.1562V0.65625C10.4531 0.578125 9.51562 0.5 8.42188 0.5C7.01562 0.5 5.92188 0.929688 5.10156 1.75C4.24219 2.57031 3.85156 3.70312 3.85156 5.1875V8H0.84375V11.5547H3.85156V20.5Z" fill="currentColor"/></svg>{{/ifCond}}
|
|
117
|
+
{{#ifCond (lookup this 'asset_short_name^escapequotes') 'contains' 'twitter'}}
|
|
118
|
+
<svg aria-hidden="true" focusable="false" width="32" height="20" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg" role="img"><title>Twitter icon</title><path d="M17.9297 4.4375C18.7109 3.85156 19.4141 3.14844 20 2.28906C19.2188 2.64062 18.4375 2.875 17.6562 2.95312C18.5156 2.40625 19.1406 1.66406 19.4531 0.6875C18.6328 1.15625 17.7734 1.50781 16.8359 1.66406C16.4453 1.27344 15.9766 0.960938 15.4688 0.726562C14.9609 0.492188 14.4141 0.375 13.8281 0.375C13.0859 0.375 12.4219 0.570312 11.7969 0.921875C11.1719 1.3125 10.6641 1.82031 10.3125 2.44531C9.92188 3.07031 9.76562 3.77344 9.76562 4.47656C9.76562 4.78906 9.76562 5.10156 9.84375 5.41406C8.16406 5.33594 6.60156 4.94531 5.11719 4.16406C3.63281 3.42188 2.42188 2.40625 1.40625 1.11719C1.01562 1.78125 0.820312 2.48438 0.820312 3.1875C0.820312 3.89062 0.976562 4.55469 1.32812 5.14062C1.64062 5.76562 2.10938 6.23438 2.65625 6.625C1.99219 6.625 1.36719 6.42969 0.820312 6.07812V6.15625C0.820312 7.13281 1.13281 7.99219 1.75781 8.73438C2.38281 9.51562 3.16406 9.98438 4.10156 10.1797C3.71094 10.2578 3.35938 10.2969 3.00781 10.2969C2.77344 10.2969 2.5 10.2969 2.26562 10.2578C2.5 11.0781 2.96875 11.7422 3.67188 12.2891C4.375 12.8359 5.15625 13.0703 6.09375 13.0703C4.57031 14.2422 2.85156 14.8281 0.976562 14.8281C0.585938 14.8281 0.273438 14.8281 0 14.7891C1.875 16.0391 3.98438 16.625 6.28906 16.625C8.67188 16.625 10.7812 16.0391 12.6562 14.7891C14.3359 13.6953 15.6641 12.25 16.6016 10.375C17.5 8.65625 17.9688 6.82031 17.9688 4.94531C17.9688 4.71094 17.9297 4.55469 17.9297 4.4375Z" fill="currentColor"/></svg>{{/ifCond}}
|
|
119
|
+
{{#ifCond (lookup this 'asset_short_name^escapequotes') 'contains' 'linkedin'}}
|
|
120
|
+
<svg aria-hidden="true" focusable="false" width="32" height="20" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg" role="img"><title>Linkedin icon</title><path d="M4.15625 18.25V6.57031H0.523438V18.25H4.15625ZM2.35938 4.96875C2.90625 4.96875 3.41406 4.77344 3.84375 4.34375C4.23438 3.95312 4.46875 3.44531 4.46875 2.85938C4.46875 2.3125 4.23438 1.80469 3.84375 1.375C3.41406 0.984375 2.90625 0.75 2.35938 0.75C1.77344 0.75 1.26562 0.984375 0.875 1.375C0.445312 1.80469 0.25 2.3125 0.25 2.85938C0.25 3.44531 0.445312 3.95312 0.875 4.34375C1.26562 4.77344 1.77344 4.96875 2.35938 4.96875ZM17.75 18.25V11.8438C17.75 10.0469 17.4766 8.71875 16.9688 7.85938C16.2656 6.80469 15.0938 6.25781 13.4141 6.25781C12.5547 6.25781 11.8516 6.49219 11.2266 6.88281C10.6406 7.23438 10.2109 7.66406 9.97656 8.17188H9.9375V6.57031H6.46094V18.25H10.0547V12.4688C10.0547 11.5703 10.1719 10.8672 10.4453 10.3984C10.7578 9.77344 11.3438 9.46094 12.2031 9.46094C13.0234 9.46094 13.5703 9.8125 13.8828 10.5156C14.0391 10.9453 14.1172 11.6094 14.1172 12.5469V18.25H17.75Z" fill="currentColor"/></svg>{{/ifCond}}
|
|
121
|
+
{{#ifCond (lookup this 'asset_short_name^escapequotes') 'contains' 'youtube'}}
|
|
122
|
+
<svg aria-hidden="true" focusable="false" width="32" height="20" viewBox="0 0 22 15" fill="none" xmlns="http://www.w3.org/2000/svg" role="img"><title>Youtube icon</title><path d="M21.2344 2.34375C21.3906 3.04688 21.5469 4.14062 21.625 5.54688L21.6641 7.5L21.625 9.45312C21.5469 10.9375 21.3906 11.9922 21.2344 12.6953C21.0781 13.1641 20.8438 13.5547 20.5312 13.8672C20.1797 14.2188 19.7891 14.4531 19.3203 14.5703C18.6172 14.7656 17.0547 14.8828 14.5547 14.9609L11 15L7.44531 14.9609C4.94531 14.8828 3.34375 14.7656 2.67969 14.5703C2.21094 14.4531 1.78125 14.2188 1.46875 13.8672C1.11719 13.5547 0.882812 13.1641 0.765625 12.6953C0.570312 11.9922 0.453125 10.9375 0.375 9.45312L0.335938 7.5C0.335938 6.95312 0.335938 6.28906 0.375 5.54688C0.453125 4.14062 0.570312 3.04688 0.765625 2.34375C0.882812 1.875 1.11719 1.48438 1.46875 1.13281C1.78125 0.820312 2.21094 0.585938 2.67969 0.429688C3.34375 0.273438 4.94531 0.117188 7.44531 0.0390625L11 0L14.5547 0.0390625C17.0547 0.117188 18.6172 0.273438 19.3203 0.429688C19.7891 0.585938 20.1797 0.820312 20.5312 1.13281C20.8438 1.48438 21.0781 1.875 21.2344 2.34375ZM8.8125 10.7031L14.3984 7.5L8.8125 4.33594V10.7031Z" fill="currentColor"/></svg>{{/ifCond}}
|
|
123
|
+
{{#ifCond (lookup this 'asset_short_name^escapequotes') 'contains' 'instagram'}}
|
|
124
|
+
<svg aria-hidden="true" focusable="false" width="32" height="20" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg" role="img"><title>Instagram icon</title><path d="M9 5.00781C9.78125 5.00781 10.5234 5.24219 11.2266 5.63281C11.9297 6.02344 12.4766 6.57031 12.8672 7.27344C13.2578 7.97656 13.4922 8.71875 13.4922 9.5C13.4922 10.3203 13.2578 11.0625 12.8672 11.7656C12.4766 12.4688 11.9297 13.0156 11.2266 13.4062C10.5234 13.7969 9.78125 13.9922 9 13.9922C8.17969 13.9922 7.4375 13.7969 6.73438 13.4062C6.03125 13.0156 5.48438 12.4688 5.09375 11.7656C4.70312 11.0625 4.50781 10.3203 4.50781 9.5C4.50781 8.71875 4.70312 7.97656 5.09375 7.27344C5.48438 6.57031 6.03125 6.02344 6.73438 5.63281C7.4375 5.24219 8.17969 5.00781 9 5.00781ZM9 12.4297C9.78125 12.4297 10.4844 12.1562 11.0703 11.5703C11.6172 11.0234 11.9297 10.3203 11.9297 9.5C11.9297 8.71875 11.6172 8.01562 11.0703 7.42969C10.4844 6.88281 9.78125 6.57031 9 6.57031C8.17969 6.57031 7.47656 6.88281 6.92969 7.42969C6.34375 8.01562 6.07031 8.71875 6.07031 9.5C6.07031 10.3203 6.34375 11.0234 6.92969 11.5703C7.47656 12.1562 8.17969 12.4297 9 12.4297ZM14.7422 4.8125C14.7422 4.53906 14.625 4.30469 14.4297 4.07031C14.1953 3.875 13.9609 3.75781 13.6875 3.75781C13.375 3.75781 13.1406 3.875 12.9453 4.07031C12.7109 4.30469 12.6328 4.53906 12.6328 4.8125C12.6328 5.125 12.7109 5.35938 12.9453 5.55469C13.1406 5.78906 13.375 5.86719 13.6875 5.86719C13.9609 5.86719 14.1953 5.78906 14.3906 5.55469C14.5859 5.35938 14.7031 5.125 14.7422 4.8125ZM17.7109 5.86719C17.7109 6.60938 17.75 7.82031 17.75 9.5C17.75 11.2188 17.7109 12.4297 17.6719 13.1719C17.6328 13.9141 17.5156 14.5391 17.3594 15.0859C17.125 15.75 16.7344 16.3359 16.2656 16.8047C15.7969 17.2734 15.2109 17.625 14.5859 17.8594C14.0391 18.0547 13.375 18.1719 12.6328 18.2109C11.8906 18.25 10.6797 18.25 9 18.25C7.28125 18.25 6.07031 18.25 5.32812 18.2109C4.58594 18.1719 3.96094 18.0547 3.41406 17.8203C2.75 17.625 2.16406 17.2734 1.69531 16.8047C1.22656 16.3359 0.875 15.75 0.640625 15.0859C0.445312 14.5391 0.328125 13.9141 0.289062 13.1719C0.25 12.4297 0.25 11.2188 0.25 9.5C0.25 7.82031 0.25 6.60938 0.289062 5.86719C0.328125 5.125 0.445312 4.46094 0.640625 3.91406C0.875 3.28906 1.22656 2.70312 1.69531 2.23438C2.16406 1.76562 2.75 1.375 3.41406 1.14062C3.96094 0.984375 4.58594 0.867188 5.32812 0.828125C6.07031 0.789062 7.28125 0.75 9 0.75C10.6797 0.75 11.8906 0.789062 12.6328 0.828125C13.375 0.867188 14.0391 0.984375 14.5859 1.14062C15.2109 1.375 15.7969 1.76562 16.2656 2.23438C16.7344 2.70312 17.125 3.28906 17.3594 3.91406C17.5156 4.46094 17.6328 5.125 17.7109 5.86719ZM15.8359 14.6562C15.9922 14.2266 16.0703 13.5234 16.1484 12.5469C16.1484 12 16.1875 11.1797 16.1875 10.125V8.875C16.1875 7.82031 16.1484 7 16.1484 6.45312C16.0703 5.47656 15.9922 4.77344 15.8359 4.34375C15.5234 3.5625 14.9375 2.97656 14.1562 2.66406C13.7266 2.50781 13.0234 2.42969 12.0469 2.35156C11.4609 2.35156 10.6406 2.3125 9.625 2.3125H8.375C7.32031 2.3125 6.5 2.35156 5.95312 2.35156C4.97656 2.42969 4.27344 2.50781 3.84375 2.66406C3.02344 2.97656 2.47656 3.5625 2.16406 4.34375C2.00781 4.77344 1.89062 5.47656 1.85156 6.45312C1.8125 7.03906 1.8125 7.85938 1.8125 8.875V10.125C1.8125 11.1797 1.8125 12 1.85156 12.5469C1.89062 13.5234 2.00781 14.2266 2.16406 14.6562C2.47656 15.4766 3.0625 16.0234 3.84375 16.3359C4.27344 16.4922 4.97656 16.6094 5.95312 16.6484C6.5 16.6875 7.32031 16.6875 8.375 16.6875H9.625C10.6797 16.6875 11.5 16.6875 12.0469 16.6484C13.0234 16.6094 13.7266 16.4922 14.1562 16.3359C14.9375 16.0234 15.5234 15.4375 15.8359 14.6562Z" fill="currentColor"/></svg>{{/ifCond}}
|
|
125
|
+
<span class="qld__footer__social__label">{{lookup this 'asset_short_name^escapequotes'}}</span>
|
|
126
|
+
</a>
|
|
127
|
+
</li>
|
|
128
|
+
{{/each}}
|
|
129
|
+
</ul>
|
|
130
|
+
</nav>
|
|
131
|
+
</div>
|
|
132
|
+
{{/if}}
|
|
133
|
+
{{/with}}
|
|
134
|
+
|
|
135
|
+
<div class="col-xs-12 qld__footer__column">
|
|
136
|
+
<div class="">
|
|
137
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
138
|
+
{{#if footerLogo}}
|
|
139
|
+
<a class="qld__footer__logo" href="https://www.qld.gov.au/">
|
|
140
|
+
<img
|
|
141
|
+
class="qld__footer__logo-image"
|
|
142
|
+
alt="Queensland Government"
|
|
143
|
+
src="{{urldecode (lookup footerLogo 'asset_url^urlencode')}}"
|
|
144
|
+
/>
|
|
145
|
+
</a>
|
|
146
|
+
{{/if}}
|
|
147
|
+
{{/with}}
|
|
148
|
+
|
|
149
|
+
{{#if footerAcknowledgements.value}}
|
|
150
|
+
<p class="qld__footer__acknowledgements">
|
|
151
|
+
{{footerAcknowledgements.value}}
|
|
152
|
+
</p>
|
|
153
|
+
{{/if}}
|
|
154
|
+
|
|
155
|
+
{{#if footerCopyrightMessage.value}}
|
|
156
|
+
<p>
|
|
157
|
+
{{footerCopyrightMessage.value}}
|
|
158
|
+
</p>
|
|
159
|
+
{{/if}}
|
|
160
|
+
|
|
161
|
+
{{#with (jsonParse footerMetaMetadata.value)}}
|
|
162
|
+
{{#if footerCopyrightLink}}
|
|
163
|
+
{{#ifCond footerCopyrightLink.asset_type_code '==' 'page_redirect'}}
|
|
164
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup footerCopyrightLink 'redirect_url^urlencode')}}" rel="external">{{lookup footerCopyrightLink 'asset_short_name^escapequotes'}}</a>
|
|
165
|
+
{{else}}
|
|
166
|
+
<a class="qld__footer__clickable__link" href="{{urldecode (lookup footerCopyrightLink 'asset_url^urlencode')}}" rel="external">{{lookup footerCopyrightLink 'asset_short_name^escapequotes'}}</a>
|
|
167
|
+
{{/ifCond}}
|
|
168
|
+
{{/if}}
|
|
169
|
+
|
|
170
|
+
{{/with}}
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</footer>
|
|
176
|
+
|
|
177
|
+
{{/with}}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Global Alert
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.qld__global_alert_include {
|
|
6
|
+
max-height:0;
|
|
7
|
+
transition:max-height 1s ease-in;
|
|
8
|
+
overflow:hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.qld__global_alert {
|
|
12
|
+
padding:5px 0 5px 0;
|
|
13
|
+
|
|
14
|
+
&.qld__global_alert--critical {
|
|
15
|
+
background-color:#e22339;
|
|
16
|
+
color:#ffffff;
|
|
17
|
+
font-size:pxToEm(13);
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
color:#ffffff;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
svg path {
|
|
24
|
+
fill:#ffffff;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.qld__global_alert--default {
|
|
29
|
+
background-color:#FFCC2C;
|
|
30
|
+
color:#414141;
|
|
31
|
+
font-size:pxToEm(14);
|
|
32
|
+
|
|
33
|
+
a {
|
|
34
|
+
color:#414141;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
svg path {
|
|
38
|
+
fill:#414141;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.qld__global_alert--general {
|
|
43
|
+
background-color:#e5eef5;
|
|
44
|
+
color:#414141;
|
|
45
|
+
font-size:pxToEm(14);
|
|
46
|
+
|
|
47
|
+
a {
|
|
48
|
+
color:#414141;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
svg path {
|
|
52
|
+
fill:#414141;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.qld__global_alert__icon {
|
|
57
|
+
line-height:1;
|
|
58
|
+
margin-top: 2px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.qld__global_alert__main {
|
|
62
|
+
display:flex;
|
|
63
|
+
margin:6px 0;
|
|
64
|
+
|
|
65
|
+
@include QLD-media(sm) {
|
|
66
|
+
margin:14px 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include QLD-media(md) {
|
|
70
|
+
margin:6px 0;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.qld__global_alert__content {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
padding:0 16px 0 16px;
|
|
79
|
+
|
|
80
|
+
@include QLD-media(md) {
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
padding:0 48px 0 16px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.qld__global_alert__action {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
font-weight: bold;
|
|
89
|
+
margin-top: 0.75rem;
|
|
90
|
+
&:first-child{
|
|
91
|
+
margin: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
a {
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
&:hover{
|
|
98
|
+
text-decoration: none;
|
|
99
|
+
|
|
100
|
+
svg{
|
|
101
|
+
transform: translateX(4px);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
&:focus{
|
|
105
|
+
outline: 3px solid #052C53;
|
|
106
|
+
outline-offset: 2px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
svg {
|
|
111
|
+
display:inline-block;
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
margin-left:8px;
|
|
114
|
+
transition: all .3s ease;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
@include QLD-media(md) {
|
|
119
|
+
margin-top: 0;
|
|
120
|
+
margin-left: 2rem;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.qld__global_alert__close {
|
|
125
|
+
margin-left:auto;
|
|
126
|
+
position:relative;
|
|
127
|
+
line-height:1;
|
|
128
|
+
display:flex;
|
|
129
|
+
// align-items: center;
|
|
130
|
+
text-align: center;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
|
|
133
|
+
button {
|
|
134
|
+
background-color:rgba(0, 0, 0, 0.1);
|
|
135
|
+
cursor:pointer;
|
|
136
|
+
height:32px;
|
|
137
|
+
width:32px;
|
|
138
|
+
padding:0;
|
|
139
|
+
border-radius:20px;
|
|
140
|
+
border:0;
|
|
141
|
+
position: relative;
|
|
142
|
+
transition: all .3s ease;
|
|
143
|
+
|
|
144
|
+
svg {
|
|
145
|
+
width:12px;
|
|
146
|
+
height:12px;
|
|
147
|
+
margin:0;
|
|
148
|
+
padding:0;
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&:hover {
|
|
153
|
+
transform: scale(1.3);
|
|
154
|
+
}
|
|
155
|
+
&:focus{
|
|
156
|
+
outline: 3px solid #052C53;
|
|
157
|
+
outline-offset: 2px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@include QLD-media(md) {
|
|
161
|
+
right: -20px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@include QLD-media(lg) {
|
|
165
|
+
right: 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{{#ifCond site.metadata.alertDisplay.value '==' 'true'}}
|
|
2
|
+
<section class="qld__global_alert qld__global_alert--{{site.metadata.alertLevel.value}}">
|
|
3
|
+
<div class="container-fluid">
|
|
4
|
+
<div class="qld__global_alert__main">
|
|
5
|
+
<div class="qld__global_alert__icon">
|
|
6
|
+
{{#ifCond site.metadata.alertLevel.value '==' 'default'}}
|
|
7
|
+
<svg aria-label="Alert" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"><use href="{{@root.site.metadata.siteDefaultIcons.value}}#qld__icon__warning"></use></svg>
|
|
8
|
+
{{/ifCond}}
|
|
9
|
+
{{#ifCond site.metadata.alertLevel.value '==' 'critical'}}
|
|
10
|
+
<svg aria-label="Critical alert" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"><use href="{{@root.site.metadata.siteDefaultIcons.value}}#qld__icon__critical"></use></svg>
|
|
11
|
+
{{/ifCond}}
|
|
12
|
+
{{#ifCond site.metadata.alertLevel.value '==' 'general'}}
|
|
13
|
+
<svg aria-label="General Alert" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"><use href="{{@root.site.metadata.siteDefaultIcons.value}}#qld__icon__info"></use></svg>
|
|
14
|
+
{{/ifCond}}
|
|
15
|
+
</div>
|
|
16
|
+
<div class="qld__global_alert__content">
|
|
17
|
+
{{#if site.metadata.alertMessage.value}}
|
|
18
|
+
<div class="qld__global_alert__message">
|
|
19
|
+
<strong>{{site.metadata.alertTitle.value}}</strong> {{site.metadata.alertMessage.value}}
|
|
20
|
+
</div>
|
|
21
|
+
{{/if}}
|
|
22
|
+
<div class="qld__global_alert__action">
|
|
23
|
+
<a href="{{site.metadata.alertLinkURL.value}}">
|
|
24
|
+
<span>{{site.metadata.alertLinkTitle.value}}</span>
|
|
25
|
+
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--sm"><use href="{{@root.site.metadata.siteDefaultIcons.value}}#qld__icon__arrow-right"></use></svg>
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="qld__global_alert__close">
|
|
30
|
+
<button aria-label="Close alert">
|
|
31
|
+
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"><use href="{{@root.site.metadata.siteDefaultIcons.value}}#qld__icon__close"></use></svg>
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
</section>
|
|
38
|
+
{{/ifCond}}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
(function () {
|
|
2
|
+
'use strict';
|
|
3
|
+
/**
|
|
4
|
+
* @module globalAlert
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Initialise global alert, and add close button event listener
|
|
9
|
+
*
|
|
10
|
+
* @memberof module:globalAlert
|
|
11
|
+
* @instance
|
|
12
|
+
* @private
|
|
13
|
+
*/
|
|
14
|
+
function initGlobalAlert() {
|
|
15
|
+
var alert = document.querySelector(".qld__global_alert");
|
|
16
|
+
|
|
17
|
+
if (alert !== null) {
|
|
18
|
+
var alertContainer = document.querySelector(".qld__global_alert_include");
|
|
19
|
+
var closeButton = document.querySelector(".qld__global_alert__close button");
|
|
20
|
+
|
|
21
|
+
var siteName = '';
|
|
22
|
+
if (alertContainer !== null) {
|
|
23
|
+
siteName = alertContainer.getAttribute("data-name");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (closeButton !== null) {
|
|
27
|
+
closeButton.addEventListener("click", function() {
|
|
28
|
+
alertContainer.style.maxHeight = '0';
|
|
29
|
+
|
|
30
|
+
if (siteName.length > 0) {
|
|
31
|
+
QH.utils.setCookie(siteName + "_alertSeen","true");
|
|
32
|
+
}
|
|
33
|
+
}, false);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
initGlobalAlert();
|
|
39
|
+
}());
|