@worksafevictoria/wcl7.5 1.1.0-beta.46 → 1.1.0-beta.48
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 +1 -1
- package/src/components/Global/AppFooter/index.vue +1 -1
- package/src/components/Global/AppHeader/index.vue +0 -1
- package/src/components/Global/HeroHeader/index.vue +2 -2
- package/src/components/Paragraphs/Accordion/AccordionItem/index.vue +6 -2
- package/src/components/Paragraphs/ListGroup/index.vue +3 -1
- package/src/components/SubComponents/ResourceGroup/index.vue +6 -2
- package/src/includes/scss/mixins/src/grid.scss +4 -2
package/package.json
CHANGED
|
@@ -281,7 +281,7 @@ export default {
|
|
|
281
281
|
// }
|
|
282
282
|
},
|
|
283
283
|
mounted() {
|
|
284
|
-
if (this.$bus
|
|
284
|
+
if (this.$bus) {
|
|
285
285
|
this.$bus.$on('scrollToTop', () => {
|
|
286
286
|
setTimeout(() => {
|
|
287
287
|
const title = this.$refs.title
|
|
@@ -294,7 +294,7 @@ export default {
|
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
beforeDestroy() {
|
|
297
|
-
if (this.$bus
|
|
297
|
+
if (this.$bus) {
|
|
298
298
|
this.$bus.$off('scrollToTop')
|
|
299
299
|
}
|
|
300
300
|
},
|
|
@@ -122,9 +122,13 @@ export default {
|
|
|
122
122
|
toggleAccordion() {
|
|
123
123
|
this.showAccordion = !this.showAccordion
|
|
124
124
|
if (this.showAccordion) {
|
|
125
|
-
this.$bus
|
|
125
|
+
if (this.$bus) {
|
|
126
|
+
this.$bus.$emit('accordionItemOpen', this.meta) // this.$root.$emit('accordionItemOpen', this.meta)
|
|
127
|
+
}
|
|
126
128
|
} else {
|
|
127
|
-
this.$bus
|
|
129
|
+
if (this.$bus) {
|
|
130
|
+
this.$bus.$emit('accordionItemClose', this.meta) // this.$root.$emit('accordionItemClose', this.meta)
|
|
131
|
+
}
|
|
128
132
|
}
|
|
129
133
|
},
|
|
130
134
|
},
|
|
@@ -198,7 +198,9 @@ export default {
|
|
|
198
198
|
nextTabbedCard[0].focus()
|
|
199
199
|
} else {
|
|
200
200
|
let nextFocus = this.focusNextElement()
|
|
201
|
-
this.$
|
|
201
|
+
if (this.$bus) {
|
|
202
|
+
this.$bus.$emit('last-focus-out')
|
|
203
|
+
}
|
|
202
204
|
nextFocus.focus()
|
|
203
205
|
}
|
|
204
206
|
} else {
|
|
@@ -442,7 +442,9 @@ export default {
|
|
|
442
442
|
if (!isGovSite(card?.selectedCard?.link)) {
|
|
443
443
|
// this.$store.commit('page/SET_CARETAKER_REF', 'list-group')
|
|
444
444
|
// this.$root.$emit('caretaker-open', card?.selectedCard?.link)
|
|
445
|
-
if (this.$pageStore)
|
|
445
|
+
if (this.$pageStore) {
|
|
446
|
+
this.$pageStore.caretaker.referrer = 'list-group'
|
|
447
|
+
}
|
|
446
448
|
if (this.$bus) {
|
|
447
449
|
this.$bus.$emit('caretaker-open', card?.selectedCard?.link)
|
|
448
450
|
}
|
|
@@ -498,7 +500,9 @@ export default {
|
|
|
498
500
|
nextTabbedCard[0].focus()
|
|
499
501
|
} else {
|
|
500
502
|
let nextFocus = this.focusNextElement()
|
|
501
|
-
this.$
|
|
503
|
+
if (this.$bus) {
|
|
504
|
+
this.$bus.$emit('last-focus-out')
|
|
505
|
+
}
|
|
502
506
|
nextFocus.focus()
|
|
503
507
|
}
|
|
504
508
|
} else {
|
|
@@ -7,14 +7,16 @@ $grid-breakpoints: (
|
|
|
7
7
|
sm: 576px,
|
|
8
8
|
md: 768px,
|
|
9
9
|
lg: 992px,
|
|
10
|
-
xl: 1200px
|
|
10
|
+
xl: 1200px,
|
|
11
|
+
xxl: 1400px
|
|
11
12
|
);
|
|
12
13
|
|
|
13
14
|
$container-max-widths: (
|
|
14
15
|
sm: 540px,
|
|
15
16
|
md: 720px,
|
|
16
17
|
lg: 960px,
|
|
17
|
-
xl: 1140px
|
|
18
|
+
xl: 1140px,
|
|
19
|
+
xxl: 1320px
|
|
18
20
|
);
|
|
19
21
|
|
|
20
22
|
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|