@worksafevictoria/wcl7.5 1.13.0-beta.3 → 1.13.0-beta.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.13.0-beta.3",
3
+ "version": "1.13.0-beta.4",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -48,14 +48,15 @@
48
48
  </a>
49
49
  <div
50
50
  ref="contrastChoices"
51
- class="flex-container"
51
+ class="flex-container_contrast"
52
52
  v-if="show"
53
53
  >
54
- <div class="flex-item contrast_slide--box-list">
55
- <div v-for="list in lists" :key="list.value">
56
- <label :class="{'last-radio': list.label==='Greyscale'}">
54
+ <div class="flex-item_contrast contrast_slide--box-list">
55
+ <div v-for="list in lists" :key="list.value" >
56
+ <label :for="list.id" :class="{'last-radio': list.label==='Greyscale'}">
57
57
  <input
58
58
  type="radio"
59
+ :id="list.id"
59
60
  :name="list.name"
60
61
  :value="list.value"
61
62
  :checked="list.value === selectedValue"
@@ -411,18 +412,22 @@ export default {
411
412
  NavSearchIcon,
412
413
  lists: [
413
414
  {
415
+ id: 'contrast1',
414
416
  name: 'contrast',
415
417
  value: 'default',
416
418
  label: 'Light contrast (default)'
417
419
  },
418
420
  {
421
+ id: 'contrast2',
419
422
  name: 'contrast',
420
423
  value: 'high_contrast',
421
424
  label: 'Increased contrast'
422
425
  },
423
- { name: 'contrast',
424
- value: 'grayscale',
425
- label: 'Greyscale'
426
+ {
427
+ id: 'contrast3',
428
+ name: 'contrast',
429
+ value: 'grayscale',
430
+ label: 'Greyscale'
426
431
  }
427
432
  ],
428
433
  selectedValue: null
@@ -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: lightgrey;
23
+ border-bottom-width: 1px;
21
24
 
22
25
  > nav {
23
26
  width: 100%;
@@ -470,11 +473,7 @@
470
473
  }
471
474
  }
472
475
  }
473
- @mixin opened-slide {
474
- left: 100%;
475
- -webkit-transform: translateX(-100%);
476
- transform: translateX(-100%);
477
- }
476
+
478
477
  .contrast_slide {
479
478
  &_container {
480
479
  background: white;
@@ -490,21 +489,6 @@
490
489
  margin: 0;
491
490
  right: 0;
492
491
  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
492
  }
509
493
 
510
494
  &_hoverbar {
@@ -633,11 +617,11 @@
633
617
  }
634
618
  }
635
619
 
636
- .flex-container {
620
+ .flex-container_contrast {
637
621
  margin-left: -5px;
638
622
  }
639
623
 
640
- .flex-item {
624
+ .flex-item_contrast {
641
625
  border: 1px solid;
642
626
  border-color: #BABABA;
643
627
  padding: 10px;
package/src/index.js CHANGED
@@ -7,7 +7,7 @@ import Subheader from './components/Containers/Subheader/index.vue'
7
7
  import SectionGroup from './components/Containers/SectionGroup/index.vue'
8
8
  import CarouselComponent from './components/Containers/Carousel/index.vue'
9
9
 
10
- import AppHeader from './components/Global/AppHeader/index.vue'
10
+ import AppHeader from './components/Global/AppHeaderNew/index.vue'
11
11
  import AppFooter from './components/Global/AppFooter/index.vue'
12
12
  import HeroHeader from './components/Global/HeroHeader/index.vue'
13
13
  import SocialShare from './components/Global/SocialShare/index.vue'