@pocketprep/ui-kit 3.4.56 → 3.4.57
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 +18 -2
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +2 -2
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Buttons/Button.vue +45 -2
- package/lib/components/Forms/Radio.vue +2 -59
- package/lib/components/Quiz/Question/ChoicesContainer.vue +4 -1
- package/lib/components/Quiz/Question/DropdownExplanation.vue +1 -0
- package/lib/components/Quiz/Question/Explanation.vue +2 -1
- package/lib/components/Quiz/Question/Summary.vue +1 -0
- package/lib/components/Quiz/Question.vue +9 -0
- package/package.json +1 -1
|
@@ -13068,6 +13068,7 @@ function a7(e, i, s, o, t, n) {
|
|
|
13068
13068
|
}, [
|
|
13069
13069
|
ke(e.$slots, "radioItem", { item: D }, () => [
|
|
13070
13070
|
Pe(r, {
|
|
13071
|
+
class: "uikit-radio__item-btn",
|
|
13071
13072
|
selected: !!(e.modelValue && D.value === e.modelValue.value),
|
|
13072
13073
|
disabled: !!(e.disabled || D.disabled),
|
|
13073
13074
|
isDarkMode: e.isDarkMode,
|
|
@@ -18078,7 +18079,8 @@ function Lp(e, i, s, o, t, n) {
|
|
|
18078
18079
|
oe("div", { innerHTML: e.reference }, null, 8, bp)
|
|
18079
18080
|
])), [
|
|
18080
18081
|
[D, e.isDarkMode]
|
|
18081
|
-
]) : be("", !0)
|
|
18082
|
+
]) : be("", !0),
|
|
18083
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
18082
18084
|
], 2)), [
|
|
18083
18085
|
[T, e.breakpoints, "questionEl"]
|
|
18084
18086
|
]);
|
|
@@ -18390,7 +18392,8 @@ function Wp(e, i, s, o, t, n) {
|
|
|
18390
18392
|
oe("div", { innerHTML: e.reference }, null, 8, Jp)
|
|
18391
18393
|
])), [
|
|
18392
18394
|
[T, e.isDarkMode]
|
|
18393
|
-
]) : be("", !0)
|
|
18395
|
+
]) : be("", !0),
|
|
18396
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
18394
18397
|
])), [
|
|
18395
18398
|
[D, e.breakpoints, "questionEl"]
|
|
18396
18399
|
]) : be("", !0),
|
|
@@ -18761,6 +18764,9 @@ function tg(e, i, s, o, t, n) {
|
|
|
18761
18764
|
explanationTopExperiment: Te(() => [
|
|
18762
18765
|
ke(e.$slots, "explanationTopExperiment")
|
|
18763
18766
|
]),
|
|
18767
|
+
explanationBottomExperiment: Te(() => [
|
|
18768
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
18769
|
+
]),
|
|
18764
18770
|
_: 2
|
|
18765
18771
|
}, 1032, ["question", "answer-keys", "choice", "global-metrics", "show-answers", "is-MCR", "show-explanation-image-long-alt", "explanation-image-url", "explanation-image-alt", "explanation-image-long-alt", "reference", "hide-references", "is-dark-mode", "question-el", "breakpoints", "keyword-definitions", "onToggleDropdownExplanationImageLongAlt", "onClick"])) : be("", !0)
|
|
18766
18772
|
], 2)), [
|
|
@@ -19111,6 +19117,7 @@ function Dg(e, i, s, o, t, n) {
|
|
|
19111
19117
|
])), [
|
|
19112
19118
|
[D, e.isDarkMode]
|
|
19113
19119
|
]) : be("", !0),
|
|
19120
|
+
ke(e.$slots, "explanationBottomExperiment"),
|
|
19114
19121
|
e.reviewMode ? be("", !0) : re((N(), V("div", {
|
|
19115
19122
|
key: 4,
|
|
19116
19123
|
class: "uikit-question-explanation__explanation-close",
|
|
@@ -21089,6 +21096,9 @@ function kf(e, i, s, o, t, n) {
|
|
|
21089
21096
|
}) => [
|
|
21090
21097
|
ke(e.$slots, "showNamesTable", { choiceKey: L })
|
|
21091
21098
|
]),
|
|
21099
|
+
explanationBottomExperiment: Te(() => [
|
|
21100
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
21101
|
+
]),
|
|
21092
21102
|
_: 3
|
|
21093
21103
|
}, 8, ["question", "choices", "show-answers", "show-explanation", "is-MCR", "is-unanswered", "answer-keys", "hover-choice-key", "focus-choice-key", "selected-choices", "distractor-keys", "choice-strikes", "choice-scores", "passage-image-url", "is-correct", "global-metrics", "reviewMode", "show-explanation-image-long-alt", "explanation-image-url", "explanation-image-alt", "explanation-image-long-alt", "reference", "hide-references", "is-dark-mode", "question-el", "breakpoints", "keyword-definitions", "onEmitChoiceMouseOver", "onEmitChoiceMouseLeave", "onEmitChoiceFocusIn", "onEmitChoiceFocusOut", "onEmitHandleTouchStart", "onEmitHandleTouchMove", "onEmitHandleTouchEnd", "onEmitSelectedChoice", "onEmitClickChoiceStrike", "onToggleChoiceExplanation", "onToggleDropdownExplanationImageLongAlt", "onClick"])) : be("", !0),
|
|
21094
21104
|
e.question.type === "Matrix Checkbox" || e.question.type === "Matrix Radio Button" ? re((N(), ve(I, {
|
|
@@ -21200,6 +21210,9 @@ function kf(e, i, s, o, t, n) {
|
|
|
21200
21210
|
explanationTopExperiment: Te(() => [
|
|
21201
21211
|
ke(e.$slots, "explanationTopExperiment")
|
|
21202
21212
|
]),
|
|
21213
|
+
explanationBottomExperiment: Te(() => [
|
|
21214
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
21215
|
+
]),
|
|
21203
21216
|
_: 3
|
|
21204
21217
|
}, 8, ["question", "show-explanation", "show-explanation-image-long-alt", "explanation-image-url", "explanation-image-alt", "explanation-image-long-alt", "reference", "hide-references", "is-correct", "is-matrix-question-correct", "is-matrix-question", "is-unanswered", "review-mode", "is-dark-mode", "question-el", "breakpoints", "keyword-definitions", "onClick", "onToggleSummaryExplanation", "onToggleSummaryExplanationImageLongAlt"])) : be("", !0),
|
|
21205
21218
|
ke(e.$slots, "metricsTiles", {}, () => [
|
|
@@ -21341,6 +21354,9 @@ function kf(e, i, s, o, t, n) {
|
|
|
21341
21354
|
explanationTopExperiment: Te(() => [
|
|
21342
21355
|
ke(e.$slots, "explanationTopExperiment")
|
|
21343
21356
|
]),
|
|
21357
|
+
explanationBottomExperiment: Te(() => [
|
|
21358
|
+
ke(e.$slots, "explanationBottomExperiment")
|
|
21359
|
+
]),
|
|
21344
21360
|
_: 3
|
|
21345
21361
|
}, 8, ["question", "show-explanation", "show-paywall", "review-mode", "show-explanation-image-long-alt", "explanation-image-url", "explanation-image-alt", "explanation-image-long-alt", "reference", "hide-references", "is-dark-mode", "question-el", "breakpoints", "keyword-definitions", "onToggleExplanationImageLongAlt", "onToggleExplanation", "onClick"])
|
|
21346
21362
|
], 2)), [
|