@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.
Files changed (392) hide show
  1. package/.editorconfig +13 -0
  2. package/.env +4 -0
  3. package/.eslintrc.cjs +10 -0
  4. package/.eslintrc.js +25 -0
  5. package/.husky/commit-msg +4 -0
  6. package/.prettierrc +5 -0
  7. package/.prettierrc.json +8 -0
  8. package/.storybook/main.js +18 -0
  9. package/.storybook/preview.js +34 -0
  10. package/LICENSE +21 -0
  11. package/README.md +159 -0
  12. package/babel.config.js +8 -0
  13. package/bin/clean.sh +52 -0
  14. package/bin/deploy.sh +25 -0
  15. package/ci/build/Build_Validation.md +35 -0
  16. package/ci/build/build_validation.yml +47 -0
  17. package/ci/release/Release_Beta.md +39 -0
  18. package/ci/release/Release_Master.md +29 -0
  19. package/ci/release/beta.yml +69 -0
  20. package/ci/release/master.yml +39 -0
  21. package/commitlint.config.js +1 -0
  22. package/index.html +13 -0
  23. package/jest.config.js +21 -0
  24. package/lib/detect-browser.js +33 -0
  25. package/lib/utility.js +59 -0
  26. package/lib/utility.test.js +15 -0
  27. package/package.json +93 -0
  28. package/public/favicon.ico +0 -0
  29. package/src/assets/base.css +86 -0
  30. package/src/assets/fonts/VIC-Bold.eot +0 -0
  31. package/src/assets/fonts/VIC-Bold.ttf +0 -0
  32. package/src/assets/fonts/VIC-Bold.woff +0 -0
  33. package/src/assets/fonts/VIC-Bold.woff2 +0 -0
  34. package/src/assets/fonts/VIC-BoldItalic.eot +0 -0
  35. package/src/assets/fonts/VIC-BoldItalic.ttf +0 -0
  36. package/src/assets/fonts/VIC-BoldItalic.woff +0 -0
  37. package/src/assets/fonts/VIC-BoldItalic.woff2 +0 -0
  38. package/src/assets/fonts/VIC-ExtraLight.eot +0 -0
  39. package/src/assets/fonts/VIC-ExtraLight.ttf +0 -0
  40. package/src/assets/fonts/VIC-ExtraLight.woff +0 -0
  41. package/src/assets/fonts/VIC-ExtraLight.woff2 +0 -0
  42. package/src/assets/fonts/VIC-ExtraLightItalic.eot +0 -0
  43. package/src/assets/fonts/VIC-ExtraLightItalic.ttf +0 -0
  44. package/src/assets/fonts/VIC-ExtraLightItalic.woff +0 -0
  45. package/src/assets/fonts/VIC-ExtraLightItalic.woff2 +0 -0
  46. package/src/assets/fonts/VIC-Italic.eot +0 -0
  47. package/src/assets/fonts/VIC-Italic.ttf +0 -0
  48. package/src/assets/fonts/VIC-Italic.woff +0 -0
  49. package/src/assets/fonts/VIC-Italic.woff2 +0 -0
  50. package/src/assets/fonts/VIC-Light.eot +0 -0
  51. package/src/assets/fonts/VIC-Light.ttf +0 -0
  52. package/src/assets/fonts/VIC-Light.woff +0 -0
  53. package/src/assets/fonts/VIC-Light.woff2 +0 -0
  54. package/src/assets/fonts/VIC-LightItalic.eot +0 -0
  55. package/src/assets/fonts/VIC-LightItalic.ttf +0 -0
  56. package/src/assets/fonts/VIC-LightItalic.woff +0 -0
  57. package/src/assets/fonts/VIC-LightItalic.woff2 +0 -0
  58. package/src/assets/fonts/VIC-Medium.eot +0 -0
  59. package/src/assets/fonts/VIC-Medium.ttf +0 -0
  60. package/src/assets/fonts/VIC-Medium.woff +0 -0
  61. package/src/assets/fonts/VIC-Medium.woff2 +0 -0
  62. package/src/assets/fonts/VIC-MediumItalic.eot +0 -0
  63. package/src/assets/fonts/VIC-MediumItalic.ttf +0 -0
  64. package/src/assets/fonts/VIC-MediumItalic.woff +0 -0
  65. package/src/assets/fonts/VIC-MediumItalic.woff2 +0 -0
  66. package/src/assets/fonts/VIC-Regular.eot +0 -0
  67. package/src/assets/fonts/VIC-Regular.ttf +0 -0
  68. package/src/assets/fonts/VIC-Regular.woff +0 -0
  69. package/src/assets/fonts/VIC-Regular.woff2 +0 -0
  70. package/src/assets/fonts/VIC-SemiBold.eot +0 -0
  71. package/src/assets/fonts/VIC-SemiBold.ttf +0 -0
  72. package/src/assets/fonts/VIC-SemiBold.woff +0 -0
  73. package/src/assets/fonts/VIC-SemiBold.woff2 +0 -0
  74. package/src/assets/fonts/VIC-SemiBoldItalic.eot +0 -0
  75. package/src/assets/fonts/VIC-SemiBoldItalic.ttf +0 -0
  76. package/src/assets/fonts/VIC-SemiBoldItalic.woff +0 -0
  77. package/src/assets/fonts/VIC-SemiBoldItalic.woff2 +0 -0
  78. package/src/assets/icons/AppFooter/australian-aboriginal-flag.svg +7 -0
  79. package/src/assets/icons/AppFooter/facebook-ws-footer.svg +58 -0
  80. package/src/assets/icons/AppFooter/facebook-ww-footer.svg +59 -0
  81. package/src/assets/icons/AppFooter/instagram-ww-footer.svg +70 -0
  82. package/src/assets/icons/AppFooter/linkedin-ws-footer.svg +59 -0
  83. package/src/assets/icons/AppFooter/linkedin-ww-footer.svg +60 -0
  84. package/src/assets/icons/AppFooter/logo-workwell-reversed.svg +45 -0
  85. package/src/assets/icons/AppFooter/pride-flag.svg +12 -0
  86. package/src/assets/icons/AppFooter/torres-strait-islanders-flag.svg +9 -0
  87. package/src/assets/icons/AppFooter/twitter-ws-footer.svg +58 -0
  88. package/src/assets/icons/AppFooter/twitter-ww-footer.svg +59 -0
  89. package/src/assets/icons/AppFooter/worksafe-footer-logo.svg +9 -0
  90. package/src/assets/icons/AppFooter/youtube-ws-footer.svg +55 -0
  91. package/src/assets/icons/AppFooter/youtube-ww-footer.svg +56 -0
  92. package/src/assets/icons/AppHeader/chev-down-16.svg +17 -0
  93. package/src/assets/icons/AppHeader/chev-left-24px.svg +13 -0
  94. package/src/assets/icons/AppHeader/chev-right-16px.svg +25 -0
  95. package/src/assets/icons/AppHeader/chev-right-24px.svg +13 -0
  96. package/src/assets/icons/AppHeader/close-32px.svg +15 -0
  97. package/src/assets/icons/AppHeader/menu-32px.svg +20 -0
  98. package/src/assets/icons/AppHeader/search-32px.svg +19 -0
  99. package/src/assets/icons/Email-circle-black.svg +4 -0
  100. package/src/assets/icons/Info-circle-fill.svg +10 -0
  101. package/src/assets/icons/Phone-circle-black.svg +4 -0
  102. package/src/assets/icons/SocialShare/bookmark-white.svg +3 -0
  103. package/src/assets/icons/SocialShare/bookmark-ww-footer.svg +57 -0
  104. package/src/assets/icons/SocialShare/bookmark.svg +56 -0
  105. package/src/assets/icons/SocialShare/email-white.svg +3 -0
  106. package/src/assets/icons/SocialShare/facebook-white.svg +3 -0
  107. package/src/assets/icons/SocialShare/facebook-ws-footer.svg +58 -0
  108. package/src/assets/icons/SocialShare/facebook-ww-footer.svg +59 -0
  109. package/src/assets/icons/SocialShare/facebook.svg +1 -0
  110. package/src/assets/icons/SocialShare/office-file-pdf.svg +1 -0
  111. package/src/assets/icons/SocialShare/print.svg +3 -0
  112. package/src/assets/icons/SocialShare/twitter-white.svg +3 -0
  113. package/src/assets/icons/SocialShare/twitter-ws-footer.svg +58 -0
  114. package/src/assets/icons/SocialShare/twitter-ww-footer.svg +59 -0
  115. package/src/assets/icons/SocialShare/twitter.svg +1 -0
  116. package/src/assets/icons/Strip/AlertDismiss.svg +4 -0
  117. package/src/assets/icons/Strip/Arrow right.svg +4 -0
  118. package/src/assets/icons/Strip/Chevron right.svg +3 -0
  119. package/src/assets/icons/Strip/Dismiss.svg +4 -0
  120. package/src/assets/icons/Strip/Exclamation triangle fill.svg +8 -0
  121. package/src/assets/icons/Strip/Info circle fill.svg +15 -0
  122. package/src/assets/icons/Strip/Information.svg +15 -0
  123. package/src/assets/icons/Strip/Warning.svg +8 -0
  124. package/src/assets/icons/arrow-left.svg +9 -0
  125. package/src/assets/icons/arrow-right.svg +9 -0
  126. package/src/assets/icons/bookmark.svg +56 -0
  127. package/src/assets/icons/brand-VicStateGov-logo-reversed.svg +72 -0
  128. package/src/assets/icons/bullet-empty.svg +3 -0
  129. package/src/assets/icons/bullet.svg +3 -0
  130. package/src/assets/icons/caret-down.svg +1 -0
  131. package/src/assets/icons/caret-left.svg +9 -0
  132. package/src/assets/icons/caret-right.svg +9 -0
  133. package/src/assets/icons/caret-up.svg +1 -0
  134. package/src/assets/icons/chev-down-white.svg +3 -0
  135. package/src/assets/icons/chev-down.svg +3 -0
  136. package/src/assets/icons/chev-left.svg +3 -0
  137. package/src/assets/icons/chev-right.svg +3 -0
  138. package/src/assets/icons/chev-up.svg +3 -0
  139. package/src/assets/icons/clock.svg +3 -0
  140. package/src/assets/icons/close.svg +1 -0
  141. package/src/assets/icons/cross.svg +3 -0
  142. package/src/assets/icons/document.svg +1 -0
  143. package/src/assets/icons/earth.svg +1 -0
  144. package/src/assets/icons/email.svg +6 -0
  145. package/src/assets/icons/external-link-16px.svg +18 -0
  146. package/src/assets/icons/external-link.svg +4 -0
  147. package/src/assets/icons/icon-close.svg +15 -0
  148. package/src/assets/icons/instagram.svg +3 -0
  149. package/src/assets/icons/key.svg +3 -0
  150. package/src/assets/icons/location.svg +10 -0
  151. package/src/assets/icons/phone.svg +3 -0
  152. package/src/assets/icons/refresh.svg +3 -0
  153. package/src/assets/icons/right-arrow.svg +3 -0
  154. package/src/assets/icons/search.svg +5 -0
  155. package/src/assets/icons/tick.svg +3 -0
  156. package/src/assets/icons/video-play.svg +4 -0
  157. package/src/assets/images/hero-header-chevron.svg +9 -0
  158. package/src/assets/images/hero-header-mask.png +0 -0
  159. package/src/assets/images/hero-header-mask.svg +3 -0
  160. package/src/assets/logo.svg +1 -0
  161. package/src/assets/main.css +35 -0
  162. package/src/assets/styles/button.scss +206 -0
  163. package/src/assets/styles/focus.scss +4 -0
  164. package/src/assets/styles/generated-icons.scss +374 -0
  165. package/src/assets/styles/modal.scss +12 -0
  166. package/src/assets/styles/rtl.scss +8 -0
  167. package/src/assets/styles/storybook.scss +9 -0
  168. package/src/assets/styles/stylesheet.scss +7 -0
  169. package/src/assets/styles/webfonts.css +155 -0
  170. package/src/components/Common/CardGrid/cardgrid.stories.js +269 -0
  171. package/src/components/Common/CardGrid/index.vue +321 -0
  172. package/src/components/Common/CardGridItem/card-grid-item-caret.vue +164 -0
  173. package/src/components/Common/CardGridItem/card-grid-item-icon.vue +163 -0
  174. package/src/components/Common/CardGridItem/index.vue +848 -0
  175. package/src/components/Common/FilterButton/index.vue +93 -0
  176. package/src/components/Containers/Column/index.stories.js +35 -0
  177. package/src/components/Containers/Column/index.vue +14 -0
  178. package/src/components/Containers/Container/index.stories.js +13 -0
  179. package/src/components/Containers/Container/index.vue +15 -0
  180. package/src/components/Containers/HomepageHeader/index.stories.js +78 -0
  181. package/src/components/Containers/HomepageHeader/index.vue +186 -0
  182. package/src/components/Containers/Row/index.stories.js +12 -0
  183. package/src/components/Containers/Row/index.vue +14 -0
  184. package/src/components/Containers/SectionGroup/index.stories.js +148 -0
  185. package/src/components/Containers/SectionGroup/index.vue +310 -0
  186. package/src/components/Containers/Subheader/index.stories.js +74 -0
  187. package/src/components/Containers/Subheader/index.vue +149 -0
  188. package/src/components/Global/AlertStrip/index.stories.js +13 -0
  189. package/src/components/Global/AlertStrip/index.vue +145 -0
  190. package/src/components/Global/AlertStrip/styles.scss +78 -0
  191. package/src/components/Global/AppFooter/FooterSocialShare/index.vue +105 -0
  192. package/src/components/Global/AppFooter/FooterSocialShare/styles.scss +41 -0
  193. package/src/components/Global/AppFooter/index.stories.js +24 -0
  194. package/src/components/Global/AppFooter/index.vue +632 -0
  195. package/src/components/Global/AppFooter/storiesConst.js +110 -0
  196. package/src/components/Global/AppFooter/styles.scss +393 -0
  197. package/src/components/Global/AppHeader/ModalSearch/index.vue +66 -0
  198. package/src/components/Global/AppHeader/ModalSearch/styles.scss +43 -0
  199. package/src/components/Global/AppHeader/includes.scss +68 -0
  200. package/src/components/Global/AppHeader/index.stories.js +82 -0
  201. package/src/components/Global/AppHeader/index.vue +878 -0
  202. package/src/components/Global/AppHeader/mobile.scss +240 -0
  203. package/src/components/Global/AppHeader/styles.scss +371 -0
  204. package/src/components/Global/BackToTop/index.stories.js +18 -0
  205. package/src/components/Global/BackToTop/index.vue +67 -0
  206. package/src/components/Global/BackToTop/styles.scss +46 -0
  207. package/src/components/Global/ContrastMode/index.stories.js +39 -0
  208. package/src/components/Global/ContrastMode/index.vue +308 -0
  209. package/src/components/Global/Cookies/Constants.js +72 -0
  210. package/src/components/Global/Cookies/index.storieshide.js +45 -0
  211. package/src/components/Global/Cookies/index.vue +453 -0
  212. package/src/components/Global/Cookies/styles.scss +259 -0
  213. package/src/components/Global/DirectoryFilters/SingleTaxonomy/index.vue +196 -0
  214. package/src/components/Global/DirectoryFilters/index.vue +176 -0
  215. package/src/components/Global/GlobalNotice/index.vue +266 -0
  216. package/src/components/Global/HeroHeader/index.stories.js +93 -0
  217. package/src/components/Global/HeroHeader/index.vue +343 -0
  218. package/src/components/Global/HeroHeader/styles.scss +480 -0
  219. package/src/components/Global/ProgressBar/index.stories.js +51 -0
  220. package/src/components/Global/ProgressBar/index.vue +58 -0
  221. package/src/components/Global/ProgressBar/styles.scss +116 -0
  222. package/src/components/Global/SocialShare/index.stories.js +18 -0
  223. package/src/components/Global/SocialShare/index.vue +318 -0
  224. package/src/components/Global/Strip/index.stories.js +70 -0
  225. package/src/components/Global/Strip/index.vue +357 -0
  226. package/src/components/HelloWorld.vue +44 -0
  227. package/src/components/Paragraphs/Accordion/AccordionItem/index.vue +232 -0
  228. package/src/components/Paragraphs/Accordion/StepperItem/index.vue +274 -0
  229. package/src/components/Paragraphs/Accordion/index.stories.js +84 -0
  230. package/src/components/Paragraphs/Accordion/index.vue +202 -0
  231. package/src/components/Paragraphs/Breakout/index.stories.js +39 -0
  232. package/src/components/Paragraphs/Breakout/index.vue +115 -0
  233. package/src/components/Paragraphs/BrowseContent/index.stories.js +220 -0
  234. package/src/components/Paragraphs/BrowseContent/index.vue +298 -0
  235. package/src/components/Paragraphs/BrowseContent/switcher.vue +63 -0
  236. package/src/components/Paragraphs/Calculator/CardContainer/index.vue +278 -0
  237. package/src/components/Paragraphs/Calculator/CardContainer/styles.scss +152 -0
  238. package/src/components/Paragraphs/Calculator/Constants.js +246 -0
  239. package/src/components/Paragraphs/Calculator/RiskLevel/index.vue +124 -0
  240. package/src/components/Paragraphs/Calculator/RiskLevel/styles.scss +73 -0
  241. package/src/components/Paragraphs/Calculator/index.stories.js +27 -0
  242. package/src/components/Paragraphs/Calculator/index.vue +284 -0
  243. package/src/components/Paragraphs/Calculator/styles.scss +49 -0
  244. package/src/components/Paragraphs/Directory/Records/CJ/index.vue +59 -0
  245. package/src/components/Paragraphs/Directory/Records/ISP/distance.js +46 -0
  246. package/src/components/Paragraphs/Directory/Records/ISP/index.vue +88 -0
  247. package/src/components/Paragraphs/Directory/Records/PRS/index.vue +59 -0
  248. package/src/components/Paragraphs/Directory/Records/PRS/recordContent.vue +91 -0
  249. package/src/components/Paragraphs/Directory/Records/PRS/recordDetails.vue +49 -0
  250. package/src/components/Paragraphs/Directory/Records/index.vue +203 -0
  251. package/src/components/Paragraphs/Directory/Records/styles.scss +129 -0
  252. package/src/components/Paragraphs/Directory/constants.js +79 -0
  253. package/src/components/Paragraphs/Directory/index.vue +334 -0
  254. package/src/components/Paragraphs/ListGroup/Constants.js +72 -0
  255. package/src/components/Paragraphs/ListGroup/Link/list-link.stories.js +71 -0
  256. package/src/components/Paragraphs/ListGroup/index.vue +333 -0
  257. package/src/components/Paragraphs/ListGroup/list-group.stories.js +64 -0
  258. package/src/components/Paragraphs/ListGroup/navigation-card.stories.js +66 -0
  259. package/src/components/Paragraphs/MarketingBanner/index.stories.js +65 -0
  260. package/src/components/Paragraphs/MarketingBanner/index.vue +118 -0
  261. package/src/components/Paragraphs/MarketingBanner/styles.scss +87 -0
  262. package/src/components/Paragraphs/ProofPoints/index.stories.js +173 -0
  263. package/src/components/Paragraphs/ProofPoints/index.vue +64 -0
  264. package/src/components/Paragraphs/RelatedInformation/index.stories.js +32 -0
  265. package/src/components/Paragraphs/RelatedInformation/index.vue +62 -0
  266. package/src/components/Paragraphs/RelatedInformation/styles.scss +50 -0
  267. package/src/components/Paragraphs/RichText/index.stories.js +393 -0
  268. package/src/components/Paragraphs/RichText/index.vue +113 -0
  269. package/src/components/Paragraphs/RichText/scss/base.scss +355 -0
  270. package/src/components/Paragraphs/RichText/scss/definition-list.scss +35 -0
  271. package/src/components/Paragraphs/RichText/scss/styled-list.scss +152 -0
  272. package/src/components/Paragraphs/RichText/scss/table.scss +85 -0
  273. package/src/components/Paragraphs/ScrollSpy/index.stories.js +184 -0
  274. package/src/components/Paragraphs/ScrollSpy/index.vue +147 -0
  275. package/src/components/Paragraphs/SelectableCards/Control/index.stories.js +29 -0
  276. package/src/components/Paragraphs/SelectableCards/cardbody.vue +25 -0
  277. package/src/components/Paragraphs/SelectableCards/cardtop.vue +113 -0
  278. package/src/components/Paragraphs/SelectableCards/index.stories.js +27 -0
  279. package/src/components/Paragraphs/SelectableCards/index.vue +116 -0
  280. package/src/components/Paragraphs/Statistics/index.stories.js +106 -0
  281. package/src/components/Paragraphs/Statistics/index.vue +95 -0
  282. package/src/components/Paragraphs/TabbedCards/TempIcons/cake-black-18dp.svg +1 -0
  283. package/src/components/Paragraphs/TabbedCards/TempIcons/commute-black-18dp.svg +1 -0
  284. package/src/components/Paragraphs/TabbedCards/TempIcons/fire_extinguisher-black-18dp.svg +1 -0
  285. package/src/components/Paragraphs/TabbedCards/TempIcons/free_breakfast-black-18dp.svg +1 -0
  286. package/src/components/Paragraphs/TabbedCards/TempIcons/portrait-black-18dp.svg +1 -0
  287. package/src/components/Paragraphs/TabbedCards/TempIcons/storefront-black-18dp.svg +1 -0
  288. package/src/components/Paragraphs/TabbedCards/TempIcons/tag_faces-black-18dp.svg +1 -0
  289. package/src/components/Paragraphs/TabbedCards/index.stories.js +36 -0
  290. package/src/components/Paragraphs/TabbedCards/index.vue +393 -0
  291. package/src/components/Paragraphs/Tabs/index.stories.js +60 -0
  292. package/src/components/Paragraphs/Tabs/index.vue +127 -0
  293. package/src/components/Paragraphs/Tabs/styles.scss +150 -0
  294. package/src/components/Paragraphs/TabulatedData/Constants.js +158 -0
  295. package/src/components/Paragraphs/TabulatedData/index.stories.js +39 -0
  296. package/src/components/Paragraphs/TabulatedData/index.vue +145 -0
  297. package/src/components/Paragraphs/TaskFinder/index.stories.js +45 -0
  298. package/src/components/Paragraphs/TaskFinder/index.vue +192 -0
  299. package/src/components/Paragraphs/TaskFinder/pdf/index.vue +109 -0
  300. package/src/components/Paragraphs/TaskFinder/task-finder-column.vue +146 -0
  301. package/src/components/Paragraphs/TextMedia/MediaTypes/Image/index.vue +24 -0
  302. package/src/components/Paragraphs/TextMedia/MediaTypes/Video/index.vue +29 -0
  303. package/src/components/Paragraphs/TextMedia/index.stories.js +94 -0
  304. package/src/components/Paragraphs/TextMedia/index.vue +150 -0
  305. package/src/components/Paragraphs/VideoGrid/index.stories.js +167 -0
  306. package/src/components/Paragraphs/VideoGrid/index.vue +124 -0
  307. package/src/components/Paragraphs/VideoPlayer/index.stories.js +95 -0
  308. package/src/components/Paragraphs/VideoPlayer/index.vue +110 -0
  309. package/src/components/Paragraphs/Webform/index.stories.js +70 -0
  310. package/src/components/Paragraphs/Webform/index.vue +103 -0
  311. package/src/components/SubComponents/Breadcrumb/constants.js +15 -0
  312. package/src/components/SubComponents/Breadcrumb/index.stories.js +22 -0
  313. package/src/components/SubComponents/Breadcrumb/index.vue +91 -0
  314. package/src/components/SubComponents/CardGroup/cardbody.vue +109 -0
  315. package/src/components/SubComponents/CardGroup/cardtop.vue +106 -0
  316. package/src/components/SubComponents/CardGroup/index.stories.js +145 -0
  317. package/src/components/SubComponents/CardGroup/index.vue +297 -0
  318. package/src/components/SubComponents/CtaButton/index.stories.js +357 -0
  319. package/src/components/SubComponents/CtaButton/index.vue +256 -0
  320. package/src/components/SubComponents/FormAddressPostcode/index.stories.js +43 -0
  321. package/src/components/SubComponents/FormAddressPostcode/index.vue +314 -0
  322. package/src/components/SubComponents/FormInstance/index.stories.js +8 -0
  323. package/src/components/SubComponents/FormInstance/index.vue +12 -0
  324. package/src/components/SubComponents/GoogleSearch/index.stories.js +8 -0
  325. package/src/components/SubComponents/GoogleSearch/index.vue +405 -0
  326. package/src/components/SubComponents/Icon/README.md +40 -0
  327. package/src/components/SubComponents/Icon/example.js +41 -0
  328. package/src/components/SubComponents/Icon/index.stories.js +84 -0
  329. package/src/components/SubComponents/Icon/index.vue +127 -0
  330. package/src/components/SubComponents/Icon/styles.scss +38 -0
  331. package/src/components/SubComponents/Loading/index.stories.js +9 -0
  332. package/src/components/SubComponents/Loading/index.vue +15 -0
  333. package/src/components/SubComponents/MediaPlayer/index.stories.js +58 -0
  334. package/src/components/SubComponents/MediaPlayer/index.vue +69 -0
  335. package/src/components/SubComponents/Pagination/index.stories.js +119 -0
  336. package/src/components/SubComponents/Pagination/index.vue +184 -0
  337. package/src/components/SubComponents/Pagination/pagination.js +58 -0
  338. package/src/components/SubComponents/ResourceGroup/List/index.stories.js +268 -0
  339. package/src/components/SubComponents/ResourceGroup/cardbody.vue +221 -0
  340. package/src/components/SubComponents/ResourceGroup/cardfooter.vue +61 -0
  341. package/src/components/SubComponents/ResourceGroup/cardtop.vue +94 -0
  342. package/src/components/SubComponents/ResourceGroup/index.stories.js +268 -0
  343. package/src/components/SubComponents/ResourceGroup/index.vue +575 -0
  344. package/src/components/SubComponents/ResourceGroup/styles.scss +317 -0
  345. package/src/components/SubComponents/ResourceGroup/switcher.vue +63 -0
  346. package/src/components/SubComponents/Search/SearchListing/index.vue +217 -0
  347. package/src/components/SubComponents/Search/index.stories.js +43 -0
  348. package/src/components/SubComponents/Search/index.vue +238 -0
  349. package/src/components/SubComponents/SingleImage/index.stories.js +60 -0
  350. package/src/components/SubComponents/SingleImage/index.vue +98 -0
  351. package/src/components/SubComponents/VideoThumbnail/index.stories.js +41 -0
  352. package/src/components/SubComponents/VideoThumbnail/index.vue +239 -0
  353. package/src/components/TheWelcome.vue +88 -0
  354. package/src/components/WelcomeItem.vue +87 -0
  355. package/src/components/icons/IconCommunity.vue +7 -0
  356. package/src/components/icons/IconDocumentation.vue +7 -0
  357. package/src/components/icons/IconEcosystem.vue +7 -0
  358. package/src/components/icons/IconSupport.vue +7 -0
  359. package/src/components/icons/IconTooling.vue +19 -0
  360. package/src/includes/scss/all.scss +2 -0
  361. package/src/includes/scss/mixins/all.scss +6 -0
  362. package/src/includes/scss/mixins/src/focus.scss +38 -0
  363. package/src/includes/scss/mixins/src/fp.scss +31 -0
  364. package/src/includes/scss/mixins/src/grid.scss +125 -0
  365. package/src/includes/scss/mixins/src/mq.scss +30 -0
  366. package/src/includes/scss/mixins/src/rtl.scss +8 -0
  367. package/src/includes/scss/mixins/src/units.scss +110 -0
  368. package/src/includes/scss/vars/all.scss +2 -0
  369. package/src/includes/scss/vars/src/breakpoints.scss +20 -0
  370. package/src/includes/scss/vars/src/colors.module.scss +53 -0
  371. package/src/includes/scss/vars/src/colors.scss +53 -0
  372. package/src/index.js +116 -0
  373. package/src/main.js +18 -0
  374. package/src/mock/accordion.js +104 -0
  375. package/src/mock/app-header.js +683 -0
  376. package/src/mock/control-selectable-cards.js +58 -0
  377. package/src/mock/jest.svgtransformer.js +7 -0
  378. package/src/mock/list-group.js +46 -0
  379. package/src/mock/proof-points.js +55 -0
  380. package/src/mock/related-info.js +44 -0
  381. package/src/mock/selectable-cards.js +48 -0
  382. package/src/mock/statistics.js +63 -0
  383. package/src/mock/styleMock.js +1 -0
  384. package/src/mock/tabbed-cards.js +197 -0
  385. package/src/mock/task-finder.js +68 -0
  386. package/src/mock/video-grid.js +409 -0
  387. package/src/mock/video-media.js +51 -0
  388. package/src/public/places/api/v1/geocode/json +69 -0
  389. package/src/public/places/api/v1/place/autocomplete/json +226 -0
  390. package/stylelint.config.js +63 -0
  391. package/vite.config.js +19 -0
  392. package/vitest.config.js +14 -0
