project-booster-vue 10.24.3 → 10.24.5
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
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
v-if="title"
|
|
36
36
|
v-html="title"
|
|
37
37
|
class="pb-card__title row-flex"
|
|
38
|
-
:class="{ 'pb-card__title--disabled': disabled }"
|
|
38
|
+
:class="{ 'pb-card__title--disabled': disabled, 'pb-card__title__selectable': selectable }"
|
|
39
39
|
:style="`text-align: ${alignText}`"
|
|
40
40
|
/>
|
|
41
41
|
<div v-if="text" v-html="text" class="pb-card__text" :style="`text-align: ${alignText}`" />
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
|
-
<m-pb-card-selection-indicator :selectable="selectable"
|
|
94
|
+
<m-pb-card-selection-indicator :selectable="selectable" :selected="selected" />
|
|
95
95
|
<m-pb-card-type-indicator v-if="typeIcon && image" :type-icon="typeIcon" />
|
|
96
96
|
</div>
|
|
97
97
|
</div>
|
|
@@ -514,6 +514,10 @@ $responsive-breakpoint: 's';
|
|
|
514
514
|
color: $color-grey-800;
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
+
|
|
518
|
+
&__selectable {
|
|
519
|
+
margin-right: $mu400;
|
|
520
|
+
}
|
|
517
521
|
}
|
|
518
522
|
|
|
519
523
|
&__text {
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
<m-button
|
|
263
263
|
v-for="button in skippables"
|
|
264
264
|
:key="button?.label"
|
|
265
|
-
class="pb-question__actions-buttons-button"
|
|
265
|
+
class="pb-question__actions-buttons-button skip-step-cta"
|
|
266
266
|
:label="button?.label"
|
|
267
267
|
:theme="button?.theme ? button?.theme : 'bordered'"
|
|
268
268
|
:icon="button.icon"
|
|
@@ -703,7 +703,7 @@ const validMultiSelect = (multiSelectOptions: ScenarioStepMultiSelectAction | un
|
|
|
703
703
|
const skipQuestion = (button: ScenarioStepSkippableOptions | undefined) => {
|
|
704
704
|
initAnswersSelectedState(props.payload.answers);
|
|
705
705
|
$emit(props.completedEventName, {
|
|
706
|
-
answers: button?.isAnswer ? (button.defaultAnswer ? [button.defaultAnswer] : []) :
|
|
706
|
+
answers: button?.isAnswer ? (button.defaultAnswer ? [button.defaultAnswer] : []) : [],
|
|
707
707
|
nextStep: button?.nextStep,
|
|
708
708
|
});
|
|
709
709
|
};
|