@worksafevictoria/wcl7.5 1.1.0-beta.52 → 1.1.0-beta.54

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.1.0-beta.52",
3
+ "version": "1.1.0-beta.54",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  >
32
32
  <column
33
33
  v-for="(item, index) in cards"
34
- :key="`${redrawCounter}-${index}-${_uid}`"
34
+ :key="`${redrawCounter}-${index}-${$options._uid}`"
35
35
  ref="cardColumns"
36
36
  :lg="largeViewPort"
37
37
  :md="mediumViewPort"
@@ -188,7 +188,7 @@ export default {
188
188
  return 6
189
189
  },
190
190
  uniqueClass() {
191
- return 'cardGrid' + this._uid
191
+ return `cardGrid-${this.$options._uid}`
192
192
  }
193
193
  },
194
194
  watch: {
@@ -12,13 +12,12 @@
12
12
  <b-carousel-slide
13
13
  v-for="item in filteredCarouselItems"
14
14
  :key="item.id"
15
- :text="item.content"
15
+
16
16
  :img-src="item.image"
17
17
  @click.prevent="handleClick(item.link)"
18
18
  >
19
+ <h4>{{ item.content}}</h4>
19
20
  </b-carousel-slide>
20
-
21
-
22
21
  </b-carousel>
23
22
  </div>
24
23
  </template>
@@ -103,30 +102,49 @@ export default {
103
102
  <style>
104
103
  .carousel {
105
104
  position: relative;
105
+ padding-bottom: 7rem;
106
+ }
107
+
108
+ .carousel-inner {
109
+ overflow: visible;
110
+ }
111
+
112
+ .carousel-indicators {
113
+ padding-bottom: 3rem;
114
+ float: right;
115
+ right: 2% !important;
116
+ width: 20%;
117
+ justify-content: end;
118
+ margin-left: 80%;
119
+ margin-right: 0;
106
120
  }
107
121
 
108
122
  .carousel-indicators button {
109
123
  width: 10px !important;
110
124
  height: 10px !important;
111
125
  border-radius: 50% !important;
126
+ background-color: black !important;
112
127
  }
113
128
 
114
129
  .carousel-indicators button:focus,
115
130
  .carousel-indicators button:active {
116
131
  outline: none !important;
117
132
  box-shadow: none;
118
- /* background-color: black; */
119
- }
120
133
 
121
- .active {
122
- background-color: black !important;
123
134
  }
124
135
 
125
136
  .carousel-caption {
126
- padding:10px;
127
- font-size:larger;
128
137
  color: black;
129
- background-color: rgba(211, 211, 211, 0.75);
138
+ top: 100%;
139
+ left: 0;
140
+ right: 20%;
141
+ text-align: left;
142
+ text-decoration: underline;
143
+ }
144
+
145
+ .carousel-control-next,
146
+ .carousel-control-prev {
147
+ bottom: 7rem;
130
148
  }
131
149
 
132
150
  .carousel-control-prev:focus,
@@ -138,11 +138,6 @@ even though the component itself is no longer imported. -->
138
138
  }
139
139
 
140
140
  :deep(.wcl-cta) {
141
- @include mq('mm') {
142
- &:first-of-type {
143
- margin-top: 32px;
144
- }
145
- }
146
141
 
147
142
  margin-left: 0 !important;
148
143
 
@@ -45,12 +45,12 @@ export const mockCarouselItems = [
45
45
  favorite: ''
46
46
  },
47
47
  {
48
- content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent in magna tincidunt',
48
+ content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla consectetur ligula ex',
49
49
  image:
50
50
  'https://picsum.photos/1024/480/?image=62',
51
51
  link: '/construction',
52
52
  dateStart: '2024-10-30T09:45:00+11:00',
53
- dateEnd: '2024-11-12T09:45:00+11:00',
53
+ dateEnd: '2025-11-12T09:45:00+11:00',
54
54
  favorite: ''
55
55
  },
56
56
  ]