@pocketprep/ui-kit 3.4.81 → 3.4.82
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 +191 -183
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +4 -4
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Quiz/Question/ChoicesContainer.vue +9 -0
- package/lib/components/Quiz/Question/MobileMatrixChoicesContainer.vue +8 -0
- package/package.json +1 -1
|
@@ -107,6 +107,11 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
<div
|
|
109
109
|
class="uikit-question-choices-container__choice-text"
|
|
110
|
+
:class="{
|
|
111
|
+
'uikit-question-choices-container__choice-text--review-mode':
|
|
112
|
+
reviewMode,
|
|
113
|
+
}"
|
|
114
|
+
v-breakpoint:questionEl="breakpoints"
|
|
110
115
|
:tabindex="showAnswers ? -1 : 0"
|
|
111
116
|
:role="isMCR
|
|
112
117
|
? 'checkbox'
|
|
@@ -741,6 +746,10 @@ export default class ChoicesContainer extends Vue {
|
|
|
741
746
|
|
|
742
747
|
&__choice-text {
|
|
743
748
|
outline: none;
|
|
749
|
+
|
|
750
|
+
&--review-mode#{&}--mobile {
|
|
751
|
+
max-width: 285px;
|
|
752
|
+
}
|
|
744
753
|
}
|
|
745
754
|
|
|
746
755
|
&__toggle-explanation {
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
/>
|
|
47
47
|
<div
|
|
48
48
|
class="uikit-question-mobile-matrix-choices-container__row-label"
|
|
49
|
+
:class="{
|
|
50
|
+
'uikit-question-mobile-matrix-choices-container__row-label--review-mode':
|
|
51
|
+
showMatrixAnswers || reviewMode,
|
|
52
|
+
}"
|
|
49
53
|
v-dark="isDarkMode"
|
|
50
54
|
>
|
|
51
55
|
{{ stripHtmlTags(rowLabel) }}
|
|
@@ -663,6 +667,10 @@ export default class MobileMatrixChoicesContainer extends Vue {
|
|
|
663
667
|
&--dark {
|
|
664
668
|
color: $barely-background;
|
|
665
669
|
}
|
|
670
|
+
|
|
671
|
+
&--review-mode {
|
|
672
|
+
width: 285px;
|
|
673
|
+
}
|
|
666
674
|
}
|
|
667
675
|
|
|
668
676
|
&__toggle-row-icon {
|