@worksafevictoria/wcl7.5 1.9.0-beta.4 → 1.9.0-beta.6

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/components/Common/CardGridItem/card-grid-item-caret.vue +39 -45
  3. package/src/components/Common/CardGridItem/card-grid-item-icon.vue +1 -1
  4. package/src/components/Common/CardGridItem/index.vue +6 -2
  5. package/src/components/Containers/Carousel/index.stories.js +6 -4
  6. package/src/components/Containers/Carousel/index.vue +131 -120
  7. package/src/components/Containers/HomepageHeader/index.stories.js +1 -1
  8. package/src/components/Containers/HomepageHeaderNew/index.stories.js +3 -15
  9. package/src/components/Containers/HomepageHeaderNew/index.vue +0 -5
  10. package/src/components/Global/AppFooter/index.vue +115 -129
  11. package/src/components/Global/AppHeader/ModalSearch/index.vue +7 -1
  12. package/src/components/Global/AppHeader/index.stories.js +2 -2
  13. package/src/components/Global/AppHeaderNew/ModalSearch/index.vue +21 -17
  14. package/src/components/Global/AppHeaderNew/index.stories.js +2 -2
  15. package/src/components/Global/AppHeaderNew/index.vue +22 -22
  16. package/src/components/Global/BackToTop/index.vue +16 -16
  17. package/src/components/Global/ContrastMode/index.stories.js +1 -1
  18. package/src/components/Global/HeroHeader/index.vue +62 -73
  19. package/src/components/Global/SocialShare/index.vue +62 -66
  20. package/src/components/Global/Strip/index.vue +9 -5
  21. package/src/components/Paragraphs/Accordion/AccordionItem/index.vue +21 -23
  22. package/src/components/Paragraphs/Accordion/StepperItem/index.vue +15 -15
  23. package/src/components/Paragraphs/Calculator/CardContainer/index.vue +74 -75
  24. package/src/components/Paragraphs/Calculator/RiskLevel/index.vue +31 -39
  25. package/src/components/Paragraphs/Directory/Asbestos/Records/SingleRecord/index.vue +104 -107
  26. package/src/components/Paragraphs/Directory/Asbestos/Records/index.vue +152 -120
  27. package/src/components/Paragraphs/Directory/HSCP/Records/SingleRecord/index.vue +127 -133
  28. package/src/components/Paragraphs/Directory/HSCP/Records/index.vue +158 -128
  29. package/src/components/Paragraphs/TabulatedData/index.vue +3 -2
  30. package/src/components/SubComponents/CtaButton/index.vue +47 -44
  31. package/src/components/SubComponents/Icon/README.md +2 -2
  32. package/src/components/SubComponents/Icon/example.js +1 -0
  33. package/src/components/SubComponents/Icon/index.stories.js +1 -1
  34. package/src/components/SubComponents/Icon/index.vue +47 -47
  35. package/src/components/SubComponents/ResourceGroup/cardbody.vue +49 -61
  36. package/src/components/SubComponents/VideoThumbnail/index.vue +30 -28
  37. package/src/mock/carousel-items.js +46 -81
@@ -1,82 +1,47 @@
1
1
  export const mockCarouselItems = [
2
- {
3
- field_title: 'This is the first slider',
4
- field_image: {
5
- field_media_image: {
6
- uri: {
7
- url: '/sites/default/files/2025-01/image-ag-safety-network-veg-001.jpg'
8
- }
9
- }
10
- },
11
- field_link: {
12
- url: 'https://www.google.com',
13
- },
14
- field_date_start: '2025-02-05',
15
- field_date_end: '2025-03-07',
16
- field_favorite: true
17
- },
18
- {
19
- field_title: 'This is the second slider',
20
- field_image: {
21
- field_media_image: {
22
- uri: {
23
- url: '/sites/default/files/2025-01/large-2023%20WorkSafe%20Awards.jpg'
24
- }
25
- }
26
- },
27
- field_link: {
28
- url: '/news/2019-11/winners-named-distinguished-worksafe-awards',
29
- },
30
- field_date_start: '2025-02-05',
31
- field_date_end: '2025-07-05',
32
- field_favorite: false
33
- },
34
- {
35
- field_title: 'This is the third slider',
36
- field_image: {
37
- field_media_image: {
38
- uri: {
39
- url: '/sites/default/files/2024-12/header-image-workwell-oelg-project.jpg'
40
- }
41
- }
42
- },
43
- field_link: {
44
- url: '/resources/workwell-ageing-workforce-ready-age-difference',
45
- },
46
- field_date_start: '2024-01-12',
47
- field_date_end: '2024-12-12',
48
- favorite: false
49
- },
50
- {
51
- field_title: 'This is the fourth slider',
52
- field_image: {
53
- field_media_image: {
54
- uri: {
55
- url: '/sites/default/files/styles/large/public/2018-06/Topics-explosives_0.jpg'
56
- }
57
- }
58
- },
59
- field_link: {
60
- url: '/explosives',
61
- },
62
- field_date_start: '2025-01-30',
63
- field_date_end: '2025-12-12',
64
- field_favorite: false
65
- },
66
- {
67
- field_title: '',
68
- field_image: {
69
- field_media_image: {
70
- uri: {
71
- url: '/sites/default/files/styles/large/public/2022-07/card-bricklaying-3x2.jpg'
72
- }
73
- }
74
- },
75
- field_link: {
76
- url: '/construction',
77
- },
78
- field_date_start: '2024-10-30',
79
- field_date_end: '2025-12-12',
80
- field_favorite: false
81
- },
82
- ]
2
+ {
3
+ title: 'This is the first slider',
4
+ imageURL: '/sites/default/files/2025-01/image-ag-safety-network-veg-001.jpg',
5
+ imageAlt: 'Picture of Agricultural Safety Inspectors',
6
+ linkURL: 'https://www.google.com',
7
+ dateStart: '2025-02-05',
8
+ dateEnd: '2025-03-07',
9
+ favourite: true
10
+ },
11
+ {
12
+ title: 'This is the second slider',
13
+ imageURL: '/sites/default/files/2025-01/large-2023%20WorkSafe%20Awards.jpg',
14
+ imageAlt: 'Picture of WorkSafe Awards Banquet',
15
+ linkURL: '/news/2019-11/winners-named-distinguished-worksafe-awards',
16
+ dateStart: '2025-02-05',
17
+ dateEnd: '2025-07-05',
18
+ favourite: false
19
+ },
20
+ {
21
+ title: 'This is the third slider',
22
+ imageURL: '/sites/default/files/2024-12/header-image-workwell-oelg-project.jpg',
23
+ imageAlt: 'Workwell image',
24
+ linkURL: '/resources/workwell-ageing-workforce-ready-age-difference',
25
+ dateStart: '2024-01-12',
26
+ dateEnd: '2024-12-12',
27
+ favourite: false
28
+ },
29
+ {
30
+ title: 'This is the fourth slider',
31
+ imageURL: '/sites/default/files/styles/large/public/2018-06/Topics-explosives_0.jpg',
32
+ imageAlt: 'Picture of demolition in quarry',
33
+ linkURL: '/explosives',
34
+ dateStart: '2025-01-30',
35
+ dateEnd: '2025-12-12',
36
+ favourite: false
37
+ },
38
+ {
39
+ title: '',
40
+ imageURL: '/sites/default/files/styles/large/public/2022-07/card-bricklaying-3x2.jpg',
41
+ imageAlt: 'Picture of construction worker',
42
+ linkURL: '/construction',
43
+ dateStart: '2024-10-30',
44
+ dateEnd: '2025-12-12',
45
+ favourite: false
46
+ },
47
+ ]