@worksafevictoria/wcl7.5 1.0.0
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/.editorconfig +13 -0
- package/.env +4 -0
- package/.eslintrc.cjs +10 -0
- package/.eslintrc.js +25 -0
- package/.husky/commit-msg +4 -0
- package/.prettierrc +5 -0
- package/.prettierrc.json +8 -0
- package/.storybook/main.js +18 -0
- package/.storybook/preview.js +34 -0
- package/LICENSE +21 -0
- package/README.md +159 -0
- package/babel.config.js +8 -0
- package/bin/clean.sh +52 -0
- package/bin/deploy.sh +25 -0
- package/ci/build/Build_Validation.md +35 -0
- package/ci/build/build_validation.yml +47 -0
- package/ci/release/Release_Beta.md +39 -0
- package/ci/release/Release_Master.md +29 -0
- package/ci/release/beta.yml +69 -0
- package/ci/release/master.yml +39 -0
- package/commitlint.config.js +1 -0
- package/index.html +13 -0
- package/jest.config.js +21 -0
- package/lib/detect-browser.js +33 -0
- package/lib/utility.js +59 -0
- package/lib/utility.test.js +15 -0
- package/package.json +93 -0
- package/public/favicon.ico +0 -0
- package/src/assets/base.css +86 -0
- package/src/assets/fonts/VIC-Bold.eot +0 -0
- package/src/assets/fonts/VIC-Bold.ttf +0 -0
- package/src/assets/fonts/VIC-Bold.woff +0 -0
- package/src/assets/fonts/VIC-Bold.woff2 +0 -0
- package/src/assets/fonts/VIC-BoldItalic.eot +0 -0
- package/src/assets/fonts/VIC-BoldItalic.ttf +0 -0
- package/src/assets/fonts/VIC-BoldItalic.woff +0 -0
- package/src/assets/fonts/VIC-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/VIC-ExtraLight.eot +0 -0
- package/src/assets/fonts/VIC-ExtraLight.ttf +0 -0
- package/src/assets/fonts/VIC-ExtraLight.woff +0 -0
- package/src/assets/fonts/VIC-ExtraLight.woff2 +0 -0
- package/src/assets/fonts/VIC-ExtraLightItalic.eot +0 -0
- package/src/assets/fonts/VIC-ExtraLightItalic.ttf +0 -0
- package/src/assets/fonts/VIC-ExtraLightItalic.woff +0 -0
- package/src/assets/fonts/VIC-ExtraLightItalic.woff2 +0 -0
- package/src/assets/fonts/VIC-Italic.eot +0 -0
- package/src/assets/fonts/VIC-Italic.ttf +0 -0
- package/src/assets/fonts/VIC-Italic.woff +0 -0
- package/src/assets/fonts/VIC-Italic.woff2 +0 -0
- package/src/assets/fonts/VIC-Light.eot +0 -0
- package/src/assets/fonts/VIC-Light.ttf +0 -0
- package/src/assets/fonts/VIC-Light.woff +0 -0
- package/src/assets/fonts/VIC-Light.woff2 +0 -0
- package/src/assets/fonts/VIC-LightItalic.eot +0 -0
- package/src/assets/fonts/VIC-LightItalic.ttf +0 -0
- package/src/assets/fonts/VIC-LightItalic.woff +0 -0
- package/src/assets/fonts/VIC-LightItalic.woff2 +0 -0
- package/src/assets/fonts/VIC-Medium.eot +0 -0
- package/src/assets/fonts/VIC-Medium.ttf +0 -0
- package/src/assets/fonts/VIC-Medium.woff +0 -0
- package/src/assets/fonts/VIC-Medium.woff2 +0 -0
- package/src/assets/fonts/VIC-MediumItalic.eot +0 -0
- package/src/assets/fonts/VIC-MediumItalic.ttf +0 -0
- package/src/assets/fonts/VIC-MediumItalic.woff +0 -0
- package/src/assets/fonts/VIC-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/VIC-Regular.eot +0 -0
- package/src/assets/fonts/VIC-Regular.ttf +0 -0
- package/src/assets/fonts/VIC-Regular.woff +0 -0
- package/src/assets/fonts/VIC-Regular.woff2 +0 -0
- package/src/assets/fonts/VIC-SemiBold.eot +0 -0
- package/src/assets/fonts/VIC-SemiBold.ttf +0 -0
- package/src/assets/fonts/VIC-SemiBold.woff +0 -0
- package/src/assets/fonts/VIC-SemiBold.woff2 +0 -0
- package/src/assets/fonts/VIC-SemiBoldItalic.eot +0 -0
- package/src/assets/fonts/VIC-SemiBoldItalic.ttf +0 -0
- package/src/assets/fonts/VIC-SemiBoldItalic.woff +0 -0
- package/src/assets/fonts/VIC-SemiBoldItalic.woff2 +0 -0
- package/src/assets/icons/AppFooter/australian-aboriginal-flag.svg +7 -0
- package/src/assets/icons/AppFooter/facebook-ws-footer.svg +58 -0
- package/src/assets/icons/AppFooter/facebook-ww-footer.svg +59 -0
- package/src/assets/icons/AppFooter/instagram-ww-footer.svg +70 -0
- package/src/assets/icons/AppFooter/linkedin-ws-footer.svg +59 -0
- package/src/assets/icons/AppFooter/linkedin-ww-footer.svg +60 -0
- package/src/assets/icons/AppFooter/logo-workwell-reversed.svg +45 -0
- package/src/assets/icons/AppFooter/pride-flag.svg +12 -0
- package/src/assets/icons/AppFooter/torres-strait-islanders-flag.svg +9 -0
- package/src/assets/icons/AppFooter/twitter-ws-footer.svg +58 -0
- package/src/assets/icons/AppFooter/twitter-ww-footer.svg +59 -0
- package/src/assets/icons/AppFooter/worksafe-footer-logo.svg +9 -0
- package/src/assets/icons/AppFooter/youtube-ws-footer.svg +55 -0
- package/src/assets/icons/AppFooter/youtube-ww-footer.svg +56 -0
- package/src/assets/icons/AppHeader/chev-down-16.svg +17 -0
- package/src/assets/icons/AppHeader/chev-left-24px.svg +13 -0
- package/src/assets/icons/AppHeader/chev-right-16px.svg +25 -0
- package/src/assets/icons/AppHeader/chev-right-24px.svg +13 -0
- package/src/assets/icons/AppHeader/close-32px.svg +15 -0
- package/src/assets/icons/AppHeader/menu-32px.svg +20 -0
- package/src/assets/icons/AppHeader/search-32px.svg +19 -0
- package/src/assets/icons/Email-circle-black.svg +4 -0
- package/src/assets/icons/Info-circle-fill.svg +10 -0
- package/src/assets/icons/Phone-circle-black.svg +4 -0
- package/src/assets/icons/SocialShare/bookmark-white.svg +3 -0
- package/src/assets/icons/SocialShare/bookmark-ww-footer.svg +57 -0
- package/src/assets/icons/SocialShare/bookmark.svg +56 -0
- package/src/assets/icons/SocialShare/email-white.svg +3 -0
- package/src/assets/icons/SocialShare/facebook-white.svg +3 -0
- package/src/assets/icons/SocialShare/facebook-ws-footer.svg +58 -0
- package/src/assets/icons/SocialShare/facebook-ww-footer.svg +59 -0
- package/src/assets/icons/SocialShare/facebook.svg +1 -0
- package/src/assets/icons/SocialShare/office-file-pdf.svg +1 -0
- package/src/assets/icons/SocialShare/print.svg +3 -0
- package/src/assets/icons/SocialShare/twitter-white.svg +3 -0
- package/src/assets/icons/SocialShare/twitter-ws-footer.svg +58 -0
- package/src/assets/icons/SocialShare/twitter-ww-footer.svg +59 -0
- package/src/assets/icons/SocialShare/twitter.svg +1 -0
- package/src/assets/icons/Strip/AlertDismiss.svg +4 -0
- package/src/assets/icons/Strip/Arrow right.svg +4 -0
- package/src/assets/icons/Strip/Chevron right.svg +3 -0
- package/src/assets/icons/Strip/Dismiss.svg +4 -0
- package/src/assets/icons/Strip/Exclamation triangle fill.svg +8 -0
- package/src/assets/icons/Strip/Info circle fill.svg +15 -0
- package/src/assets/icons/Strip/Information.svg +15 -0
- package/src/assets/icons/Strip/Warning.svg +8 -0
- package/src/assets/icons/arrow-left.svg +9 -0
- package/src/assets/icons/arrow-right.svg +9 -0
- package/src/assets/icons/bookmark.svg +56 -0
- package/src/assets/icons/brand-VicStateGov-logo-reversed.svg +72 -0
- package/src/assets/icons/bullet-empty.svg +3 -0
- package/src/assets/icons/bullet.svg +3 -0
- package/src/assets/icons/caret-down.svg +1 -0
- package/src/assets/icons/caret-left.svg +9 -0
- package/src/assets/icons/caret-right.svg +9 -0
- package/src/assets/icons/caret-up.svg +1 -0
- package/src/assets/icons/chev-down-white.svg +3 -0
- package/src/assets/icons/chev-down.svg +3 -0
- package/src/assets/icons/chev-left.svg +3 -0
- package/src/assets/icons/chev-right.svg +3 -0
- package/src/assets/icons/chev-up.svg +3 -0
- package/src/assets/icons/clock.svg +3 -0
- package/src/assets/icons/close.svg +1 -0
- package/src/assets/icons/cross.svg +3 -0
- package/src/assets/icons/document.svg +1 -0
- package/src/assets/icons/earth.svg +1 -0
- package/src/assets/icons/email.svg +6 -0
- package/src/assets/icons/external-link-16px.svg +18 -0
- package/src/assets/icons/external-link.svg +4 -0
- package/src/assets/icons/icon-close.svg +15 -0
- package/src/assets/icons/instagram.svg +3 -0
- package/src/assets/icons/key.svg +3 -0
- package/src/assets/icons/location.svg +10 -0
- package/src/assets/icons/phone.svg +3 -0
- package/src/assets/icons/refresh.svg +3 -0
- package/src/assets/icons/right-arrow.svg +3 -0
- package/src/assets/icons/search.svg +5 -0
- package/src/assets/icons/tick.svg +3 -0
- package/src/assets/icons/video-play.svg +4 -0
- package/src/assets/images/hero-header-chevron.svg +9 -0
- package/src/assets/images/hero-header-mask.png +0 -0
- package/src/assets/images/hero-header-mask.svg +3 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/main.css +35 -0
- package/src/assets/styles/button.scss +206 -0
- package/src/assets/styles/focus.scss +4 -0
- package/src/assets/styles/generated-icons.scss +374 -0
- package/src/assets/styles/modal.scss +12 -0
- package/src/assets/styles/rtl.scss +8 -0
- package/src/assets/styles/storybook.scss +9 -0
- package/src/assets/styles/stylesheet.scss +7 -0
- package/src/assets/styles/webfonts.css +155 -0
- package/src/components/Common/CardGrid/cardgrid.stories.js +269 -0
- package/src/components/Common/CardGrid/index.vue +321 -0
- package/src/components/Common/CardGridItem/card-grid-item-caret.vue +164 -0
- package/src/components/Common/CardGridItem/card-grid-item-icon.vue +163 -0
- package/src/components/Common/CardGridItem/index.vue +848 -0
- package/src/components/Common/FilterButton/index.vue +93 -0
- package/src/components/Containers/Column/index.stories.js +35 -0
- package/src/components/Containers/Column/index.vue +14 -0
- package/src/components/Containers/Container/index.stories.js +13 -0
- package/src/components/Containers/Container/index.vue +15 -0
- package/src/components/Containers/HomepageHeader/index.stories.js +78 -0
- package/src/components/Containers/HomepageHeader/index.vue +186 -0
- package/src/components/Containers/Row/index.stories.js +12 -0
- package/src/components/Containers/Row/index.vue +14 -0
- package/src/components/Containers/SectionGroup/index.stories.js +148 -0
- package/src/components/Containers/SectionGroup/index.vue +310 -0
- package/src/components/Containers/Subheader/index.stories.js +74 -0
- package/src/components/Containers/Subheader/index.vue +149 -0
- package/src/components/Global/AlertStrip/index.stories.js +13 -0
- package/src/components/Global/AlertStrip/index.vue +145 -0
- package/src/components/Global/AlertStrip/styles.scss +78 -0
- package/src/components/Global/AppFooter/FooterSocialShare/index.vue +105 -0
- package/src/components/Global/AppFooter/FooterSocialShare/styles.scss +41 -0
- package/src/components/Global/AppFooter/index.stories.js +24 -0
- package/src/components/Global/AppFooter/index.vue +632 -0
- package/src/components/Global/AppFooter/storiesConst.js +110 -0
- package/src/components/Global/AppFooter/styles.scss +393 -0
- package/src/components/Global/AppHeader/ModalSearch/index.vue +66 -0
- package/src/components/Global/AppHeader/ModalSearch/styles.scss +43 -0
- package/src/components/Global/AppHeader/includes.scss +68 -0
- package/src/components/Global/AppHeader/index.stories.js +82 -0
- package/src/components/Global/AppHeader/index.vue +878 -0
- package/src/components/Global/AppHeader/mobile.scss +240 -0
- package/src/components/Global/AppHeader/styles.scss +371 -0
- package/src/components/Global/BackToTop/index.stories.js +18 -0
- package/src/components/Global/BackToTop/index.vue +67 -0
- package/src/components/Global/BackToTop/styles.scss +46 -0
- package/src/components/Global/ContrastMode/index.stories.js +39 -0
- package/src/components/Global/ContrastMode/index.vue +308 -0
- package/src/components/Global/Cookies/Constants.js +72 -0
- package/src/components/Global/Cookies/index.storieshide.js +45 -0
- package/src/components/Global/Cookies/index.vue +453 -0
- package/src/components/Global/Cookies/styles.scss +259 -0
- package/src/components/Global/DirectoryFilters/SingleTaxonomy/index.vue +196 -0
- package/src/components/Global/DirectoryFilters/index.vue +176 -0
- package/src/components/Global/GlobalNotice/index.vue +266 -0
- package/src/components/Global/HeroHeader/index.stories.js +93 -0
- package/src/components/Global/HeroHeader/index.vue +343 -0
- package/src/components/Global/HeroHeader/styles.scss +480 -0
- package/src/components/Global/ProgressBar/index.stories.js +51 -0
- package/src/components/Global/ProgressBar/index.vue +58 -0
- package/src/components/Global/ProgressBar/styles.scss +116 -0
- package/src/components/Global/SocialShare/index.stories.js +18 -0
- package/src/components/Global/SocialShare/index.vue +318 -0
- package/src/components/Global/Strip/index.stories.js +70 -0
- package/src/components/Global/Strip/index.vue +357 -0
- package/src/components/HelloWorld.vue +44 -0
- package/src/components/Paragraphs/Accordion/AccordionItem/index.vue +232 -0
- package/src/components/Paragraphs/Accordion/StepperItem/index.vue +274 -0
- package/src/components/Paragraphs/Accordion/index.stories.js +84 -0
- package/src/components/Paragraphs/Accordion/index.vue +202 -0
- package/src/components/Paragraphs/Breakout/index.stories.js +39 -0
- package/src/components/Paragraphs/Breakout/index.vue +115 -0
- package/src/components/Paragraphs/BrowseContent/index.stories.js +220 -0
- package/src/components/Paragraphs/BrowseContent/index.vue +298 -0
- package/src/components/Paragraphs/BrowseContent/switcher.vue +63 -0
- package/src/components/Paragraphs/Calculator/CardContainer/index.vue +278 -0
- package/src/components/Paragraphs/Calculator/CardContainer/styles.scss +152 -0
- package/src/components/Paragraphs/Calculator/Constants.js +246 -0
- package/src/components/Paragraphs/Calculator/RiskLevel/index.vue +124 -0
- package/src/components/Paragraphs/Calculator/RiskLevel/styles.scss +73 -0
- package/src/components/Paragraphs/Calculator/index.stories.js +27 -0
- package/src/components/Paragraphs/Calculator/index.vue +284 -0
- package/src/components/Paragraphs/Calculator/styles.scss +49 -0
- package/src/components/Paragraphs/Directory/Records/CJ/index.vue +59 -0
- package/src/components/Paragraphs/Directory/Records/ISP/distance.js +46 -0
- package/src/components/Paragraphs/Directory/Records/ISP/index.vue +88 -0
- package/src/components/Paragraphs/Directory/Records/PRS/index.vue +59 -0
- package/src/components/Paragraphs/Directory/Records/PRS/recordContent.vue +91 -0
- package/src/components/Paragraphs/Directory/Records/PRS/recordDetails.vue +49 -0
- package/src/components/Paragraphs/Directory/Records/index.vue +203 -0
- package/src/components/Paragraphs/Directory/Records/styles.scss +129 -0
- package/src/components/Paragraphs/Directory/constants.js +79 -0
- package/src/components/Paragraphs/Directory/index.vue +334 -0
- package/src/components/Paragraphs/ListGroup/Constants.js +72 -0
- package/src/components/Paragraphs/ListGroup/Link/list-link.stories.js +71 -0
- package/src/components/Paragraphs/ListGroup/index.vue +333 -0
- package/src/components/Paragraphs/ListGroup/list-group.stories.js +64 -0
- package/src/components/Paragraphs/ListGroup/navigation-card.stories.js +66 -0
- package/src/components/Paragraphs/MarketingBanner/index.stories.js +65 -0
- package/src/components/Paragraphs/MarketingBanner/index.vue +118 -0
- package/src/components/Paragraphs/MarketingBanner/styles.scss +87 -0
- package/src/components/Paragraphs/ProofPoints/index.stories.js +173 -0
- package/src/components/Paragraphs/ProofPoints/index.vue +64 -0
- package/src/components/Paragraphs/RelatedInformation/index.stories.js +32 -0
- package/src/components/Paragraphs/RelatedInformation/index.vue +62 -0
- package/src/components/Paragraphs/RelatedInformation/styles.scss +50 -0
- package/src/components/Paragraphs/RichText/index.stories.js +393 -0
- package/src/components/Paragraphs/RichText/index.vue +113 -0
- package/src/components/Paragraphs/RichText/scss/base.scss +355 -0
- package/src/components/Paragraphs/RichText/scss/definition-list.scss +35 -0
- package/src/components/Paragraphs/RichText/scss/styled-list.scss +152 -0
- package/src/components/Paragraphs/RichText/scss/table.scss +85 -0
- package/src/components/Paragraphs/ScrollSpy/index.stories.js +184 -0
- package/src/components/Paragraphs/ScrollSpy/index.vue +147 -0
- package/src/components/Paragraphs/SelectableCards/Control/index.stories.js +29 -0
- package/src/components/Paragraphs/SelectableCards/cardbody.vue +25 -0
- package/src/components/Paragraphs/SelectableCards/cardtop.vue +113 -0
- package/src/components/Paragraphs/SelectableCards/index.stories.js +27 -0
- package/src/components/Paragraphs/SelectableCards/index.vue +116 -0
- package/src/components/Paragraphs/Statistics/index.stories.js +106 -0
- package/src/components/Paragraphs/Statistics/index.vue +95 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/cake-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/commute-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/fire_extinguisher-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/free_breakfast-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/portrait-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/storefront-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/TempIcons/tag_faces-black-18dp.svg +1 -0
- package/src/components/Paragraphs/TabbedCards/index.stories.js +36 -0
- package/src/components/Paragraphs/TabbedCards/index.vue +393 -0
- package/src/components/Paragraphs/Tabs/index.stories.js +60 -0
- package/src/components/Paragraphs/Tabs/index.vue +127 -0
- package/src/components/Paragraphs/Tabs/styles.scss +150 -0
- package/src/components/Paragraphs/TabulatedData/Constants.js +158 -0
- package/src/components/Paragraphs/TabulatedData/index.stories.js +39 -0
- package/src/components/Paragraphs/TabulatedData/index.vue +145 -0
- package/src/components/Paragraphs/TaskFinder/index.stories.js +45 -0
- package/src/components/Paragraphs/TaskFinder/index.vue +192 -0
- package/src/components/Paragraphs/TaskFinder/pdf/index.vue +109 -0
- package/src/components/Paragraphs/TaskFinder/task-finder-column.vue +146 -0
- package/src/components/Paragraphs/TextMedia/MediaTypes/Image/index.vue +24 -0
- package/src/components/Paragraphs/TextMedia/MediaTypes/Video/index.vue +29 -0
- package/src/components/Paragraphs/TextMedia/index.stories.js +94 -0
- package/src/components/Paragraphs/TextMedia/index.vue +150 -0
- package/src/components/Paragraphs/VideoGrid/index.stories.js +167 -0
- package/src/components/Paragraphs/VideoGrid/index.vue +124 -0
- package/src/components/Paragraphs/VideoPlayer/index.stories.js +95 -0
- package/src/components/Paragraphs/VideoPlayer/index.vue +110 -0
- package/src/components/Paragraphs/Webform/index.stories.js +70 -0
- package/src/components/Paragraphs/Webform/index.vue +103 -0
- package/src/components/SubComponents/Breadcrumb/constants.js +15 -0
- package/src/components/SubComponents/Breadcrumb/index.stories.js +22 -0
- package/src/components/SubComponents/Breadcrumb/index.vue +91 -0
- package/src/components/SubComponents/CardGroup/cardbody.vue +109 -0
- package/src/components/SubComponents/CardGroup/cardtop.vue +106 -0
- package/src/components/SubComponents/CardGroup/index.stories.js +145 -0
- package/src/components/SubComponents/CardGroup/index.vue +297 -0
- package/src/components/SubComponents/CtaButton/index.stories.js +357 -0
- package/src/components/SubComponents/CtaButton/index.vue +256 -0
- package/src/components/SubComponents/FormAddressPostcode/index.stories.js +43 -0
- package/src/components/SubComponents/FormAddressPostcode/index.vue +314 -0
- package/src/components/SubComponents/FormInstance/index.stories.js +8 -0
- package/src/components/SubComponents/FormInstance/index.vue +12 -0
- package/src/components/SubComponents/GoogleSearch/index.stories.js +8 -0
- package/src/components/SubComponents/GoogleSearch/index.vue +405 -0
- package/src/components/SubComponents/Icon/README.md +40 -0
- package/src/components/SubComponents/Icon/example.js +41 -0
- package/src/components/SubComponents/Icon/index.stories.js +84 -0
- package/src/components/SubComponents/Icon/index.vue +127 -0
- package/src/components/SubComponents/Icon/styles.scss +38 -0
- package/src/components/SubComponents/Loading/index.stories.js +9 -0
- package/src/components/SubComponents/Loading/index.vue +15 -0
- package/src/components/SubComponents/MediaPlayer/index.stories.js +58 -0
- package/src/components/SubComponents/MediaPlayer/index.vue +69 -0
- package/src/components/SubComponents/Pagination/index.stories.js +119 -0
- package/src/components/SubComponents/Pagination/index.vue +184 -0
- package/src/components/SubComponents/Pagination/pagination.js +58 -0
- package/src/components/SubComponents/ResourceGroup/List/index.stories.js +268 -0
- package/src/components/SubComponents/ResourceGroup/cardbody.vue +221 -0
- package/src/components/SubComponents/ResourceGroup/cardfooter.vue +61 -0
- package/src/components/SubComponents/ResourceGroup/cardtop.vue +94 -0
- package/src/components/SubComponents/ResourceGroup/index.stories.js +268 -0
- package/src/components/SubComponents/ResourceGroup/index.vue +575 -0
- package/src/components/SubComponents/ResourceGroup/styles.scss +317 -0
- package/src/components/SubComponents/ResourceGroup/switcher.vue +63 -0
- package/src/components/SubComponents/Search/SearchListing/index.vue +217 -0
- package/src/components/SubComponents/Search/index.stories.js +43 -0
- package/src/components/SubComponents/Search/index.vue +238 -0
- package/src/components/SubComponents/SingleImage/index.stories.js +60 -0
- package/src/components/SubComponents/SingleImage/index.vue +98 -0
- package/src/components/SubComponents/VideoThumbnail/index.stories.js +41 -0
- package/src/components/SubComponents/VideoThumbnail/index.vue +239 -0
- package/src/components/TheWelcome.vue +88 -0
- package/src/components/WelcomeItem.vue +87 -0
- package/src/components/icons/IconCommunity.vue +7 -0
- package/src/components/icons/IconDocumentation.vue +7 -0
- package/src/components/icons/IconEcosystem.vue +7 -0
- package/src/components/icons/IconSupport.vue +7 -0
- package/src/components/icons/IconTooling.vue +19 -0
- package/src/includes/scss/all.scss +2 -0
- package/src/includes/scss/mixins/all.scss +6 -0
- package/src/includes/scss/mixins/src/focus.scss +38 -0
- package/src/includes/scss/mixins/src/fp.scss +31 -0
- package/src/includes/scss/mixins/src/grid.scss +125 -0
- package/src/includes/scss/mixins/src/mq.scss +30 -0
- package/src/includes/scss/mixins/src/rtl.scss +8 -0
- package/src/includes/scss/mixins/src/units.scss +110 -0
- package/src/includes/scss/vars/all.scss +2 -0
- package/src/includes/scss/vars/src/breakpoints.scss +20 -0
- package/src/includes/scss/vars/src/colors.module.scss +53 -0
- package/src/includes/scss/vars/src/colors.scss +53 -0
- package/src/index.js +116 -0
- package/src/main.js +18 -0
- package/src/mock/accordion.js +104 -0
- package/src/mock/app-header.js +683 -0
- package/src/mock/control-selectable-cards.js +58 -0
- package/src/mock/jest.svgtransformer.js +7 -0
- package/src/mock/list-group.js +46 -0
- package/src/mock/proof-points.js +55 -0
- package/src/mock/related-info.js +44 -0
- package/src/mock/selectable-cards.js +48 -0
- package/src/mock/statistics.js +63 -0
- package/src/mock/styleMock.js +1 -0
- package/src/mock/tabbed-cards.js +197 -0
- package/src/mock/task-finder.js +68 -0
- package/src/mock/video-grid.js +409 -0
- package/src/mock/video-media.js +51 -0
- package/src/public/places/api/v1/geocode/json +69 -0
- package/src/public/places/api/v1/place/autocomplete/json +226 -0
- package/stylelint.config.js +63 -0
- package/vite.config.js +19 -0
- package/vitest.config.js +14 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="filterButton">
|
|
3
|
+
<cta-button
|
|
4
|
+
v-if="!isReset"
|
|
5
|
+
:type="selected ? 'gray' : 'white'"
|
|
6
|
+
:text-only="!hasCaret"
|
|
7
|
+
class="filterButton__button"
|
|
8
|
+
:slim="true"
|
|
9
|
+
:glyph="hasCaret ? CaretDown : undefined"
|
|
10
|
+
:glyph-height="18"
|
|
11
|
+
:glyph-width="18"
|
|
12
|
+
:aria-pressed="selected ? 'true' : 'false'"
|
|
13
|
+
@clicked="$emit('clicked')"
|
|
14
|
+
><slot></slot>
|
|
15
|
+
</cta-button>
|
|
16
|
+
<cta-button
|
|
17
|
+
v-else
|
|
18
|
+
:glyph="refreshIcon"
|
|
19
|
+
:glyph-height="20"
|
|
20
|
+
:glyph-width="25"
|
|
21
|
+
class="filterButton__button filterButton__button--reset"
|
|
22
|
+
:slim="true"
|
|
23
|
+
@clicked="$emit('clicked')"
|
|
24
|
+
><span class="hidden-on-xs">Reset</span></cta-button
|
|
25
|
+
>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script>
|
|
30
|
+
import CtaButton from '../../SubComponents/CtaButton/index.vue'
|
|
31
|
+
import CaretDown from '../../../assets/icons/caret-down.svg?url'
|
|
32
|
+
import refreshIcon from '../../../assets/icons/refresh.svg?url'
|
|
33
|
+
export default {
|
|
34
|
+
components: {
|
|
35
|
+
CtaButton
|
|
36
|
+
},
|
|
37
|
+
props: {
|
|
38
|
+
hasCaret: {
|
|
39
|
+
type: Boolean
|
|
40
|
+
},
|
|
41
|
+
selected: {
|
|
42
|
+
type: Boolean
|
|
43
|
+
},
|
|
44
|
+
isReset: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
required: true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
data() {
|
|
50
|
+
return {
|
|
51
|
+
refreshIcon,
|
|
52
|
+
CaretDown
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
</script>
|
|
57
|
+
<style lang="scss" scoped>
|
|
58
|
+
@import '../../../includes/scss/all';
|
|
59
|
+
.filterButton {
|
|
60
|
+
&__button {
|
|
61
|
+
margin-right: 0px !important;
|
|
62
|
+
:deep(.wcl-cta__link-text) {
|
|
63
|
+
&::first-letter {
|
|
64
|
+
text-transform: uppercase;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
:deep(img.icon) {
|
|
68
|
+
width: 18px;
|
|
69
|
+
height: 10.8px;
|
|
70
|
+
}
|
|
71
|
+
&--reset {
|
|
72
|
+
:deep(.wcl-cta__spacer) {
|
|
73
|
+
@include mq('xs') {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:deep(.hidden-on-xs) {
|
|
79
|
+
@include mq('xs') {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
&:hover,
|
|
84
|
+
&:focus {
|
|
85
|
+
:deep(img) {
|
|
86
|
+
transform: rotate(-360deg);
|
|
87
|
+
transition: transform 1s;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import Container from './../Container/index.vue'
|
|
2
|
+
import Row from './../Row/index.vue'
|
|
3
|
+
import Column from './index.vue'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Containers/Column',
|
|
7
|
+
component: Column,
|
|
8
|
+
render: () => ({
|
|
9
|
+
components: {Column, Container, Row},
|
|
10
|
+
template: `
|
|
11
|
+
<container class="bv-example-row">
|
|
12
|
+
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
|
|
13
|
+
<row>
|
|
14
|
+
<column class="col-12 col-md-8">cols="12" md="8"</column>
|
|
15
|
+
<column class="col-6 col-md-4">cols="6" md="4"</column>
|
|
16
|
+
</row>
|
|
17
|
+
|
|
18
|
+
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
|
|
19
|
+
<row>
|
|
20
|
+
<column class="col-6 col-md-4">cols="6" md="4"</column>
|
|
21
|
+
<column class="col-6 col-md-4">cols="6" md="4"</column>
|
|
22
|
+
<column class="col-6 col-md-4">cols="6" md="4"</column>
|
|
23
|
+
</row>
|
|
24
|
+
|
|
25
|
+
<!-- Columns are always 50% wide, on mobile and desktop -->
|
|
26
|
+
<row>
|
|
27
|
+
<column class="col-6">cols="6"</column>
|
|
28
|
+
<column class="col-6">cols="6"</column>
|
|
29
|
+
</row>
|
|
30
|
+
</container>
|
|
31
|
+
`,
|
|
32
|
+
}),
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const Default = {}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import HomepageHeader from './index.vue'
|
|
2
|
+
|
|
3
|
+
const header = {
|
|
4
|
+
title: 'This is sentence 1. This is sentence 2.',
|
|
5
|
+
description: 'description text'
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const fetchMenu = () =>
|
|
9
|
+
Promise.resolve([
|
|
10
|
+
{
|
|
11
|
+
title: 'Report an incident',
|
|
12
|
+
relative: '/report-incident'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: 'Report a case of COVID-19',
|
|
16
|
+
relative: '/report-confirmed-positive-case-covid-19'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
title: 'Make a claim',
|
|
20
|
+
relative: '/before-claim'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: 'Apply for a licence',
|
|
24
|
+
relative: '/apply-for-licence'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
title: 'Pay or renew your insurance',
|
|
28
|
+
relative: '/pay-or-renew-your-workcover-insurance-premium'
|
|
29
|
+
}
|
|
30
|
+
])
|
|
31
|
+
|
|
32
|
+
const contentParser = () => {
|
|
33
|
+
return Promise.resolve({
|
|
34
|
+
results: [
|
|
35
|
+
{
|
|
36
|
+
title: 'Content title 1',
|
|
37
|
+
description: 'Content description 2'
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
offset: 0,
|
|
41
|
+
numFound: 1000
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export default {
|
|
46
|
+
title: 'Containers/HomepageHeader',
|
|
47
|
+
component: HomepageHeader,
|
|
48
|
+
argTypes: {
|
|
49
|
+
fetchMenu: {
|
|
50
|
+
control: 'function',
|
|
51
|
+
table: { disable: true }
|
|
52
|
+
},
|
|
53
|
+
contentParser: {
|
|
54
|
+
control: 'function',
|
|
55
|
+
table: { disable: true }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
args: {
|
|
59
|
+
heroHeader: header,
|
|
60
|
+
fetchMenu: fetchMenu,
|
|
61
|
+
contentParser: contentParser
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const DefaultHH = (args) => ({
|
|
66
|
+
components: { HomepageHeader },
|
|
67
|
+
setup() {
|
|
68
|
+
return { args };
|
|
69
|
+
},
|
|
70
|
+
mounted() {
|
|
71
|
+
setTimeout(() => {
|
|
72
|
+
this.$refs.hh.renderMenu()
|
|
73
|
+
})
|
|
74
|
+
},
|
|
75
|
+
template: '<homepage-header v-bind="args" ref="hh" />'
|
|
76
|
+
})
|
|
77
|
+
|
|
78
|
+
export const Default = DefaultHH.bind({})
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<hero-header
|
|
3
|
+
:breadcrumb-items="heroHeader.breadcrumbs"
|
|
4
|
+
:show-breadcrumb="false"
|
|
5
|
+
:image="null"
|
|
6
|
+
:title="heroHeader.title"
|
|
7
|
+
:description="null"
|
|
8
|
+
:bg-color="null"
|
|
9
|
+
:type="'collection'"
|
|
10
|
+
:rtl="false"
|
|
11
|
+
:cta="null"
|
|
12
|
+
:show-social="false"
|
|
13
|
+
:show-mask="false"
|
|
14
|
+
class="homepage-header"
|
|
15
|
+
>
|
|
16
|
+
<template v-slot:top>
|
|
17
|
+
<slot />
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<template v-slot:description>
|
|
21
|
+
<search
|
|
22
|
+
:page-limit="3"
|
|
23
|
+
:page-number="1"
|
|
24
|
+
:is-typeahead="true"
|
|
25
|
+
:content-parser="contentParser"
|
|
26
|
+
class="homepage-header__search"
|
|
27
|
+
/>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<template v-slot:side>
|
|
31
|
+
<div>
|
|
32
|
+
<cta-button
|
|
33
|
+
v-for="(link, i) in links"
|
|
34
|
+
:key="i"
|
|
35
|
+
class="iebtn"
|
|
36
|
+
:url="link.path"
|
|
37
|
+
type="dark"
|
|
38
|
+
:stretch="true"
|
|
39
|
+
>{{ link.text }}</cta-button
|
|
40
|
+
>
|
|
41
|
+
<cta-button
|
|
42
|
+
class="iebtn"
|
|
43
|
+
url="/choose-your-language"
|
|
44
|
+
type="dark"
|
|
45
|
+
:stretch="true"
|
|
46
|
+
:glyph="earthIcon"
|
|
47
|
+
:is-centred="false"
|
|
48
|
+
>Choose your language</cta-button
|
|
49
|
+
>
|
|
50
|
+
</div>
|
|
51
|
+
</template>
|
|
52
|
+
</hero-header>
|
|
53
|
+
</template>
|
|
54
|
+
<script>
|
|
55
|
+
import Search from './../../SubComponents/Search/index.vue'
|
|
56
|
+
import CtaButton from './../../SubComponents/CtaButton/index.vue'
|
|
57
|
+
import HeroHeader from './../../Global/HeroHeader/index.vue'
|
|
58
|
+
import earthIcon from './../../../assets/icons/earth.svg?url'
|
|
59
|
+
|
|
60
|
+
export default {
|
|
61
|
+
name: 'HomepageHeader',
|
|
62
|
+
components: {
|
|
63
|
+
Search,
|
|
64
|
+
CtaButton,
|
|
65
|
+
HeroHeader
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
contentParser: {
|
|
69
|
+
type: Function,
|
|
70
|
+
required: true
|
|
71
|
+
},
|
|
72
|
+
heroHeader: {
|
|
73
|
+
type: Object,
|
|
74
|
+
required: true
|
|
75
|
+
},
|
|
76
|
+
fetchMenu: {
|
|
77
|
+
type: Function,
|
|
78
|
+
required: true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
async fetch() {
|
|
82
|
+
await this.renderMenu()
|
|
83
|
+
},
|
|
84
|
+
data: () => ({
|
|
85
|
+
links: [],
|
|
86
|
+
earthIcon
|
|
87
|
+
}),
|
|
88
|
+
methods: {
|
|
89
|
+
async renderMenu() {
|
|
90
|
+
const menu = await this.fetchMenu()
|
|
91
|
+
this.links = (Array.isArray(menu) ? menu : []).map((item) => {
|
|
92
|
+
return {
|
|
93
|
+
text: item.title,
|
|
94
|
+
path: item.relative || item.absolute
|
|
95
|
+
}
|
|
96
|
+
})
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|
|
101
|
+
<style lang="scss" scoped>
|
|
102
|
+
@import '../../../includes/scss/all';
|
|
103
|
+
|
|
104
|
+
.homepage-header {
|
|
105
|
+
border-bottom: none !important;
|
|
106
|
+
|
|
107
|
+
:deep(.wysiwyg) {
|
|
108
|
+
h1 {
|
|
109
|
+
@media screen and (max-width: 390px) {
|
|
110
|
+
font-size: 32px;
|
|
111
|
+
line-height: 32px;
|
|
112
|
+
}
|
|
113
|
+
@media screen and (max-width: 767px) {
|
|
114
|
+
font-size: 36px;
|
|
115
|
+
line-height: 36px;
|
|
116
|
+
margin-bottom: 16px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:deep(.wcl-hero-header__content-wrapper) {
|
|
122
|
+
@include fp('top', 75, 250);
|
|
123
|
+
margin-top: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:deep(.wcl-hero-header__wrap) {
|
|
127
|
+
display: block;
|
|
128
|
+
align-items: normal;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:deep(.wcl-cta) {
|
|
132
|
+
@include mq('mm') {
|
|
133
|
+
&:first-of-type {
|
|
134
|
+
margin-top: 32px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
margin-left: 0 !important;
|
|
138
|
+
&:last-of-type {
|
|
139
|
+
img {
|
|
140
|
+
position: absolute;
|
|
141
|
+
right: 16px;
|
|
142
|
+
top: 19px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&__search {
|
|
148
|
+
padding-right: 15px;
|
|
149
|
+
@include mq('xs') {
|
|
150
|
+
padding-right: 0;
|
|
151
|
+
}
|
|
152
|
+
:deep(.gsc-results-wrapper-visible) {
|
|
153
|
+
display: none !important;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media all and (-ms-high-contrast: none) {
|
|
158
|
+
::-ms-backdrop,
|
|
159
|
+
.iebtn {
|
|
160
|
+
bottom: 280px;
|
|
161
|
+
left: 650px;
|
|
162
|
+
} /* IE11 */
|
|
163
|
+
|
|
164
|
+
@media screen\9, screen and (max-width: 1150px) {
|
|
165
|
+
.iebtn {
|
|
166
|
+
bottom: 330px;
|
|
167
|
+
left: 480px;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@media screen\9, screen and (max-width: 950px) {
|
|
172
|
+
.iebtn {
|
|
173
|
+
bottom: 350px;
|
|
174
|
+
left: 450px;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media screen\9, screen and (max-width: 767px) {
|
|
179
|
+
.iebtn {
|
|
180
|
+
left: 2px;
|
|
181
|
+
top: 10px;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
</style>
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import SectionGroup from './index.vue'
|
|
2
|
+
import Row from './../Row/index.vue'
|
|
3
|
+
import Column from './../Column/index.vue'
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Containers/SectionGroup',
|
|
7
|
+
component: SectionGroup,
|
|
8
|
+
argTypes: {
|
|
9
|
+
backgroundImage: {
|
|
10
|
+
control: 'boolean'
|
|
11
|
+
},
|
|
12
|
+
backgroundVariant: {
|
|
13
|
+
control: 'select',
|
|
14
|
+
options: [
|
|
15
|
+
'none',
|
|
16
|
+
'light',
|
|
17
|
+
'dark',
|
|
18
|
+
'grey',
|
|
19
|
+
'yellow',
|
|
20
|
+
'white',
|
|
21
|
+
'lightblue'
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
applyBackgroundOn: {
|
|
25
|
+
control: 'select',
|
|
26
|
+
options: ['content', 'block', 'container', 'section']
|
|
27
|
+
},
|
|
28
|
+
titleTag: {
|
|
29
|
+
control: 'select',
|
|
30
|
+
options: ['h2', 'h3']
|
|
31
|
+
},
|
|
32
|
+
footer: {
|
|
33
|
+
control: 'boolean'
|
|
34
|
+
},
|
|
35
|
+
preContent: {
|
|
36
|
+
control: 'boolean'
|
|
37
|
+
},
|
|
38
|
+
headerRight: {
|
|
39
|
+
control: 'boolean'
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
control: 'select',
|
|
43
|
+
options: ['half-content', 'content', 'page', 'full']
|
|
44
|
+
},
|
|
45
|
+
headingRightSlot: {
|
|
46
|
+
control: 'text'
|
|
47
|
+
},
|
|
48
|
+
preContentSlot: {
|
|
49
|
+
control: 'text'
|
|
50
|
+
},
|
|
51
|
+
contentSlot: {
|
|
52
|
+
control: 'text'
|
|
53
|
+
},
|
|
54
|
+
footerSlot: {
|
|
55
|
+
control: 'text'
|
|
56
|
+
},
|
|
57
|
+
top: {
|
|
58
|
+
control: 'text',
|
|
59
|
+
table: { disable: true }
|
|
60
|
+
},
|
|
61
|
+
headerTop: {
|
|
62
|
+
control: 'text',
|
|
63
|
+
table: { disable: true }
|
|
64
|
+
},
|
|
65
|
+
headerBottom: {
|
|
66
|
+
control: 'text',
|
|
67
|
+
table: { disable: true }
|
|
68
|
+
},
|
|
69
|
+
content: {
|
|
70
|
+
control: 'text',
|
|
71
|
+
table: { disable: true }
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
control: 'text',
|
|
75
|
+
table: { disable: true }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const Template = (args) => ({
|
|
81
|
+
components: { SectionGroup, Row, Column },
|
|
82
|
+
setup() {
|
|
83
|
+
return { args };
|
|
84
|
+
},
|
|
85
|
+
template: `
|
|
86
|
+
<div>
|
|
87
|
+
{{args.sectionTop}}
|
|
88
|
+
|
|
89
|
+
<section-group
|
|
90
|
+
v-bind="args"
|
|
91
|
+
:background-image="args.backgroundImage ? 'https://content-staging-v2.api.worksafe.vic.gov.au/sites/default/files/styles/fullwidth/public/2021-11/Topic-Coronavirus-COVID-19.jpg?itok=LsPdwgff' : null">
|
|
92
|
+
|
|
93
|
+
<template v-slot:headerRight>
|
|
94
|
+
<headerRight v-if="args.headerRight"> <strong>{{args.headingRightSlot}}</strong> </headerRight>
|
|
95
|
+
</template>
|
|
96
|
+
|
|
97
|
+
<template v-slot:preContent>
|
|
98
|
+
<preContent v-if="args.preContent"><strong class="slot">{{args.preContentSlot}}</strong></preContent>
|
|
99
|
+
</template>
|
|
100
|
+
|
|
101
|
+
<template v-slot:content>
|
|
102
|
+
<row>
|
|
103
|
+
<column>
|
|
104
|
+
<div class="slot">
|
|
105
|
+
<p>{{args.contentSlot}}</p>
|
|
106
|
+
</div>
|
|
107
|
+
</column>
|
|
108
|
+
</row>
|
|
109
|
+
</template>
|
|
110
|
+
|
|
111
|
+
<template v-slot:footer >
|
|
112
|
+
<footer v-if="args.footer">
|
|
113
|
+
<column>
|
|
114
|
+
<strong class="slot">{{args.footerSlot}}</strong>
|
|
115
|
+
</column>
|
|
116
|
+
</footer>
|
|
117
|
+
</template>
|
|
118
|
+
</section-group>
|
|
119
|
+
|
|
120
|
+
{{args.sectionBottom}}
|
|
121
|
+
</div>
|
|
122
|
+
`
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
export const Default = Template.bind({});
|
|
126
|
+
|
|
127
|
+
Default.args = {
|
|
128
|
+
noPaddingTop: false,
|
|
129
|
+
noPaddingBottom: false,
|
|
130
|
+
bordered: false,
|
|
131
|
+
rtl: false,
|
|
132
|
+
title: 'Title text',
|
|
133
|
+
subHeading: 'Subheading text',
|
|
134
|
+
sectionTop: 'Text outside Section Group',
|
|
135
|
+
sectionBottom: 'Text outside Section Group',
|
|
136
|
+
headingRightSlot: 'This the heading right slot',
|
|
137
|
+
preContentSlot: 'This the pre-content slot',
|
|
138
|
+
contentSlot: `This the content slot. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.`,
|
|
139
|
+
footerSlot: 'This the footer slot',
|
|
140
|
+
backgroundImage: false,
|
|
141
|
+
backgroundVariant: 'light',
|
|
142
|
+
applyBackgroundOn: 'container',
|
|
143
|
+
titleTag: 'h2',
|
|
144
|
+
footer: true,
|
|
145
|
+
preContent: true,
|
|
146
|
+
headerRight: true,
|
|
147
|
+
size: 'page'
|
|
148
|
+
}
|