@worksafevictoria/wcl7.5 1.13.0 → 1.14.0-beta.10

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 (41) hide show
  1. package/package.json +1 -1
  2. package/src/assets/icons/Mental-injury.svg +40 -0
  3. package/src/assets/icons/Physical-injury.svg +11 -0
  4. package/src/assets/icons/icon-view-off.svg +1 -0
  5. package/src/assets/icons/other.svg +19 -0
  6. package/src/components/Containers/Carousel/index.vue +45 -28
  7. package/src/components/Containers/HomepageHeader/index.vue +2 -11
  8. package/src/components/Containers/HomepageHeaderNew/index.stories.js +5 -0
  9. package/src/components/Containers/HomepageHeaderNew/index.vue +40 -11
  10. package/src/components/Containers/SectionGroup/index.vue +23 -23
  11. package/src/components/Global/AppHeaderNew/index.vue +31 -24
  12. package/src/components/Global/AppHeaderNew/mobile.scss +50 -12
  13. package/src/components/Global/AppHeaderNew/styles.scss +26 -33
  14. package/src/components/Paragraphs/Accordion/index.stories.js +3 -3
  15. package/src/components/Paragraphs/Accordion/index.vue +3 -3
  16. package/src/components/Paragraphs/BrowseContent/index.vue +226 -231
  17. package/src/components/Paragraphs/Directory/Asbestos/Records/SingleRecord/index.stories.js +7 -7
  18. package/src/components/Paragraphs/Directory/Asbestos/Records/SingleRecord/index.vue +21 -23
  19. package/src/components/Paragraphs/Directory/Asbestos/Records/index.vue +41 -40
  20. package/src/components/Paragraphs/Directory/Records/PRS/recordContent.vue +11 -0
  21. package/src/components/Paragraphs/RTWPlanner/Home/index.vue +83 -0
  22. package/src/components/Paragraphs/RTWPlanner/NavBar/index.vue +44 -0
  23. package/src/components/Paragraphs/RTWPlanner/Planners/PlanTasks.vue +169 -0
  24. package/src/components/Paragraphs/RTWPlanner/Planners/index.vue +239 -0
  25. package/src/components/Paragraphs/RTWPlanner/icons/ChevRightIcon.vue +16 -0
  26. package/src/components/Paragraphs/RTWPlanner/icons/DeleteIcon.vue +13 -0
  27. package/src/components/Paragraphs/RTWPlanner/icons/MentalInjury.vue +42 -0
  28. package/src/components/Paragraphs/RTWPlanner/icons/NotepadIcon.vue +95 -0
  29. package/src/components/Paragraphs/RTWPlanner/icons/OtherInjury.vue +20 -0
  30. package/src/components/Paragraphs/RTWPlanner/icons/PhysicalInjury.vue +13 -0
  31. package/src/components/Paragraphs/RTWPlanner/icons/PlusCircleIcon.vue +36 -0
  32. package/src/components/Paragraphs/RTWPlanner/icons/TickCircleIcon.vue +13 -0
  33. package/src/components/Paragraphs/RTWPlanner/index.stories.js +26 -0
  34. package/src/components/Paragraphs/RTWPlanner/index.vue +41 -0
  35. package/src/components/Paragraphs/TextMedia/index.vue +107 -9
  36. package/src/components/Paragraphs/VideoPlayer/index.vue +157 -23
  37. package/src/components/SubComponents/VideoThumbnail/index.vue +5 -1
  38. package/src/includes/scss/mixins/src/fp.scss +1 -1
  39. package/src/index.js +3 -13
  40. package/src/mock/asbestos-removalists.js +224 -196
  41. package/src/components/Paragraphs/BrowseContent/setup.vue +0 -284