@@ -0,0 +1,58 @@
1
+ export const mockSelectableCards = [
2
+ {
3
+ name: 'Bolt',
4
+ icon:
5
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
6
+ value: '0.2500',
7
+ units: 'kg'
8
+ },
9
+ {
10
+ name: 'Screwdriver',
11
+ icon:
12
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%202%20object.svg',
13
+ value: '0.2600',
14
+ units: 'kg'
15
+ },
16
+ {
17
+ name: 'Hammer',
18
+ icon:
19
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
20
+ value: '0.5',
21
+ units: 'kg'
22
+ },
23
+ {
24
+ name: 'Electric drill',
25
+ icon:
26
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%202%20object.svg',
27
+ value: '2',
28
+ units: 'kg'
29
+ },
30
+ {
31
+ name: 'Sledge Hammer',
32
+ icon:
33
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
34
+ value: '5',
35
+ units: 'kg'
36
+ },
37
+ {
38
+ name: 'Scaffolding platform',
39
+ icon:
40
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%202%20object.svg',
41
+ value: '50',
42
+ units: 'kg'
43
+ },
44
+ {
45
+ name: 'Anvil',
46
+ icon:
47
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
48
+ value: '75',
49
+ units: 'kg'
50
+ },
51
+ {
52
+ name: 'Window pane',
53
+ icon:
54
+ 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
55
+ value: '250',
56
+ units: 'kg'
57
+ }
58
+ ]
@@ -0,0 +1,7 @@
1
+ const path = require('path')
2
+
3
+ module.exports = {
4
+ process(src, filename) {
5
+ return `module.exports = ${JSON.stringify(path.basename(filename))};`
6
+ }
7
+ }
@@ -0,0 +1,46 @@
1
+ const listGroupTempData = {
2
+ title: 'Laws and regulations',
3
+ links: [
4
+ {
5
+ title: 'List group item heading 1',
6
+ text:
7
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.',
8
+ url: 'www.example.com'
9
+ },
10
+ {
11
+ title: 'List group item heading 2',
12
+ text:
13
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
14
+ },
15
+ {
16
+ title: 'List group item heading 3',
17
+ text:
18
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
19
+ }
20
+ ]
21
+ }
22
+
23
+ const listGroupTempDataAr = {
24
+ title: 'القوانين والأنظمة',
25
+ rtl: 'true',
26
+ links: [
27
+ {
28
+ title: 'قائمة عنصر المجموعة',
29
+ text:
30
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.',
31
+ url: 'www.example.com'
32
+ },
33
+ {
34
+ title: 'قائمة عنصر المجموعة',
35
+ text:
36
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.'
37
+ },
38
+ {
39
+ title: 'قائمة عنصر المجموعة',
40
+ text:
41
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.'
42
+ }
43
+ ]
44
+ }
45
+
46
+ export { listGroupTempData, listGroupTempDataAr }
@@ -0,0 +1,55 @@
1
+ const itemListDefault = [
2
+ {
3
+ heading: 'Proof point 1',
4
+ description:
5
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
6
+ img: '../../../assets/icons/key.svg'
7
+ },
8
+ {
9
+ heading: 'Proof point 2',
10
+ description:
11
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
12
+ img: '../../../assets/icons/key.svg'
13
+ },
14
+ {
15
+ heading: 'Proof point 3',
16
+ description:
17
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
18
+ img: '../../../assets/icons/key.svg'
19
+ },
20
+ {
21
+ heading: 'Proof point 4',
22
+ description:
23
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
24
+ img: '../../../assets/icons/key.svg'
25
+ }
26
+ ]
27
+
28
+ const itemListAr = [
29
+ {
30
+ heading: 'نقطة إثبات 1',
31
+ description:
32
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
33
+ img: '../../../assets/icons/key.svg'
34
+ },
35
+ {
36
+ heading: 'نقطة إثبات 2',
37
+ description:
38
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
39
+ img: '../../../assets/icons/key.svg'
40
+ },
41
+ {
42
+ heading: 'نقطة إثبات 3',
43
+ description:
44
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
45
+ img: '../../../assets/icons/key.svg'
46
+ },
47
+ {
48
+ heading: 'نقطة إثبات 4',
49
+ description:
50
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
51
+ img: '../../../assets/icons/key.svg'
52
+ }
53
+ ]
54
+
55
+ export { itemListDefault, itemListAr }
@@ -0,0 +1,44 @@
1
+ const taxonomyTagsList = [
2
+ {
3
+ name: 'Arts and creative',
4
+ url: '/arts'
5
+ },
6
+ {
7
+ name: 'Bullying',
8
+ url: '/bullying'
9
+ },
10
+ {
11
+ name: 'Construction',
12
+ url: '/construction'
13
+ },
14
+ {
15
+ name: 'Fatigue',
16
+ url: '/fatigue'
17
+ },
18
+ {
19
+ name: 'Gendered violence',
20
+ url: '/gendered-violence'
21
+ },
22
+ {
23
+ name: 'Manufacturing',
24
+ url: '/manufacturing'
25
+ },
26
+ {
27
+ name: 'Mental health',
28
+ url: '/mental-health'
29
+ },
30
+ {
31
+ name: 'Stress',
32
+ url: '/work-related-stress'
33
+ },
34
+ {
35
+ name: 'WorkWell',
36
+ url: '/workwell'
37
+ },
38
+ {
39
+ name: 'Work-related violence',
40
+ url: '/work-related-violence'
41
+ }
42
+ ]
43
+
44
+ export { taxonomyTagsList }
@@ -0,0 +1,48 @@
1
+ export const mockSelectableCards = [
2
+ {
3
+ name: 'Road or track',
4
+ icon:
5
+ '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n <g fill="none">\n <path fill="#000" d="M2.92 11.398c.384 0 .696.292.696.652v1.645c0 .72.622 1.305 1.39 1.305.767 0 1.389-.584 1.389-1.305V12.05c0-.36.31-.652.695-.652h2.053c.349-.003.661-.202.793-.505.131-.302.057-.65-.19-.88L8.193 8.11c-.019-.024-.019-.055 0-.078.017-.024.05-.033.079-.023.384.118.804-.027 1.015-.35.21-.324.158-.741-.129-1.009l-2.12-2.462c-.018-.02-.019-.049-.003-.07.017-.021.046-.03.072-.02.4.127.839-.033 1.043-.38.205-.346.117-.78-.209-1.031L5.512.209C5.381.076 5.196 0 5.002 0c-.193 0-.378.076-.51.21L2.044 2.691c-.316.254-.397.681-.195 1.022.202.341.632.501 1.029.383.026-.012.057-.005.075.016.018.021.019.051.001.072L.87 6.665c-.28.268-.327.68-.118 1 .21.319.625.463 1.006.35.029-.01.061-.001.079.023.018.023.018.055 0 .078L.254 10.014c-.248.232-.322.58-.188.884.133.303.449.5.798.5h2.057zM29.984 24.425c-.02-.025-.02-.06-.001-.084.019-.025.053-.034.082-.021.42.14.88-.024 1.117-.395.236-.371.186-.854-.121-1.17l-2.333-2.858c-.02-.024-.02-.057 0-.081.018-.026.05-.036.08-.025.434.133.903-.055 1.123-.45.22-.395.13-.889-.215-1.183l-2.719-2.939c-.13-.14-.312-.219-.504-.219-.191 0-.374.08-.504.219l-2.745 2.946c-.352.294-.444.795-.22 1.194.225.398.704.583 1.141.439.029-.012.062-.003.081.022.019.024.019.058 0 .083l-2.292 2.872c-.303.317-.35.799-.114 1.167.237.37.696.531 1.115.393.029-.012.062-.003.08.022.02.024.02.058 0 .083l-1.757 2.227c-.271.27-.353.674-.206 1.026.147.351.493.58.877.581h2.508c.38 0 .686.305.686.68v1.685c0 .752.615 1.361 1.373 1.361s1.372-.61 1.372-1.36V28.94c0-.376.307-.68.686-.68h2.479c.384-.001.73-.232.876-.584.146-.353.063-.758-.21-1.026l-1.735-2.226z"/>\n <path fill="#000" d="M31.753 3.155c-.15-.127-.349-.18-.541-.144C16.75 5.777 5.062 16.67 1.024 31.144c-.055.203-.014.42.11.589.125.168.319.267.525.267h10.55c.273.003.519-.166.62-.424 1.776-4.605 4.712-8.647 8.51-11.715.162-.13.255-.33.252-.54-.004-.643.266-1.257.74-1.68l2.59-2.866c.371-.423.904-.66 1.46-.65.55.001 1.077.237 1.451.652l.477.53c.18.2.46.271.71.179.812-.3 1.64-.565 2.485-.785.292-.076.496-.345.496-.654V3.674c-.002-.202-.093-.392-.247-.519z"/>\n <path fill="#FFF" d="M7.957 27.878c-.26.566-.506 1.139-.735 1.72-.095.242-.329.402-.589.402-.08-.001-.158-.017-.232-.048-.325-.13-.485-.499-.357-.826.238-.605.492-1.2.76-1.783.156-.302.522-.427.83-.284.307.144.447.506.318.82h.005zM12.84 21.197c-.882 1.103-1.699 2.256-2.447 3.45-.137.22-.38.353-.642.353-.139 0-.275-.037-.393-.11-.353-.214-.464-.669-.247-1.017.778-1.242 1.627-2.44 2.543-3.59.166-.208.432-.313.699-.276.266.038.492.212.593.457.1.245.06.525-.106.733zM17.736 15.237c-.94.81-1.835 1.676-2.683 2.595-.25.235-.627.222-.863-.029-.237-.25-.254-.654-.04-.927.882-.957 1.814-1.86 2.791-2.704.176-.167.423-.217.644-.13.22.088.377.299.41.549.03.25-.068.498-.259.646zM24.637 11.184c-1.215.513-2.396 1.087-3.536 1.72-.113.063-.245.097-.379.096-.321.004-.606-.182-.694-.454-.089-.273.04-.563.316-.71 1.186-.66 2.415-1.258 3.68-1.79.348-.124.744.012.906.31.162.298.034.656-.293.818v.01zM29.51 9.363c-.577.183-1.146.383-1.706.6-.064.024-.13.037-.198.037-.297-.002-.549-.245-.598-.575-.048-.33.12-.653.4-.763.585-.227 1.178-.434 1.78-.623.214-.085.453-.029.62.147.165.176.23.441.17.689-.062.247-.241.436-.464.488h-.004z"/>\n </g>\n</svg>\n',
6
+ description:
7
+ 'Good surface, no bumps, potholes, wheel ruts, centre raise, or imperfections',
8
+ points: 1
9
+ },
10
+ {
11
+ name: 'Farm track, path or driveway',
12
+ icon:
13
+ '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n <g>\n <path d="M27.545 17h4.137c.176 0 .318-.15.318-.333V14c0-.552-.427-1-.955-1h-5.727c-.176 0-.318.15-.318.333v9.334c0 .184.142.333.318.333h5.727c.528 0 .955-.448.955-1v-2.667c0-.184-.142-.333-.318-.333h-4.137c-.527 0-.954-.448-.954-1s.427-1 .954-1zM11.501 0C5.15 0 0 5.223 0 11.667c0 6.443 5.15 11.666 11.501 11.666.087 0 .171-.035.233-.097.061-.063.096-.148.096-.236v-3.333c0-.184-.147-.334-.329-.334-.582 0-1.162-.065-1.73-.194-.53-.122-.863-.657-.743-1.195s.647-.876 1.177-.755c.426.095.86.144 1.296.144.088 0 .171-.034.233-.097.062-.062.096-.147.096-.236v-3.333c0-.184-.147-.334-.329-.334-.907 0-1.643-.746-1.643-1.666 0-.92.736-1.667 1.643-1.667.908 0 1.643.746 1.643 1.667V31c0 .265.104.52.289.707.185.188.436.293.697.293l7.887-.021c.26 0 .511-.106.696-.294.184-.187.287-.441.287-.706V11.667C22.993 5.227 17.85.009 11.501 0zM6.023 15.481c-.488.242-1.076.036-1.315-.458-.814-1.702-.982-3.648-.47-5.467.095-.345.366-.612.708-.7.343-.087.706.018.951.277.245.258.335.63.236.974-.144.507-.217 1.032-.218 1.56-.003.858.19 1.706.561 2.477.238.496.035 1.095-.453 1.337zm8.064-10.028c-.064.257-.227.478-.451.613-.225.135-.494.175-.747.109-1.293-.332-2.66-.187-3.859.408-.487.24-1.075.036-1.315-.457s-.042-1.09.442-1.337c1.62-.806 3.47-1.002 5.219-.552.253.066.47.23.604.459.133.228.172.5.107.757zm4.972 23.867c0 .552-.441 1-.986 1-.544 0-.985-.448-.985-1v-5.372c0-.552.441-1 .985-1 .545 0 .986.448.986 1v5.372zm0-12.281c0 .552-.441 1-.986 1-.544 0-.985-.448-.985-1v-5.05c0-.552.441-1 .985-1 .545 0 .986.448.986 1v5.05z"/>\n </g>\n</svg>\n',
14
+ description:
15
+ 'May include wheel ruts, pot holes, centre section raised or other imperfections',
16
+ points: 3
17
+ },
18
+ {
19
+ name: 'Slippery or shifting surface',
20
+ icon:
21
+ '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n <g>\n <path d="M31.609 16.942c.52-.52.52-1.364 0-1.885L16.942.39c-.52-.52-1.364-.52-1.885 0L.39 15.057c-.52.52-.52 1.365 0 1.885L15.057 31.61c.52.52 1.365.52 1.885 0L31.61 16.942zm-8.921 5.151c-.07.07-.168.105-.267.096-.1-.01-.19-.066-.244-.15l-.012-.017c-.434-.64-1.156-1.022-1.93-1.022-.183 0-.333-.15-.333-.334 0-.184.15-.333.334-.333.552 0 1-.448 1-1s-.448-1-1-1c-1.289 0-2.334 1.045-2.334 2.333 0 1.289 1.045 2.334 2.334 2.334.11 0 .214.055.276.146.072.109.168.2.28.267.087.053.145.144.157.246.012.102-.023.203-.096.275l-4.612 4.612c-.062.063-.147.098-.236.098s-.173-.035-.236-.098L3.454 16.236c-.062-.063-.098-.148-.098-.236 0-.089.036-.174.098-.236l12.31-12.31c.062-.062.147-.098.236-.098.088 0 .173.036.236.098l12.309 12.31c.063.062.098.147.098.236 0 .088-.035.173-.098.236l-5.857 5.857z"/>\n <path d="M11.505 9.561v.016l-.4 1.828c-.013.063-.044.12-.09.165l-.666.667c-.46.469-.707 1.106-.683 1.763.002.83.447 1.597 1.167 2.012.103.06.166.169.167.288v1.033c0 .552.447 1 1 1 .552 0 1-.448 1-1v-.667c0-.184.149-.333.333-.333h5.333c.184 0 .334.15.334.333v.667c0 .552.447 1 1 1 .552 0 1-.448 1-1v-1.037c0-.119.062-.228.164-.288.74-.448 1.186-1.256 1.169-2.122.001-.618-.244-1.212-.683-1.649l-.666-.667c-.045-.045-.076-.102-.091-.164l-.387-1.78V9.61c-.187-1.125-1.162-1.948-2.302-1.944h-4.408c-1.123-.008-2.089.791-2.291 1.895zm7.036.427V10l.133.596c.02.098-.005.2-.068.277-.063.077-.157.122-.257.123h-4.697c-.1 0-.195-.046-.258-.123-.063-.078-.088-.18-.068-.277l.134-.644V9.94c.029-.159.167-.274.328-.274h4.408c.18.002.33.142.345.322zM12.23 21c-.184 0-.333-.15-.333-.334 0-.184.15-.333.333-.333.553 0 1-.448 1-1s-.447-1-1-1c-1.288 0-2.333 1.045-2.333 2.333 0 1.289 1.045 2.334 2.333 2.334.118 0 .227.062.287.162.29.462.897.606 1.364.325.466-.282.621-.886.348-1.358-.424-.699-1.181-1.126-1.999-1.13z"/>\n </g>\n</svg>\n',
22
+ description: 'Sandy or muddy terrain (with or without track)',
23
+ points: 4
24
+ },
25
+ {
26
+ name: 'Sloped ground',
27
+ icon:
28
+ '<svg xmlns="http://www.w3.org/2000/svg" width="31" height="31" viewBox="0 0 31 31">\n <path d="M30.71 14.8L16.2.29c-.186-.186-.438-.29-.7-.29-.262 0-.514.104-.7.29L.29 14.8c-.186.186-.29.437-.29.7 0 .262.104.514.29.699l14.51 14.51c.186.186.438.291.7.291.262 0 .514-.105.7-.29l14.51-14.511c.186-.185.29-.437.29-.7 0-.262-.104-.513-.29-.698zm-9.933 2.92c0 .219-.087.429-.242.583-.155.155-.365.242-.584.241l-8.905-.01c-.382 0-.715-.264-.802-.637-.087-.373.094-.756.437-.926l8.908-4.429c.256-.125.557-.11.798.04.242.15.389.414.39.698v4.44z"/>\n</svg>\n',
29
+ description: 'Hill, rise, waterway embankment',
30
+ points: 5
31
+ },
32
+ {
33
+ name: 'Paddock or area with obstacles',
34
+ icon:
35
+ '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n <g>\n <path d="M31.333 19.979h-2.666c-.369 0-.667-.299-.667-.667v-.666c0-.369.298-.667.667-.667h2c.237 0 .457-.127.576-.332.12-.206.12-.46.002-.665l-1.674-2.934c-.087-.153-.086-.34.002-.492.089-.152.251-.246.427-.246.242 0 .466-.132.583-.344.118-.212.11-.471-.018-.676l-3.333-5.334c-.13-.184-.34-.293-.565-.293-.225 0-.436.11-.566.293l-3.333 5.334c-.128.205-.135.464-.018.676.118.212.341.344.583.344.176 0 .339.094.427.246.088.152.09.34.003.492l-1.675 2.934c-.118.206-.117.46.002.665.12.205.34.332.577.332h2c.368 0 .666.298.666.667v1.106c0 .304-.205.57-.5.646-2.612.74-5.041 2.018-7.13 3.753-.095.076-.14.197-.12.317.021.12.105.218.22.258 2.922.91 5.542 2.595 7.58 4.878.399.48.617 1.084.617 1.708 0 .368.298.667.667.667h4.666c.369 0 .667-.299.667-.667V20.646c0-.369-.298-.667-.667-.667z" transform="translate(0 .01)"/>\n <path d="M11.273 25.404c-.344-.031-.608-.32-.606-.666v-2.092c0-.369.298-.667.666-.667h4.054c.497 0 .953-.277 1.183-.718.23-.441.194-.974-.091-1.38l-2.718-3.882c-.093-.133-.105-.308-.03-.452.075-.145.225-.235.388-.235.486 0 .935-.265 1.169-.691.234-.427.217-.948-.044-1.358l-3.017-4.74c-.177-.281-.12-.65.133-.864.494-.423.61-1.141.276-1.699L9.239.302C9.109.112 8.895 0 8.667 0c-.23 0-.443.113-.572.302L4.7 5.959c-.334.558-.218 1.275.276 1.699.255.214.311.584.134.865l-3.023 4.741c-.26.411-.277.931-.043 1.358.235.426.683.69 1.17.69.162 0 .312.09.387.235.075.144.064.319-.03.452L.855 19.88c-.286.407-.32.94-.091 1.381.23.441.685.718 1.183.718H6c.368 0 .667.298.667.667v2.312c0 .318-.227.592-.54.653-2.093.418-4.077 1.262-5.83 2.48-.185.123-.297.332-.297.555v2.666c0 .368.298.667.667.667h22.666c.26 0 .495-.15.605-.384.11-.235.074-.512-.093-.71-3.096-3.715-8.697-5.13-12.572-5.48z" transform="translate(0 .01)"/>\n </g>\n</svg>\n',
36
+ description:
37
+ 'Potential for obstacles such as rocks, timber, rabbit warren, stock, clumped grass, foliage',
38
+ points: 5
39
+ },
40
+ {
41
+ name: 'Loading ramp',
42
+ icon:
43
+ '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="12" viewBox="0 0 32 12">\n <g>\n <path d="M8.625 0v5.167c0 .184-.149.333-.333.333L1.333 8C.597 8 0 8.597 0 9.333c0 .737.597 1.334 1.333 1.334l17.628-2.5c.184 0 .334-.15.334-.334 0-2.577 2.089-4.666 4.666-4.666 2.578 0 4.667 2.089 4.667 4.666 0 .184.15.334.333.334h1.334c.199 0 .767-2.723 1.705-8.167H8.625z"/>\n <path d="M20.882 6.56c-.516 1.245-.231 2.678.722 3.632.954.953 2.387 1.238 3.633.722s2.058-1.731 2.058-3.08c0-1.84-1.493-3.333-3.334-3.333-1.348 0-2.563.812-3.08 2.058z"/>\n </g>\n</svg>\n',
44
+ description:
45
+ 'Driven via a rated and sufficiently long ramp onto transport such as a ute or trailer',
46
+ points: 5
47
+ }
48
+ ]
@@ -0,0 +1,63 @@
1
+ const statistics = [
2
+ {
3
+ heading: 'statistics 1',
4
+ description:
5
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
6
+ img: '../../../assets/icons/key.svg',
7
+ statistic: '100%'
8
+ },
9
+ {
10
+ heading: 'statistics 2',
11
+ description:
12
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
13
+ img: '../../../assets/icons/key.svg',
14
+ statistic: '10,000'
15
+ },
16
+ {
17
+ heading: 'statistics 3',
18
+ description:
19
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
20
+ img: '../../../assets/icons/key.svg',
21
+ statistic: '3 of 10'
22
+ },
23
+ {
24
+ heading: 'statistics 4',
25
+ description:
26
+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
27
+ img: '../../../assets/icons/key.svg',
28
+ statistic: '$500'
29
+ }
30
+ ]
31
+
32
+ const statisticsAr = [
33
+ {
34
+ heading: 'نقطة إثبات 1',
35
+ description:
36
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
37
+ img: '../../../assets/icons/key.svg',
38
+ statistic: '100%'
39
+ },
40
+ {
41
+ heading: 'نقطة إثبات 2',
42
+ description:
43
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
44
+ img: '../../../assets/icons/key.svg',
45
+ statistic: '10,000'
46
+ },
47
+ {
48
+ heading: 'نقطة إثبات 3',
49
+ description:
50
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
51
+ img: '../../../assets/icons/key.svg',
52
+ statistic: '3 من 10'
53
+ },
54
+ {
55
+ heading: 'نقطة إثبات 4',
56
+ description:
57
+ 'لكن لا بد أن أوضح لك أن كل هذه الأفكار المغلوطة حول استنكار النشوة وتمجيد الألم نشأت بالفعل، وسأعرض لك التفاصيل لتكتشف حقيقة وأساس تلك السعادة البشرية، ',
58
+ img: '../../../assets/icons/key.svg',
59
+ statistic: '$500'
60
+ }
61
+ ]
62
+
63
+ export { statistics, statisticsAr }
@@ -0,0 +1 @@
1
+ module.exports = {}
@@ -0,0 +1,197 @@
1
+ import cake from '../components/Paragraphs/TabbedCards/TempIcons/cake-black-18dp.svg?raw'
2
+ import tag from '../components/Paragraphs/TabbedCards/TempIcons/tag_faces-black-18dp.svg?raw'
3
+ import commute from '../components/Paragraphs/TabbedCards/TempIcons/commute-black-18dp.svg?raw'
4
+ import extinguisher from '../components/Paragraphs/TabbedCards/TempIcons/fire_extinguisher-black-18dp.svg?raw'
5
+ import breakfast from '../components/Paragraphs/TabbedCards/TempIcons/free_breakfast-black-18dp.svg?raw'
6
+ import portrait from '../components/Paragraphs/TabbedCards/TempIcons/portrait-black-18dp.svg?raw'
7
+ import storefront from '../components/Paragraphs/TabbedCards/TempIcons/storefront-black-18dp.svg?raw'
8
+
9
+ const tabbedCardsMockLinks = [
10
+ {
11
+ title: 'Coronavirus (COVID-19)',
12
+ icon: cake,
13
+ text:
14
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
15
+ links: [
16
+ {
17
+ title: 'List group item heading 1',
18
+ text:
19
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
20
+ },
21
+ {
22
+ title: 'List group item heading 2',
23
+ text:
24
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
25
+ },
26
+ {
27
+ title: 'List group item heading 3',
28
+ text:
29
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ title: 'Laws and regulations',
35
+ icon:
36
+ 'https://content-staging-v2.api.worksafe.vic.gov.au/core/misc/menu-expanded.png',
37
+ text:
38
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
39
+ links: [
40
+ {
41
+ title: 'List group item heading 1',
42
+ text:
43
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
44
+ },
45
+ {
46
+ title: 'List group item heading 2',
47
+ text:
48
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
49
+ },
50
+ {
51
+ title: 'List group item heading 3',
52
+ text:
53
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ title: 'القوانين والأنظمة',
59
+ icon: tag,
60
+ rtl: true,
61
+ text:
62
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.',
63
+ links: [
64
+ {
65
+ title: 'قائمة عنصر المجموعة',
66
+ text:
67
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.'
68
+ },
69
+ {
70
+ title: 'قائمة عنصر المجموعة',
71
+ text:
72
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.'
73
+ },
74
+ {
75
+ title: 'قائمة عنصر المجموعة',
76
+ text:
77
+ 'بعض الأمثلة السريعة للنص الذي سيتم بناؤه على علامة التبويب 1 وتشكيل الجزء الأكبر من محتوى البطاقة.'
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ title: 'Essentials for every workplace',
83
+ icon: commute,
84
+ text:
85
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
86
+ links: [
87
+ {
88
+ title: 'List group item heading 1',
89
+ text:
90
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
91
+ },
92
+ {
93
+ title: 'List group item heading 2',
94
+ text:
95
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
96
+ },
97
+ {
98
+ title: 'List group item heading 3',
99
+ text:
100
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ title: 'Ladders, heights and falls',
106
+ icon: extinguisher,
107
+ text:
108
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
109
+ links: [
110
+ {
111
+ title: 'List group item heading 1',
112
+ text:
113
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
114
+ },
115
+ {
116
+ title: 'List group item heading 2',
117
+ text:
118
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
119
+ },
120
+ {
121
+ title: 'List group item heading 3',
122
+ text:
123
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ title: 'Manual handling',
129
+ icon: breakfast,
130
+ text:
131
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
132
+ links: [
133
+ {
134
+ title: 'List group item heading 1',
135
+ text:
136
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
137
+ },
138
+ {
139
+ title: 'List group item heading 2',
140
+ text:
141
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
142
+ },
143
+ {
144
+ title: 'List group item heading 3',
145
+ text:
146
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ title: 'Fireworks and pyrotechnics',
152
+ icon: portrait,
153
+ text:
154
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
155
+ links: [
156
+ {
157
+ title: 'List group item heading 1',
158
+ text:
159
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
160
+ },
161
+ {
162
+ title: 'List group item heading 2',
163
+ text:
164
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
165
+ },
166
+ {
167
+ title: 'List group item heading 3',
168
+ text:
169
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ title: 'Manual handling',
175
+ icon: storefront,
176
+ text:
177
+ "Some quick example text to build on the Tab 1 and make up the bulk of the card's content.",
178
+ links: [
179
+ {
180
+ title: 'List group item heading 1',
181
+ text:
182
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
183
+ },
184
+ {
185
+ title: 'List group item heading 2',
186
+ text:
187
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
188
+ },
189
+ {
190
+ title: 'List group item heading 3',
191
+ text:
192
+ 'Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.'
193
+ }
194
+ ]
195
+ }
196
+ ]
197
+ export { tabbedCardsMockLinks }
@@ -0,0 +1,68 @@
1
+ const taskFinderTempData = [
2
+ {
3
+ text: 'Related topics',
4
+ children: [
5
+ { text: 'Dangerous goods', url: '/dangerous-goods' },
6
+ { text: 'Fatigue', url: '/fatigue' },
7
+ { text: 'Noise', url: '/noise' }
8
+ ]
9
+ },
10
+ {
11
+ text: 'Related industries',
12
+ children: [
13
+ { text: 'Construction', url: '/construction' },
14
+ { text: 'Manufacturing', url: '/manufacturing' },
15
+ { text: 'Mining and quarries', url: '/mining-and-quarries' }
16
+ ]
17
+ },
18
+ {
19
+ text: 'Make a claim',
20
+ url: '/before-claim'
21
+ },
22
+ {
23
+ text: 'Google',
24
+ url: 'http://www.google.com'
25
+ }
26
+ ]
27
+
28
+ const taskFinderTempTitle = 'Task Finder'
29
+
30
+ const taskFinderTempText =
31
+ 'Mauris non tempor quam, et lacinia sapien. Mauris accumsan eros eget libero posuere vulputate. Etiam elit elit, elementum sed varius at, adipiscing vitae est. Sed nec felis pellentesque, lacinia dui sed, ultricies sapien. Pellentesque orci lectus, consectetur vel pos.'
32
+
33
+ const taskFinderTempDataAr = [
34
+ {
35
+ text: 'مواضيع',
36
+ children: [
37
+ { text: 'بضائع خطيرة', url: '/dangerous-goods' },
38
+ { text: 'تعب', url: '/fatigue' },
39
+ { text: 'ضجيج', url: '/noise' }
40
+ ]
41
+ },
42
+ {
43
+ text: 'صناعة',
44
+ children: [
45
+ { text: 'اعمال بناء', url: '/construction' },
46
+ { text: 'صناعة', url: '/manufacturing' },
47
+ { text: 'التعدين', url: '/mining-and-quarries' }
48
+ ]
49
+ },
50
+ {
51
+ text: 'ادعاء',
52
+ url: '/before-claim'
53
+ }
54
+ ]
55
+
56
+ const taskFinderTempTitleAr = 'مكتشف المهام'
57
+
58
+ const taskFinderTempTextAr =
59
+ 'يجب على أصحاب العمل أيضاً التشاور مع الموظفين وممثلي الصحة والسلامة (HSRs)، بقدر ما يكون ذلك عملياً، في الأمور المتعلقة بالصحة أو السلامة التي تؤثر عليهم مباشرةً أو التي من المحتمل أن تؤثر عليهم بشكل مباشر، بما في ذلك التشاور بشأن القرارات المتعلقة بكيفية التحكم في المخاطر المرتبطة بفيروس كورونا في مكان العمل.'
60
+
61
+ export {
62
+ taskFinderTempData,
63
+ taskFinderTempTitle,
64
+ taskFinderTempText,
65
+ taskFinderTempDataAr,
66
+ taskFinderTempTitleAr,
67
+ taskFinderTempTextAr
68
+ }