@pocketprep/ui-kit 3.9.7 → 3.9.8
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/dist/@pocketprep/ui-kit.js +1591 -1576
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +9 -9
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/lib/components/Quiz/Question/ChoicesContainer.vue +3 -0
- package/lib/components/Quiz/Question/DropdownExplanation.vue +8 -0
- package/lib/components/Quiz/Question.vue +3 -0
- package/package.json +1 -1
|
@@ -168,6 +168,9 @@
|
|
|
168
168
|
<template #explanationBottomExperiment>
|
|
169
169
|
<slot name="explanationBottomExperiment" />
|
|
170
170
|
</template>
|
|
171
|
+
<template #tutorChatExplanationPrompts>
|
|
172
|
+
<slot name="tutorChatExplanationPrompts" />
|
|
173
|
+
</template>
|
|
171
174
|
</DropdownExplanation>
|
|
172
175
|
</div>
|
|
173
176
|
<template v-if="!globalMetrics">
|
|
@@ -58,6 +58,13 @@
|
|
|
58
58
|
tabindex="-1"
|
|
59
59
|
v-html="explanationImageLongAlt"
|
|
60
60
|
/>
|
|
61
|
+
<div
|
|
62
|
+
v-if="showTutorChatExplanationPrompts"
|
|
63
|
+
v-dark="isDarkMode"
|
|
64
|
+
class="uikit-question-dropdown-explanation__tutor-chat-prompts"
|
|
65
|
+
>
|
|
66
|
+
<slot name="tutorChatExplanationPrompts" />
|
|
67
|
+
</div>
|
|
61
68
|
<div
|
|
62
69
|
v-if="reference && !hideReferences"
|
|
63
70
|
v-dark="isDarkMode"
|
|
@@ -98,6 +105,7 @@ const {
|
|
|
98
105
|
breakpointsWithEl,
|
|
99
106
|
keywordDefinitions,
|
|
100
107
|
showRightSideBar,
|
|
108
|
+
showTutorChatExplanationPrompts,
|
|
101
109
|
} = useQuestionContext()
|
|
102
110
|
|
|
103
111
|
const explanation = computed(() => {
|
|
@@ -213,6 +213,9 @@
|
|
|
213
213
|
<template #explanationBottomExperiment>
|
|
214
214
|
<slot name="explanationBottomExperiment" />
|
|
215
215
|
</template>
|
|
216
|
+
<template #tutorChatExplanationPrompts>
|
|
217
|
+
<slot name="tutorChatExplanationPrompts" />
|
|
218
|
+
</template>
|
|
216
219
|
</ChoicesContainer>
|
|
217
220
|
<MatrixChoicesContainer
|
|
218
221
|
v-if="question.type === 'Matrix Checkbox' || question.type === 'Matrix Radio Button'"
|