@pocketprep/ui-kit 3.4.50 → 3.4.52
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 +19 -10
- 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/Forms/CheckboxOption.vue +7 -3
- package/lib/components/Quiz/Question.vue +73 -3
- package/lib/components/Quiz/QuizContainer.vue +15 -1
- package/package.json +1 -1
|
@@ -12842,10 +12842,16 @@ function Td(e, i, s, o, t, n) {
|
|
|
12842
12842
|
"is-dark-mode": e.isDarkMode,
|
|
12843
12843
|
"has-label": !0
|
|
12844
12844
|
}, null, 8, ["modelValue", "disabled", "is-dark-mode"]),
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12845
|
+
De(e.$slots, "label", {}, () => [
|
|
12846
|
+
oe("label", {
|
|
12847
|
+
id: e.checkboxId,
|
|
12848
|
+
class: "uikit-checkbox-option__label"
|
|
12849
|
+
}, [
|
|
12850
|
+
De(e.$slots, "labelContent", {}, () => [
|
|
12851
|
+
xe(ye(e.label), 1)
|
|
12852
|
+
])
|
|
12853
|
+
], 8, Sd)
|
|
12854
|
+
])
|
|
12849
12855
|
], 42, Rd)), [
|
|
12850
12856
|
[Y, e.isDarkMode]
|
|
12851
12857
|
]) : be("", !0);
|
|
@@ -19446,10 +19452,12 @@ let ze = class extends we {
|
|
|
19446
19452
|
keywordClick(s) {
|
|
19447
19453
|
const o = s.target;
|
|
19448
19454
|
if (o.classList.contains("keyword-highlight")) {
|
|
19449
|
-
const t = o.innerHTML, n = o.getAttribute("data-location");
|
|
19455
|
+
const t = o.innerHTML, n = o.getAttribute("data-location"), r = { x: s.clientX, y: s.clientY };
|
|
19450
19456
|
return {
|
|
19451
19457
|
keyword: t,
|
|
19452
|
-
location: n
|
|
19458
|
+
location: n,
|
|
19459
|
+
clickLocation: r,
|
|
19460
|
+
target: o
|
|
19453
19461
|
};
|
|
19454
19462
|
}
|
|
19455
19463
|
}
|
|
@@ -20219,11 +20227,11 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20219
20227
|
const r = Oe("breakpoint"), Y = Oe("dark");
|
|
20220
20228
|
return le((U(), te("div", Fg, [
|
|
20221
20229
|
le((U(), te("div", {
|
|
20222
|
-
class: "uikit-quiz-container__header",
|
|
20230
|
+
class: Le(["uikit-quiz-container__header", { "uikit-quiz-container__header--dark": e.isDarkMode }]),
|
|
20223
20231
|
style: Ke(e.customHeaderStyles)
|
|
20224
20232
|
}, [
|
|
20225
20233
|
De(e.$slots, "header")
|
|
20226
|
-
],
|
|
20234
|
+
], 6)), [
|
|
20227
20235
|
[r, void 0, "quizContainerEl"]
|
|
20228
20236
|
]),
|
|
20229
20237
|
oe("div", {
|
|
@@ -20231,6 +20239,7 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20231
20239
|
style: Ke(e.customMainStyles)
|
|
20232
20240
|
}, [
|
|
20233
20241
|
e.showSide ? le((U(), te("div", zg, [
|
|
20242
|
+
De(e.$slots, "definition"),
|
|
20234
20243
|
De(e.$slots, "side")
|
|
20235
20244
|
])), [
|
|
20236
20245
|
[r, void 0, "quizContainerEl"],
|
|
@@ -20248,11 +20257,11 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20248
20257
|
])
|
|
20249
20258
|
], 4),
|
|
20250
20259
|
le((U(), te("div", {
|
|
20251
|
-
class: "uikit-quiz-container__footer",
|
|
20260
|
+
class: Le(["uikit-quiz-container__footer", { "uikit-quiz-container__footer--dark": e.isDarkMode }]),
|
|
20252
20261
|
style: Ke(e.customFooterStyles)
|
|
20253
20262
|
}, [
|
|
20254
20263
|
De(e.$slots, "footer")
|
|
20255
|
-
],
|
|
20264
|
+
], 6)), [
|
|
20256
20265
|
[r, void 0, "quizContainerEl"]
|
|
20257
20266
|
])
|
|
20258
20267
|
])), [
|