@worksafevictoria/wcl7.5 1.19.0-beta.6 → 1.19.0-beta.7
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
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
:icon-is-bordered="iconIsBordered"
|
|
29
29
|
:card-text-align="cardTextAlign"
|
|
30
30
|
:is-selectable="isSelectable"
|
|
31
|
+
:iconSize="iconSize"
|
|
31
32
|
>
|
|
32
33
|
<template #cardTop>
|
|
33
34
|
<card-top
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
|
|
66
67
|
<!-- Reusable modal lives here now -->
|
|
67
68
|
<BModal
|
|
68
|
-
v-if="showModalOnButtonRole"
|
|
69
69
|
v-model="showModal"
|
|
70
70
|
:size="modalSize"
|
|
71
71
|
:no-footer="noModalFooter"
|
|
@@ -82,7 +82,9 @@
|
|
|
82
82
|
|
|
83
83
|
<slot name="modalBody" :card="modalCard">
|
|
84
84
|
<div class="card-body">
|
|
85
|
-
<p v-if="modalCard.value" class="card-value">
|
|
85
|
+
<p v-if="modalCard.value" class="card-value">
|
|
86
|
+
{{ modalCard.value }}
|
|
87
|
+
</p>
|
|
86
88
|
<div
|
|
87
89
|
v-if="modalCard.description"
|
|
88
90
|
class="card-description"
|
|
@@ -120,6 +122,7 @@ export default {
|
|
|
120
122
|
headingTag: { type: String, default: 'h2' },
|
|
121
123
|
subHeading: { type: String, default: null },
|
|
122
124
|
iconIsBordered: { type: Boolean, default: true },
|
|
125
|
+
iconSize: { type: String, default: 'small' },
|
|
123
126
|
isSelectable: { type: Boolean, default: true },
|
|
124
127
|
columns: { type: Number, default: 4 },
|
|
125
128
|
cardType: { type: String, default: null },
|
|
@@ -178,7 +181,7 @@ export default {
|
|
|
178
181
|
// Receive raw card from <card-top> and bubble it up as raw object
|
|
179
182
|
this.$emit('selected-button-role', card)
|
|
180
183
|
|
|
181
|
-
//
|
|
184
|
+
// Open the reusable modal here
|
|
182
185
|
if (this.showModalOnButtonRole) {
|
|
183
186
|
this.modalCard = card
|
|
184
187
|
this.showModal = true
|