eat-js-sdk 2.4.0 → 2.4.1
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.
|
@@ -10956,7 +10956,7 @@ function AnswerDisplay($$anchor, $$props) {
|
|
|
10956
10956
|
action$1(textarea, ($$node) => action?.($$node));
|
|
10957
10957
|
template_effect(() => {
|
|
10958
10958
|
set_attribute(textarea, "aria-label", get$1(ariaLabel));
|
|
10959
|
-
set_class(textarea, 1, get$1(textareaClasses));
|
|
10959
|
+
set_class(textarea, 1, `${type() === "student" ? "ans-sum-stud-txb" : "ans-sum-corr-txb"} ${get$1(textareaClasses) ?? ""}`);
|
|
10960
10960
|
set_attribute(textarea, "data-testid", type() === "student" ? "ans-sum-stud-txb" : "ans-sum-corr-txb");
|
|
10961
10961
|
set_attribute(textarea, "id", `${type() ?? ""}-${comparison().id ?? ""}-${questionNumber() - 1}`);
|
|
10962
10962
|
set_value(textarea, get$1(displayAnswer));
|
|
@@ -20061,7 +20061,7 @@ var root_43 = /* @__PURE__ */ from_html(`<span class="sr-only">Missing answer</s
|
|
|
20061
20061
|
var root_44 = /* @__PURE__ */ from_html(`<span class="segment-trailing-punct" aria-hidden="true"><!></span>`);
|
|
20062
20062
|
var root_31 = /* @__PURE__ */ from_html(`<span role="button"><!><span class="selectable-segment-text"><!></span><!><!><!></span><!>`, 1);
|
|
20063
20063
|
var root_28 = /* @__PURE__ */ from_html(`<span></span>`);
|
|
20064
|
-
var root = /* @__PURE__ */ from_html(`<main class="selectable-text-passage" aria-describedby="passage-reader" data-testid="select-passage-ctr"><span id="passage-reader" class="sr-only"> </span> <div><!></div></main>`);
|
|
20064
|
+
var root = /* @__PURE__ */ from_html(`<main id="main-content" class="selectable-text-passage" aria-describedby="passage-reader" data-testid="select-passage-ctr"><span id="passage-reader" class="sr-only"> </span> <div><!></div></main>`);
|
|
20065
20065
|
function SelectableTextInteractionContent($$anchor, $$props) {
|
|
20066
20066
|
push($$props, true);
|
|
20067
20067
|
let config = prop($$props, "config", 7), interactionState = prop($$props, "state", 7), isDataSaving = prop($$props, "isDataSaving", 7, false), contentfulSegmentIds = prop($$props, "contentfulSegmentIds", 23, () => []), onselection = prop($$props, "onselection", 7);
|