eat-js-sdk 0.0.16 → 0.0.17

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.
@@ -1644,6 +1644,7 @@
1644
1644
  c() {
1645
1645
  span = element("span");
1646
1646
  if_block.c();
1647
+ attr(span, "aria-hidden", "true");
1647
1648
  attr(span, "class", span_class_value = /*isResultCorrect*/
1648
1649
  (ctx[2] ? "text-green-800" : "text-red-800") + " p-0.5");
1649
1650
  },
@@ -1810,13 +1811,13 @@
1810
1811
  attr(span1, "class", "grow flex items-center");
1811
1812
  attr(button, "aria-label", button_aria_label_value = `${/*selectedOption*/
1812
1813
  ctx[3] === /*option*/
1813
- ctx[17].id ? `Selected option ${useMCQ_default(
1814
- /*index*/
1815
- ctx[19]
1816
- )} ${!/*isFinished*/
1814
+ ctx[17].id ? `${!/*isFinished*/
1817
1815
  ctx[1] ? "" : (
1818
1816
  /*isResultCorrect*/
1819
- ctx[2] ? "(correct)" : "(incorrect)"
1817
+ ctx[2] ? "(Correct)" : "(Incorrect)"
1818
+ )} Selected option ${useMCQ_default(
1819
+ /*index*/
1820
+ ctx[19]
1820
1821
  )}` : `Option ${useMCQ_default(
1821
1822
  /*index*/
1822
1823
  ctx[19]
@@ -1902,13 +1903,13 @@
1902
1903
  if (!current || dirty & /*selectedOption, isFinished, isResultCorrect*/
1903
1904
  14 && button_aria_label_value !== (button_aria_label_value = `${/*selectedOption*/
1904
1905
  ctx[3] === /*option*/
1905
- ctx[17].id ? `Selected option ${useMCQ_default(
1906
- /*index*/
1907
- ctx[19]
1908
- )} ${!/*isFinished*/
1906
+ ctx[17].id ? `${!/*isFinished*/
1909
1907
  ctx[1] ? "" : (
1910
1908
  /*isResultCorrect*/
1911
- ctx[2] ? "(correct)" : "(incorrect)"
1909
+ ctx[2] ? "(Correct)" : "(Incorrect)"
1910
+ )} Selected option ${useMCQ_default(
1911
+ /*index*/
1912
+ ctx[19]
1912
1913
  )}` : `Option ${useMCQ_default(
1913
1914
  /*index*/
1914
1915
  ctx[19]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Authoring tool frontend SDK",
5
5
  "contributors": [
6
6
  {