@@ -3,6 +3,7 @@
3
3
  .app-header {
4
4
  &.isMobile {
5
5
  padding: 0;
6
+ width: 100vw;
6
7
 
7
8
  .app-header {
8
9
  &__wrap {
@@ -20,6 +21,8 @@
20
21
 
21
22
  ul {
22
23
  float: none;
24
+ padding-left: 15px;
25
+ padding-right: 10px;
23
26
 
24
27
  li {
25
28
  height: 62px;
@@ -71,6 +74,8 @@
71
74
  display: table-cell;
72
75
  vertical-align: middle;
73
76
  text-align: left;
77
+ margin-left: 0px;
78
+ margin-right: 10px;
74
79
 
75
80
  svg {
76
81
  filter: invert(100%) sepia(5%) saturate(49%) hue-rotate(165deg)
@@ -177,6 +182,7 @@
177
182
  margin-bottom: 5px;
178
183
  padding: 0;
179
184
  top: 0;
185
+ margin-left: 10px;
180
186
 
181
187
  span {
182
188
  color: $app-header-active;
@@ -267,38 +273,70 @@
267
273
  top: 10px !important;
268
274
  }
269
275
 
270
- .LogoImgMobile {
276
+ .logoMobile {
277
+ height: 85px;
278
+ padding: 15px 0%;
279
+ display: flex;
280
+ align-items: center;
281
+ margin-right: 0px;
282
+ margin-left: 10px;
283
+ background-color: white;
284
+ width: 100%;
285
+ }
286
+
287
+ .logoImgMobile {
271
288
  height: 40px;
272
289
  width: auto;
273
290
  }
274
291
 
275
- .logo__nav-mobile {
276
- display:inline-block;
277
- margin-left: 10px;
278
- margin-right: 0px;
279
- width: 100%;
292
+ .logo__nav_mobile {
293
+ display:flex;
294
+ margin-left: 15px;
295
+ margin-right: 25px;
296
+ width: 60% !important;
280
297
  overflow-y:auto;
298
+ justify-content: flex-end;
299
+
300
+ table {
301
+ border-collapse: separate;
302
+ border-spacing: 5px;
303
+ }
304
+
305
+ }
306
+
307
+ .imgMobile {
308
+ display: block;
309
+ margin-left: auto;
310
+ margin-right: auto;
281
311
  }
282
312
 
283
313
  .td_mobile {
284
- padding: 0px 5px !important;
285
314
  height: 35px;
286
315
  width: 35px;
287
316
  }
288
317
 
289
318
  .td_mobile-last {
290
- padding: 0px 0px 0px 5px !important;
319
+ padding: 0px !important;
291
320
  }
292
321
 
293
322
  .mobile-link {
294
- height: 35px;
295
- width: 35px;
323
+ width: 40px !important;
324
+ height: 40px !important;
296
325
  background-color: #f2f2f2;
297
326
  border: 1px solid #f2f2f2;
298
- border-radius: 5px;
327
+ border-radius: 8px;
328
+
329
+ &:focus, &:hover {
330
+ border: 1px solid #BABABA;
331
+ }
299
332
  }
300
333
 
301
334
  .app-header__wrap_mobile {
302
335
  background: none;
303
336
  height: 0px;
304
- }
337
+ }
338
+
339
+ .flex-container_contrast_mobile {
340
+ margin-left: -167px;
341
+ }
342
+
@@ -4,8 +4,8 @@
4
4
  color: $app-menu-white;
5
5
  z-index: 27;
6
6
  position: relative;
7
- padding: 0px 10px;
8
- width: 100%;
7
+ padding: 0px;
8
+ width: 100vw;
9
9
  font-size: 14px;
10
10
 
11
11
  &__wrap {
@@ -18,6 +18,9 @@
18
18
  padding: 0px 15px;
19
19
  display: table;
20
20
  width: 100%;
21
+ border-bottom-style: solid;
22
+ border-bottom-color: white;
23
+ border-bottom-width: 2px;
21
24
 
22
25
  > nav {
23
26
  width: 100%;
@@ -42,9 +45,14 @@
42
45
  }
43
46
  .isActiveChild {
44
47
  > a {
45
- background: $app-header-active;
46
- color: $app-header-text-colour;
48
+ background: $app-header-hover;
49
+ color: black;
47
50
  border-bottom: 1px solid transparent;
51
+
52
+ svg.caret-right {
53
+ filter: invert(0%) sepia(12%) saturate(108%) hue-rotate(344deg)
54
+ brightness(94%) contrast(80%);
55
+ }
48
56
  }
49
57
  }
50
58
 
@@ -378,16 +386,19 @@
378
386
 
379
387
  .logo {
380
388
  height: 85px;
381
- padding: 15px 15px 15px 0px;
389
+ padding: 15px 0%;
382
390
  width: 100%;
383
391
  display: flex;
384
392
  align-items: center;
385
- margin-right: 0%;
393
+ margin-right: 50px;
394
+ margin-left: -10px;
386
395
  background-color: white;
396
+ width: 100vw;
387
397
 
388
398
  &__nav {
389
399
  display:inline-block;
390
400
  margin-left: 15px;
401
+ margin-right: 10px;
391
402
  color: #000;
392
403
  width: 100%;
393
404
  text-align: right;
@@ -421,9 +432,10 @@
421
432
  }
422
433
  }
423
434
 
424
- .LogoImg {
435
+ .logoImg {
425
436
  height: 55px;
426
437
  width: auto;
438
+ margin-left: 20px;
427
439
  }
428
440
 
429
441
  .semi-circle {
@@ -470,11 +482,7 @@
470
482
  }
471
483
  }
472
484
  }
473
- @mixin opened-slide {
474
- left: 100%;
475
- -webkit-transform: translateX(-100%);
476
- transform: translateX(-100%);
477
- }
485
+
478
486
  .contrast_slide {
479
487
  &_container {
480
488
  background: white;
@@ -490,21 +498,6 @@
490
498
  margin: 0;
491
499
  right: 0;
492
500
  position: absolute;
493
-
494
- // &.closed {}
495
- &.opened {
496
- > .contrast_slide_hoverbar {
497
- @include opened-slide;
498
- }
499
- }
500
-
501
- @media (min-width: 768px) {
502
- &:hover {
503
- > .contrast_slide_hoverbar {
504
- @include opened-slide;
505
- }
506
- }
507
- }
508
501
  }
509
502
 
510
503
  &_hoverbar {
@@ -604,14 +597,13 @@
604
597
  padding: 10px 0;
605
598
 
606
599
  input[type='radio'] {
607
- border: 2px solid #bebebe;
600
+ border: 3px solid #bebebe;
608
601
  border-radius: 50%;
609
- box-shadow: 0 0 0px 0px #bebebe inset;
610
- height: 24px;
602
+ height: 25px;
611
603
  outline: none;
612
604
  vertical-align: middle;
613
605
  margin-right: 5px;
614
- width: 24px;
606
+ width: 25px;
615
607
  appearance: none;
616
608
 
617
609
  &:before {
@@ -633,11 +625,11 @@
633
625
  }
634
626
  }
635
627
 
636
- .flex-container {
628
+ .flex-container_contrast {
637
629
  margin-left: -5px;
638
630
  }
639
631
 
640
- .flex-item {
632
+ .flex-item_contrast {
641
633
  border: 1px solid;
642
634
  border-color: #BABABA;
643
635
  padding: 10px;
@@ -647,5 +639,6 @@
647
639
  input[type="radio"] {
648
640
  accent-color: black;
649
641
  margin-right: 5px;
642
+ vertical-align: middle;
650
643
  }
651
644
  }
@@ -5,7 +5,7 @@ const mockAccordionItems = [
5
5
  field_title: 'Item one',
6
6
  field_pre_heading: 'preheading text',
7
7
  field_rich_text: {
8
- value:
8
+ processed:
9
9
  '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>',
10
10
  },
11
11
  id: 'id-1',
@@ -14,7 +14,7 @@ const mockAccordionItems = [
14
14
  field_title: 'Item two',
15
15
  field_pre_heading: 'preheading text',
16
16
  field_rich_text: {
17
- value:
17
+ processed:
18
18
  '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>',
19
19
  },
20
20
  id: 'id-2',
@@ -23,7 +23,7 @@ const mockAccordionItems = [
23
23
  field_title: 'Item three',
24
24
  field_pre_heading: 'preheading text',
25
25
  field_rich_text: {
26
- value:
26
+ processed:
27
27
  '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>',
28
28
  },
29
29
  id: 'id-3',
@@ -22,7 +22,7 @@
22
22
  <stepper-item
23
23
  v-if="isStepper"
24
24
  :itemid="item.id ? item.id : '' + index"
25
- :content="hasContent(item) ? item.field_rich_text.value : ''"
25
+ :content="hasContent(item) ? item.field_rich_text.processed : ''"
26
26
  :title="item.field_title"
27
27
  class="accordion__item stepper"
28
28
  :rtl="rtl || item.field_rtl"
@@ -33,7 +33,7 @@
33
33
  <accordion-item
34
34
  v-if="!isStepper"
35
35
  :itemid="item.id ? item.id : '' + index"
36
- :content="hasContent(item) ? item.field_rich_text.value : ''"
36
+ :content="hasContent(item) ? item.field_rich_text.processed : ''"
37
37
  :title="item.field_title"
38
38
  class="accordion__item"
39
39
  :rtl="rtl || item.field_rtl"
@@ -124,7 +124,7 @@ export default {
124
124
  return false
125
125
  },
126
126
  hasContent(item) {
127
- return item?.field_rich_text?.value
127
+ return item?.field_rich_text?.processed
128
128
  },
129
129
  },
130
130
  }