@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,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": {
|
|
3
|
+
"name": "Multi Column",
|
|
4
|
+
"description": "This component is designed to make it easy for publishers to create multi-column content using the 12 column grid system built into our design system.",
|
|
5
|
+
"version": "1.0",
|
|
6
|
+
"status": "Released",
|
|
7
|
+
"data": {
|
|
8
|
+
"assetid": "123",
|
|
9
|
+
"metadata": {
|
|
10
|
+
"body_background": {
|
|
11
|
+
"type": "metadata_field_select",
|
|
12
|
+
"description": "",
|
|
13
|
+
"friendly_name": "Background colour",
|
|
14
|
+
"value": "",
|
|
15
|
+
"options": {
|
|
16
|
+
"": "Light",
|
|
17
|
+
"qld__body--alt": "Alternate",
|
|
18
|
+
"qld__body--dark": "Dark",
|
|
19
|
+
"qld__body--dark-alt": "Alternate Dark"
|
|
20
|
+
},
|
|
21
|
+
"required": false,
|
|
22
|
+
"editable": true
|
|
23
|
+
},
|
|
24
|
+
"intro_show": {
|
|
25
|
+
"type": "metadata_field_select",
|
|
26
|
+
"description": "",
|
|
27
|
+
"friendly_name": "Show intro section?",
|
|
28
|
+
"value": "yes",
|
|
29
|
+
"options": {
|
|
30
|
+
"": "No",
|
|
31
|
+
"yes": "Yes"
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"editable": true
|
|
35
|
+
},
|
|
36
|
+
"intro_width": {
|
|
37
|
+
"type": "metadata_field_select",
|
|
38
|
+
"description": "",
|
|
39
|
+
"friendly_name": "Intro section width",
|
|
40
|
+
"value": "col-lg-6",
|
|
41
|
+
"options": {
|
|
42
|
+
"col-lg-6": "Half width",
|
|
43
|
+
"col-lg-12": "Full width"
|
|
44
|
+
},
|
|
45
|
+
"required": false,
|
|
46
|
+
"editable": true
|
|
47
|
+
},
|
|
48
|
+
"intro_heading": {
|
|
49
|
+
"type": "metadata_field_text",
|
|
50
|
+
"description": "",
|
|
51
|
+
"friendly_name": "Intro heading",
|
|
52
|
+
"value": "Intro heading",
|
|
53
|
+
"required": false,
|
|
54
|
+
"editable": true
|
|
55
|
+
},
|
|
56
|
+
"intro_body": {
|
|
57
|
+
"type": "metadata_field_wysiwyg",
|
|
58
|
+
"description": "",
|
|
59
|
+
"friendly_name": "Intro body",
|
|
60
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
61
|
+
"required": false,
|
|
62
|
+
"editable": true
|
|
63
|
+
},
|
|
64
|
+
"row_num": {
|
|
65
|
+
"type": "metadata_field_select",
|
|
66
|
+
"description": "",
|
|
67
|
+
"friendly_name": "Number of rows",
|
|
68
|
+
"value": "1",
|
|
69
|
+
"options": {
|
|
70
|
+
"1": "One",
|
|
71
|
+
"2": "Two",
|
|
72
|
+
"3": "Three"
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"editable": true
|
|
76
|
+
},
|
|
77
|
+
"col_num": {
|
|
78
|
+
"type": "metadata_field_select",
|
|
79
|
+
"description": "",
|
|
80
|
+
"friendly_name": "Number of columns",
|
|
81
|
+
"value": "3",
|
|
82
|
+
"options": {
|
|
83
|
+
"1": "One",
|
|
84
|
+
"2": "Two",
|
|
85
|
+
"3": "Three"
|
|
86
|
+
},
|
|
87
|
+
"required": false,
|
|
88
|
+
"editable": true
|
|
89
|
+
},
|
|
90
|
+
"col_1_width": {
|
|
91
|
+
"type": "metadata_field_select",
|
|
92
|
+
"description": "",
|
|
93
|
+
"friendly_name": "Column 1 - Width Override",
|
|
94
|
+
"value": "",
|
|
95
|
+
"options": {
|
|
96
|
+
"": "None",
|
|
97
|
+
"2": "One sixth",
|
|
98
|
+
"3": "One quarter",
|
|
99
|
+
"4": "One third",
|
|
100
|
+
"5": "Five Twelfths",
|
|
101
|
+
"6": "Half",
|
|
102
|
+
"8": "Two thirds",
|
|
103
|
+
"9": "Three quarters",
|
|
104
|
+
"10": "Five sixths",
|
|
105
|
+
"12": "Full"
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"editable": true
|
|
109
|
+
},
|
|
110
|
+
"col_2_width": {
|
|
111
|
+
"type": "metadata_field_select",
|
|
112
|
+
"description": "",
|
|
113
|
+
"friendly_name": "Column 2 - Width Override",
|
|
114
|
+
"value": "",
|
|
115
|
+
"options": {
|
|
116
|
+
"": "None",
|
|
117
|
+
"2": "One sixth",
|
|
118
|
+
"3": "One quarter",
|
|
119
|
+
"4": "One third",
|
|
120
|
+
"5": "Five Twelfths",
|
|
121
|
+
"6": "Half",
|
|
122
|
+
"8": "Two thirds",
|
|
123
|
+
"9": "Three quarters",
|
|
124
|
+
"10": "Five sixths",
|
|
125
|
+
"12": "Full"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"editable": true
|
|
129
|
+
},
|
|
130
|
+
"col_3_width": {
|
|
131
|
+
"type": "metadata_field_select",
|
|
132
|
+
"description": "",
|
|
133
|
+
"friendly_name": "Column 3 - Width Override",
|
|
134
|
+
"value": "",
|
|
135
|
+
"options": {
|
|
136
|
+
"": "None",
|
|
137
|
+
"2": "One sixth",
|
|
138
|
+
"3": "One quarter",
|
|
139
|
+
"4": "One third",
|
|
140
|
+
"5": "Five Twelfths",
|
|
141
|
+
"6": "Half",
|
|
142
|
+
"8": "Two thirds",
|
|
143
|
+
"9": "Three quarters",
|
|
144
|
+
"10": "Five sixths",
|
|
145
|
+
"12": "Full"
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"editable": true
|
|
149
|
+
},
|
|
150
|
+
"col_1_1": {
|
|
151
|
+
"type": "metadata_field_wysiwyg",
|
|
152
|
+
"description": "",
|
|
153
|
+
"friendly_name": "Row 1 - Column 1",
|
|
154
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
155
|
+
"required": false,
|
|
156
|
+
"editable": true
|
|
157
|
+
},
|
|
158
|
+
"col_1_2": {
|
|
159
|
+
"type": "metadata_field_wysiwyg",
|
|
160
|
+
"description": "",
|
|
161
|
+
"friendly_name": "Row 1 - Column 2",
|
|
162
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
163
|
+
"required": false,
|
|
164
|
+
"editable": true
|
|
165
|
+
},
|
|
166
|
+
"col_1_3": {
|
|
167
|
+
"type": "metadata_field_wysiwyg",
|
|
168
|
+
"description": "",
|
|
169
|
+
"friendly_name": "Row 1 - Column 3",
|
|
170
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
171
|
+
"required": false,
|
|
172
|
+
"editable": true
|
|
173
|
+
},
|
|
174
|
+
"col_2_1": {
|
|
175
|
+
"type": "metadata_field_wysiwyg",
|
|
176
|
+
"description": "",
|
|
177
|
+
"friendly_name": "Row 2 - Column 1",
|
|
178
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
179
|
+
"required": false,
|
|
180
|
+
"editable": true
|
|
181
|
+
},
|
|
182
|
+
"col_2_2": {
|
|
183
|
+
"type": "metadata_field_wysiwyg",
|
|
184
|
+
"description": "",
|
|
185
|
+
"friendly_name": "Row 2 - Column 2",
|
|
186
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
187
|
+
"required": false,
|
|
188
|
+
"editable": true
|
|
189
|
+
},
|
|
190
|
+
"col_2_3": {
|
|
191
|
+
"type": "metadata_field_wysiwyg",
|
|
192
|
+
"description": "",
|
|
193
|
+
"friendly_name": "Row 2 - Column 3",
|
|
194
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
195
|
+
"required": false,
|
|
196
|
+
"editable": true
|
|
197
|
+
},
|
|
198
|
+
"col_3_1": {
|
|
199
|
+
"type": "metadata_field_wysiwyg",
|
|
200
|
+
"description": "",
|
|
201
|
+
"friendly_name": "Row 3 - Column 1",
|
|
202
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
203
|
+
"required": false,
|
|
204
|
+
"editable": true
|
|
205
|
+
},
|
|
206
|
+
"col_3_2": {
|
|
207
|
+
"type": "metadata_field_wysiwyg",
|
|
208
|
+
"description": "",
|
|
209
|
+
"friendly_name": "Row 3 - Column 2",
|
|
210
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
211
|
+
"required": false,
|
|
212
|
+
"editable": true
|
|
213
|
+
},
|
|
214
|
+
"col_3_3": {
|
|
215
|
+
"type": "metadata_field_wysiwyg",
|
|
216
|
+
"description": "",
|
|
217
|
+
"friendly_name": "Row 3 - Column 3",
|
|
218
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
219
|
+
"required": false,
|
|
220
|
+
"editable": true
|
|
221
|
+
},
|
|
222
|
+
"id_field": {
|
|
223
|
+
"type": "metadata_field_text",
|
|
224
|
+
"description": "",
|
|
225
|
+
"friendly_name": "Id field",
|
|
226
|
+
"value": "",
|
|
227
|
+
"required": false,
|
|
228
|
+
"editable": true
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Page alerts
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.qld__page-alerts {
|
|
6
|
+
@include QLD-space( padding, 1unit );
|
|
7
|
+
@include QLD-fontgrid( sm );
|
|
8
|
+
position: relative;
|
|
9
|
+
border: solid $QLD-border-width-default $QLD-color-info;
|
|
10
|
+
@include QLD-space( border-left-width, 3unit );
|
|
11
|
+
border-radius: $QLD-border-radius-xs;
|
|
12
|
+
word-wrap: break-word;
|
|
13
|
+
background-color: var(--QLD-color-light-background);
|
|
14
|
+
|
|
15
|
+
&::before{
|
|
16
|
+
content: ' ';
|
|
17
|
+
@include QLD-space( width, 1.25unit );
|
|
18
|
+
@include QLD-space( height, 1.25unit );
|
|
19
|
+
display: inline-block;
|
|
20
|
+
vertical-align: text-top;
|
|
21
|
+
mask-image: QLD-svguri($QLD-icon-info);
|
|
22
|
+
mask-repeat: no-repeat;
|
|
23
|
+
mask-position: center;
|
|
24
|
+
background-color: $QLD-color-system-white;
|
|
25
|
+
position: absolute;
|
|
26
|
+
@include QLD-space( left, -1.5unit );
|
|
27
|
+
top: 50%;
|
|
28
|
+
transform: translate(-50%, -50%);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& &--heading {
|
|
32
|
+
color: var(--QLD-color-light-heading);
|
|
33
|
+
@include QLD-space(margin-bottom, 1unit);
|
|
34
|
+
|
|
35
|
+
&.qld__display-lg {
|
|
36
|
+
@include QLD-space(margin-top, 1unit);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Page alert success
|
|
42
|
+
*/
|
|
43
|
+
&.qld__page-alerts--success {
|
|
44
|
+
border-color: $QLD-color-success;
|
|
45
|
+
|
|
46
|
+
&::before{
|
|
47
|
+
background-color: $QLD-color-system-darkest;
|
|
48
|
+
mask-image: QLD-svguri($QLD-icon-success);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Page alert warning.
|
|
54
|
+
*/
|
|
55
|
+
&.qld__page-alerts--warning {
|
|
56
|
+
border-color: $QLD-color-warning;
|
|
57
|
+
|
|
58
|
+
&::before{
|
|
59
|
+
background-color: $QLD-color-system-darkest;
|
|
60
|
+
mask-image: QLD-svguri($QLD-icon-warning);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Page alert error.
|
|
66
|
+
*/
|
|
67
|
+
&.qld__page-alerts--error {
|
|
68
|
+
border-color: $QLD-color-error;
|
|
69
|
+
|
|
70
|
+
&::before{
|
|
71
|
+
background-color: $QLD-color-system-white;
|
|
72
|
+
mask-image: QLD-svguri($QLD-icon-error);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// // dark and dark alt
|
|
77
|
+
.qld__body--dark &,
|
|
78
|
+
.qld__body--dark-alt &{
|
|
79
|
+
color: var(--QLD-color-light-text);
|
|
80
|
+
|
|
81
|
+
h3{
|
|
82
|
+
color: var(--QLD-color-light-heading);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.qld__body #content > * + .qld__page-alerts {
|
|
88
|
+
@include QLD-space( margin-top, 2unit );
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Screen-reader only class for interlinking error messages and corresponding form elements.
|
|
94
|
+
*/
|
|
95
|
+
.qld__page-alerts__sronly {
|
|
96
|
+
@include QLD-sronly;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
// Print styles
|
|
101
|
+
@media print {
|
|
102
|
+
.qld__page-alerts {
|
|
103
|
+
border-color: #000 !important;
|
|
104
|
+
background-color: #fff !important;
|
|
105
|
+
border-left: 2px solid #000 !important;
|
|
106
|
+
padding-top: 3em !important;
|
|
107
|
+
|
|
108
|
+
&:after {
|
|
109
|
+
background: none !important;
|
|
110
|
+
content: 'info' !important;
|
|
111
|
+
top: 1em !important;
|
|
112
|
+
left: 0 !important;
|
|
113
|
+
font-size: 12px !important;
|
|
114
|
+
border-right: 1px solid #000 !important;
|
|
115
|
+
border-bottom: 1px solid #000 !important;
|
|
116
|
+
padding: 0.5em !important;
|
|
117
|
+
width: auto !important;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.qld__page-alerts--success:after {
|
|
122
|
+
content: 'success' !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.qld__page-alerts--warning:after {
|
|
126
|
+
content: 'warning' !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.qld__page-alerts--error:after {
|
|
130
|
+
content: 'error' !important;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{{#with component.data}}
|
|
2
|
+
<section class="qld__page-alerts--wrapper" id="{{#if metadata.id_field.value}}{{metadata.id_field.value}}{{else}}page-alert-{{assetid}}{{/if}}">
|
|
3
|
+
<div class="container-fluid">
|
|
4
|
+
<div class="qld__page-alerts qld__page-alerts--{{metadata.type.value}}">
|
|
5
|
+
{{!-- {{#ifCond metadata.type.value '==' 'info'}}
|
|
6
|
+
<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__info"></use></svg>
|
|
7
|
+
{{/ifCond}}
|
|
8
|
+
{{#ifCond metadata.type.value '==' 'success'}}
|
|
9
|
+
<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__success"></use></svg>
|
|
10
|
+
{{/ifCond}}
|
|
11
|
+
{{#ifCond metadata.type.value '==' 'warning'}}
|
|
12
|
+
<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__warning"></use></svg>
|
|
13
|
+
{{/ifCond}}
|
|
14
|
+
{{#ifCond metadata.type.value '==' 'error'}}
|
|
15
|
+
<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__error"></use></svg>
|
|
16
|
+
{{/ifCond}} --}}
|
|
17
|
+
{{#if metadata.heading.value}}
|
|
18
|
+
<div class="qld__page-alerts--heading qld__display-lg">{{metadata.heading.value}}</div>
|
|
19
|
+
{{/if}}
|
|
20
|
+
{{#if metadata.body.value}}
|
|
21
|
+
<div>{{{metadata.body.value}}}</div>
|
|
22
|
+
{{/if}}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</section>
|
|
26
|
+
{{/with}}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": {
|
|
3
|
+
"name": "Page Alert",
|
|
4
|
+
"description": "",
|
|
5
|
+
"version": "1.0",
|
|
6
|
+
"status": "Released",
|
|
7
|
+
"data": {
|
|
8
|
+
"assetid": "123",
|
|
9
|
+
"metadata": {
|
|
10
|
+
"type": {
|
|
11
|
+
"type": "metadata_field_select",
|
|
12
|
+
"description": "",
|
|
13
|
+
"friendly_name": "Type",
|
|
14
|
+
"value": "info",
|
|
15
|
+
"options": {
|
|
16
|
+
"info": "Information",
|
|
17
|
+
"success": "Success",
|
|
18
|
+
"warning": "Warning",
|
|
19
|
+
"error": "Error"
|
|
20
|
+
},
|
|
21
|
+
"required": false,
|
|
22
|
+
"editable": true
|
|
23
|
+
},
|
|
24
|
+
"heading": {
|
|
25
|
+
"type": "metadata_field_text",
|
|
26
|
+
"description": "",
|
|
27
|
+
"friendly_name": "Heading",
|
|
28
|
+
"value": "Alert heading",
|
|
29
|
+
"required": false,
|
|
30
|
+
"editable": true
|
|
31
|
+
},
|
|
32
|
+
"body": {
|
|
33
|
+
"type": "metadata_field_wysiwyg",
|
|
34
|
+
"description": "",
|
|
35
|
+
"friendly_name": "Body",
|
|
36
|
+
"value": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
37
|
+
"required": false,
|
|
38
|
+
"editable": true
|
|
39
|
+
},
|
|
40
|
+
"show_if_body": {
|
|
41
|
+
"type": "metadata_field_select",
|
|
42
|
+
"description": "",
|
|
43
|
+
"friendly_name": "Show If Body",
|
|
44
|
+
"value": "false",
|
|
45
|
+
"options": {
|
|
46
|
+
"true": "Yes",
|
|
47
|
+
"false": "No"
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"editable": true
|
|
51
|
+
},
|
|
52
|
+
"id_field": {
|
|
53
|
+
"type": "metadata_field_text",
|
|
54
|
+
"description": "",
|
|
55
|
+
"friendly_name": "Id field",
|
|
56
|
+
"value": "",
|
|
57
|
+
"required": false,
|
|
58
|
+
"editable": true
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Pagination
|
|
3
|
+
//--------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.qld__search-pagination {
|
|
6
|
+
ul {
|
|
7
|
+
@include sq-list-reset;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
|
|
11
|
+
li {
|
|
12
|
+
@include QLD-space(margin, .5unit .75unit .5unit 0);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
&.ellipsis,
|
|
16
|
+
&.first,
|
|
17
|
+
&.last {
|
|
18
|
+
display: none;
|
|
19
|
+
|
|
20
|
+
@include QLD-media(md) {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.active a{
|
|
26
|
+
background-color: var(--QLD-color-light-button);
|
|
27
|
+
border-color: var(--QLD-color-light-button);
|
|
28
|
+
color: var(--QLD-color-light-button__text);
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
&:hover{
|
|
33
|
+
background-color: var(--QLD-color-light-button__hover);
|
|
34
|
+
border-color: var(--QLD-color-light-button__hover);
|
|
35
|
+
@include QLD-box-shadow(1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:active,
|
|
39
|
+
&:focus {
|
|
40
|
+
background-color: var(--QLD-color-light-button__hover);
|
|
41
|
+
border-color: var(--QLD-color-light-button__hover);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.next,
|
|
46
|
+
&.prev,
|
|
47
|
+
&.ellipsis{
|
|
48
|
+
a{
|
|
49
|
+
border: none;
|
|
50
|
+
@include QLD-media(lg) {
|
|
51
|
+
width: auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
svg{
|
|
55
|
+
color: var(--QLD-color-light-button);
|
|
56
|
+
width: auto;
|
|
57
|
+
}
|
|
58
|
+
&:hover{
|
|
59
|
+
text-decoration: underline;
|
|
60
|
+
svg{
|
|
61
|
+
color: var(--QLD-color-light-alt-button);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
span{
|
|
68
|
+
@include QLD-sronly();
|
|
69
|
+
@include QLD-media(lg) {
|
|
70
|
+
position: relative;
|
|
71
|
+
width: auto;
|
|
72
|
+
height: auto;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@include QLD-media(lg) {
|
|
78
|
+
&.next span{
|
|
79
|
+
@include QLD-space(margin-right, .5unit);
|
|
80
|
+
}
|
|
81
|
+
&.prev span{
|
|
82
|
+
@include QLD-space(margin-left, .5unit);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.ellipsis svg{
|
|
87
|
+
vertical-align: middle;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
a {
|
|
92
|
+
@include QLD-space(height, 2unit);
|
|
93
|
+
@include QLD-space(width, 2unit);
|
|
94
|
+
align-items: center;
|
|
95
|
+
background-color: transparent;
|
|
96
|
+
border: $QLD-border-width-thin solid var(--QLD-color-light-border);
|
|
97
|
+
border-radius: $QLD-border-radius-xs;
|
|
98
|
+
color: var(--QLD-color-light-link);
|
|
99
|
+
background-color: var(--QLD-color-light-background);
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
text-decoration: none;
|
|
103
|
+
@include QLD-space(line-height, 1.25unit);
|
|
104
|
+
|
|
105
|
+
&:hover{
|
|
106
|
+
color: var(--QLD-color-light-link);
|
|
107
|
+
border: $QLD-border-width-default solid var(--QLD-color-light-alt-button);
|
|
108
|
+
outline: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:active,
|
|
112
|
+
&:focus {
|
|
113
|
+
color: var(--QLD-color-dark-link);
|
|
114
|
+
background-color: var(--QLD-color-light-alt-button);
|
|
115
|
+
border: $QLD-border-width-default solid var(--QLD-color-light-alt-button);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&[rel] {
|
|
119
|
+
color: var(--QLD-color-light-button);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
span {
|
|
125
|
+
@include QLD-space(height, 2unit);
|
|
126
|
+
@include QLD-space(width, 2unit);
|
|
127
|
+
align-items: center;
|
|
128
|
+
color: var(--QLD-color-light-button);
|
|
129
|
+
display: inline-flex;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.qld__body--dark & {
|
|
135
|
+
|
|
136
|
+
li{
|
|
137
|
+
&.active a{
|
|
138
|
+
background-color: var(--QLD-color-dark-button);
|
|
139
|
+
color: var(--QLD-color-dark-button__text);
|
|
140
|
+
|
|
141
|
+
&:hover{
|
|
142
|
+
background-color: var(--QLD-color-dark-button__hover);
|
|
143
|
+
border-color: var(--QLD-color-dark-button__hover);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:active,
|
|
147
|
+
&:focus {
|
|
148
|
+
@include QLD-focus( 'dark' );
|
|
149
|
+
color: var(--QLD-color-dark-link);
|
|
150
|
+
background-color: var(--QLD-color-dark-button__hover);
|
|
151
|
+
border-color: var(--QLD-color-dark-button__hover);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.next,
|
|
156
|
+
&.prev,
|
|
157
|
+
&.ellipsis{
|
|
158
|
+
a{
|
|
159
|
+
&:hover{
|
|
160
|
+
color: var(--QLD-color-dark-link);
|
|
161
|
+
border: none;
|
|
162
|
+
svg{
|
|
163
|
+
color: var(--QLD-color-dark-alt-button);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
svg{
|
|
167
|
+
color: var(--QLD-color-dark-button);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
a{
|
|
174
|
+
background-color: var(--QLD-color-dark-background);
|
|
175
|
+
border-color: var(--QLD-color-dark-border);
|
|
176
|
+
|
|
177
|
+
&:hover{
|
|
178
|
+
color: var(--QLD-color-dark-link);
|
|
179
|
+
border-color: var(--QLD-color-dark-alt-button);
|
|
180
|
+
outline: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&:active,
|
|
184
|
+
&:focus {
|
|
185
|
+
color: var(--QLD-color-light-link);
|
|
186
|
+
background-color: var(--QLD-color-dark-alt-button);
|
|
187
|
+
border-color: var(--QLD-color-dark-alt-button);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
span{
|
|
192
|
+
color: var(--QLD-color-dark-link);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
}
|