@cuemath/leap 3.2.15-link.1 → 3.2.16-as1

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.
Files changed (222) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -6
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/hint-fill.js +35 -0
  4. package/dist/assets/line-icons/icons/hint-fill.js.map +1 -0
  5. package/dist/assets/lottie/lottie.js +1 -11
  6. package/dist/assets/lottie/lottie.js.map +1 -1
  7. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +13 -18
  8. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  9. package/dist/features/auth/comps/resend-otp/resend-otp.js +47 -54
  10. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  11. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +17 -29
  12. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  13. package/dist/features/auth/comps/tabs/tabs-styled.js +10 -22
  14. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  15. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  16. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  17. package/dist/features/chapters-v2/utils/node-card-utils.js +7 -7
  18. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
  19. package/dist/features/journey/comps/coachmark/coachmark.js +29 -28
  20. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  21. package/dist/features/journey/journey-id/journey-id-student.js +2 -2
  22. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  23. package/dist/features/journey/use-journey/journey-context-provider.js +73 -72
  24. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  25. package/dist/features/journey/use-journey/journey-styled.js +6 -4
  26. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  27. package/dist/features/puzzles/app/puzzle-app-styled.js +81 -0
  28. package/dist/features/puzzles/app/puzzle-app-styled.js.map +1 -0
  29. package/dist/features/puzzles/app/puzzle-app-view.js +120 -0
  30. package/dist/features/puzzles/app/puzzle-app-view.js.map +1 -0
  31. package/dist/features/puzzles/app/puzzle-app.js +82 -0
  32. package/dist/features/puzzles/app/puzzle-app.js.map +1 -0
  33. package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +50 -7
  34. package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js.map +1 -1
  35. package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +69 -15
  36. package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
  37. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +6 -0
  38. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +1 -0
  39. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +12 -60
  40. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
  41. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +72 -77
  42. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  43. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +63 -0
  44. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -0
  45. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +21 -0
  46. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -0
  47. package/dist/features/ui/image/image.js +1 -1
  48. package/dist/features/ui/image/image.js.map +1 -1
  49. package/dist/features/ui/inputs/base-input/base-input.js +11 -11
  50. package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
  51. package/dist/features/ui/inputs/base-select-input/base-select-input.js +57 -55
  52. package/dist/features/ui/inputs/base-select-input/base-select-input.js.map +1 -1
  53. package/dist/features/ui/inputs/checkbox-input/checkbox-input.js +21 -21
  54. package/dist/features/ui/inputs/checkbox-input/checkbox-input.js.map +1 -1
  55. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +5 -5
  56. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
  57. package/dist/features/ui/inputs/text-input/text-input.js +18 -19
  58. package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
  59. package/dist/features/ui/modals/modal-styled.js +8 -43
  60. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  61. package/dist/features/ui/modals/modal.js +27 -37
  62. package/dist/features/ui/modals/modal.js.map +1 -1
  63. package/dist/features/ui/nudge/nudge-styled.js +14 -7
  64. package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
  65. package/dist/features/ui/nudge/nudge.js +13 -12
  66. package/dist/features/ui/nudge/nudge.js.map +1 -1
  67. package/dist/features/ui/text/text.js +29 -31
  68. package/dist/features/ui/text/text.js.map +1 -1
  69. package/dist/features/ui/theme/button.js +78 -78
  70. package/dist/features/ui/theme/button.js.map +1 -1
  71. package/dist/features/worksheet/worksheet/mocks/activity.js +6 -0
  72. package/dist/features/worksheet/worksheet/mocks/activity.js.map +1 -0
  73. package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js +38 -0
  74. package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js.map +1 -0
  75. package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js +38 -0
  76. package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js.map +1 -0
  77. package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js +38 -0
  78. package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js.map +1 -0
  79. package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js +38 -0
  80. package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js.map +1 -0
  81. package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js +38 -0
  82. package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js.map +1 -0
  83. package/dist/features/worksheet/worksheet/mocks/behaviors/index.js +95 -0
  84. package/dist/features/worksheet/worksheet/mocks/behaviors/index.js.map +1 -0
  85. package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js +38 -0
  86. package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js.map +1 -0
  87. package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js +38 -0
  88. package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js.map +1 -0
  89. package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js +38 -0
  90. package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js.map +1 -0
  91. package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js +38 -0
  92. package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js.map +1 -0
  93. package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js +38 -0
  94. package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js.map +1 -0
  95. package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js +41 -0
  96. package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js.map +1 -0
  97. package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js +38 -0
  98. package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js.map +1 -0
  99. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js +39 -0
  100. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js.map +1 -0
  101. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js +39 -0
  102. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js.map +1 -0
  103. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js +39 -0
  104. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js.map +1 -0
  105. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js +39 -0
  106. package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js.map +1 -0
  107. package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js +39 -0
  108. package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js.map +1 -0
  109. package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js +39 -0
  110. package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js.map +1 -0
  111. package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js +38 -0
  112. package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js.map +1 -0
  113. package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js +38 -0
  114. package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js.map +1 -0
  115. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js +38 -0
  116. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js.map +1 -0
  117. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js +38 -0
  118. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js.map +1 -0
  119. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js +39 -0
  120. package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js.map +1 -0
  121. package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js +38 -0
  122. package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js.map +1 -0
  123. package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js +38 -0
  124. package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js.map +1 -0
  125. package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js +38 -0
  126. package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js.map +1 -0
  127. package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js +38 -0
  128. package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js.map +1 -0
  129. package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js +38 -0
  130. package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js.map +1 -0
  131. package/dist/features/worksheet/worksheet/mocks/signed-requests.js +5 -0
  132. package/dist/features/worksheet/worksheet/mocks/signed-requests.js.map +1 -0
  133. package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js +57 -0
  134. package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js.map +1 -0
  135. package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js +231 -0
  136. package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js.map +1 -0
  137. package/dist/features/worksheet/worksheet/stories/worksheet-student.js +174 -0
  138. package/dist/features/worksheet/worksheet/stories/worksheet-student.js.map +1 -0
  139. package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js +255 -0
  140. package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js.map +1 -0
  141. package/dist/features/worksheet/worksheet/worksheet-helpers.js +32 -31
  142. package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
  143. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +24 -24
  144. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
  145. package/dist/index.d.ts +18 -152
  146. package/dist/index.js +496 -522
  147. package/dist/index.js.map +1 -1
  148. package/dist/static/nudge-tap.0591aef4.json +1 -0
  149. package/dist/types/models/worksheet.js +5 -0
  150. package/dist/types/models/worksheet.js.map +1 -0
  151. package/package.json +3 -2
  152. package/dist/assets/line-icons/icons/after-noon.js +0 -34
  153. package/dist/assets/line-icons/icons/after-noon.js.map +0 -1
  154. package/dist/assets/line-icons/icons/apple-icon-white.js +0 -42
  155. package/dist/assets/line-icons/icons/apple-icon-white.js.map +0 -1
  156. package/dist/assets/line-icons/icons/evening.js +0 -35
  157. package/dist/assets/line-icons/icons/evening.js.map +0 -1
  158. package/dist/assets/line-icons/icons/morning.js +0 -35
  159. package/dist/assets/line-icons/icons/morning.js.map +0 -1
  160. package/dist/assets/line-icons/icons/star3.js +0 -32
  161. package/dist/assets/line-icons/icons/star3.js.map +0 -1
  162. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +0 -9
  163. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +0 -1
  164. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +0 -65
  165. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +0 -1
  166. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +0 -92
  167. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +0 -1
  168. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +0 -12
  169. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +0 -1
  170. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +0 -34
  171. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +0 -1
  172. package/dist/features/auth/comps/otp-input/otp-input-styled.js +0 -22
  173. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +0 -1
  174. package/dist/features/auth/comps/otp-input/otp-input.js +0 -51
  175. package/dist/features/auth/comps/otp-input/otp-input.js.map +0 -1
  176. package/dist/features/auth/comps/pill-button/pill-button-styled.js +0 -44
  177. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +0 -1
  178. package/dist/features/auth/comps/pill-button/pill-button.js +0 -75
  179. package/dist/features/auth/comps/pill-button/pill-button.js.map +0 -1
  180. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +0 -17
  181. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +0 -1
  182. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +0 -67
  183. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +0 -1
  184. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +0 -19
  185. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +0 -1
  186. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +0 -32
  187. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +0 -1
  188. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +0 -44
  189. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +0 -1
  190. package/dist/features/auth/signup-v2/signup-header/signup-header.js +0 -54
  191. package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +0 -1
  192. package/dist/features/auth/signup-v2/signup-options/signup-options.js +0 -83
  193. package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +0 -1
  194. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +0 -49
  195. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +0 -1
  196. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +0 -64
  197. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +0 -1
  198. package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +0 -28
  199. package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +0 -1
  200. package/dist/features/ui/accordion/accordion-items/accordion-items.js +0 -83
  201. package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +0 -1
  202. package/dist/features/ui/accordion/accordion.js +0 -62
  203. package/dist/features/ui/accordion/accordion.js.map +0 -1
  204. package/dist/static/animated-avatar.1ad58b1d.json +0 -1
  205. package/dist/static/animated-avatar.69b07505.json +0 -1
  206. package/dist/static/animated-avatar.9c560b46.json +0 -1
  207. package/dist/static/calendar-purple.1a840b41.svg +0 -1
  208. package/dist/static/flying-disk.c7f6ed39.json +0 -1
  209. package/dist/static/graduation-cap.3be3340a.json +0 -1
  210. package/dist/static/handshake.287e7dfb.svg +0 -1
  211. package/dist/static/light-bulb.c6db0b23.json +0 -1
  212. package/dist/static/money.332aacf1.svg +0 -1
  213. package/dist/static/muscle.9bcfb8a7.json +0 -1
  214. package/dist/static/nudge-tap.5cb30093.json +0 -1057
  215. package/dist/static/parent-avatar.822c7b9b.svg +0 -1
  216. package/dist/static/pencil.23df9da0.json +0 -1
  217. package/dist/static/plus-sign.de6af957.json +0 -1
  218. package/dist/static/racing-car.2cbf864e.json +0 -1
  219. package/dist/static/rocket.0a3ccab0.json +0 -1
  220. package/dist/static/shovel.abeec04c.json +0 -1
  221. package/dist/static/stripe-blurple.6abf422f.svg +0 -1
  222. package/dist/static/trustpilot.bd3d79e1.svg +0 -1
@@ -1,21 +1,21 @@
1
- import { jsx as v } from "react/jsx-runtime";
2
- import { memo as R, useRef as E, useCallback as A, useEffect as m } from "react";
1
+ import { jsx as L } from "react/jsx-runtime";
2
+ import { memo as M, useRef as y, useCallback as R, useEffect as m } from "react";
3
3
  import g from "../hooks/use-learnosity-append.js";
4
- import { LearnosityQuestionContainer as b } from "./worksheet-question-styled.js";
5
- const N = R(
4
+ import { LearnosityQuestionContainer as O } from "./worksheet-question-styled.js";
5
+ const Q = ["numberline", "imageclozeassociationV2"], $ = M(
6
6
  ({
7
- signedRequest: S,
7
+ signedRequest: v,
8
8
  appended: o,
9
9
  canRender: I,
10
10
  canForceAppend: a,
11
11
  question: t,
12
12
  response: s,
13
- learnosity: w,
14
- isConceptIntro: M,
13
+ learnosity: _,
14
+ isConceptIntro: A,
15
15
  simState: c,
16
- onMediaStateChange: _
16
+ onMediaStateChange: w
17
17
  }) => {
18
- const l = E(null), n = E(s), { forceAppend: p } = g(S), d = A(
18
+ const l = y(null), n = y(s), { forceAppend: p } = g(v), d = R(
19
19
  (e) => {
20
20
  const { source: r, data: i } = e, { type: u } = i ?? {};
21
21
  u === "SIM_IS_READY" ? r.postMessage(
@@ -27,10 +27,10 @@ const N = R(
27
27
  }
28
28
  },
29
29
  "*"
30
- ) : u === "SIM_STATE_UPDATE" && _(t, "SIMULATION", e.data.payload);
30
+ ) : u === "SIM_STATE_UPDATE" && w(t, "SIMULATION", e.data.payload);
31
31
  },
32
- [a, c, _, t]
33
- ), y = A(
32
+ [a, c, w, t]
33
+ ), E = R(
34
34
  (e) => {
35
35
  window.requestAnimationFrame(() => {
36
36
  var i, u, T;
@@ -40,20 +40,20 @@ const N = R(
40
40
  }), (T = l.current) == null || T.append(r), p({
41
41
  question: t,
42
42
  response: e,
43
- removeOldElements: t.type === "numberline" ? "before" : "after",
43
+ removeOldElements: Q.includes(t.type) ? "before" : "after",
44
44
  callback: (f) => {
45
- f || (n.current && n.current !== e ? y(n.current) : n.current = void 0);
45
+ f || (n.current && n.current !== e ? E(n.current) : n.current = void 0);
46
46
  }
47
47
  });
48
48
  });
49
49
  },
50
50
  [p, t]
51
- ), L = E(!1);
51
+ ), S = y(!1);
52
52
  return m(() => {
53
53
  let e;
54
- return I && (L.current || (e = window.requestAnimationFrame(() => {
54
+ return I && (S.current || (e = window.requestAnimationFrame(() => {
55
55
  const r = n.current ?? s;
56
- L.current = !0, w.appendQuestion({
56
+ S.current = !0, _.appendQuestion({
57
57
  questions: [t],
58
58
  ...r ? {
59
59
  responses: {
@@ -67,7 +67,7 @@ const N = R(
67
67
  }))), () => {
68
68
  e && window.cancelAnimationFrame(e);
69
69
  };
70
- }, [I, w, t, s]), m(() => {
70
+ }, [I, _, t, s]), m(() => {
71
71
  var e;
72
72
  return o && (n.current = void 0, (e = l.current) != null && e.querySelector("iframe") && window.addEventListener("message", d)), () => {
73
73
  window.removeEventListener("message", d);
@@ -85,19 +85,19 @@ const N = R(
85
85
  ));
86
86
  }
87
87
  }, [o, a, c]), m(() => {
88
- o && s && a && s !== n.current && (n.current ? n.current = s : (n.current = s, y(s)));
89
- }, [o, a, s, y]), /* @__PURE__ */ v(
90
- b,
88
+ o && s && a && s !== n.current && (n.current ? n.current = s : (n.current = s, E(s)));
89
+ }, [o, a, s, E]), /* @__PURE__ */ L(
90
+ O,
91
91
  {
92
92
  ref: l,
93
- $isConceptIntro: M,
93
+ $isConceptIntro: A,
94
94
  $isTeacher: a,
95
- children: /* @__PURE__ */ v("div", { className: `learnosity-response question-${t.response_id}` })
95
+ children: /* @__PURE__ */ L("div", { className: `learnosity-response question-${t.response_id}` })
96
96
  }
97
97
  );
98
98
  }
99
99
  );
100
100
  export {
101
- N as default
101
+ $ as default
102
102
  };
103
103
  //# sourceMappingURL=learnosity-question.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"learnosity-question.js","sources":["../../../../../src/features/worksheet/worksheet/worksheet-question/learnosity-question.tsx"],"sourcesContent":["import type { ILearnosityQuestionResponse } from '../worksheet-types';\nimport type { ILearnosityQuestionProps } from './worksheet-question-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useEffect, useRef } from 'react';\n\nimport useLearnosityAppend from '../hooks/use-learnosity-append';\nimport * as Styled from './worksheet-question-styled';\n\nconst LearnosityQuestion: FC<ILearnosityQuestionProps> = memo(\n ({\n signedRequest,\n appended,\n canRender,\n canForceAppend,\n question,\n response,\n learnosity,\n isConceptIntro,\n simState,\n onMediaStateChange,\n }) => {\n const containerElementRef = useRef<HTMLDivElement>(null);\n const latestQuestionResponseRef = useRef<ILearnosityQuestionResponse | undefined>(response);\n const { forceAppend } = useLearnosityAppend(signedRequest);\n\n const handleSimIframeMessage = useCallback(\n (event: MessageEvent) => {\n const { source, data } = event;\n const { type } = data ?? ({} as { type: string });\n\n if (type === 'SIM_IS_READY') {\n (source as Window).postMessage(\n {\n type: 'SIMULATION_CONFIG',\n payload: {\n userRole: canForceAppend ? 'teacher' : 'student',\n simulationState: simState,\n },\n },\n '*',\n );\n } else if (type === 'SIM_STATE_UPDATE') {\n onMediaStateChange(question, 'SIMULATION', event.data.payload);\n }\n },\n [canForceAppend, simState, onMediaStateChange, question],\n );\n\n const updateResponse = useCallback(\n (newResponse: ILearnosityQuestionResponse) => {\n window.requestAnimationFrame(() => {\n const questionElement = document.createElement('div');\n\n questionElement.classList.add('learnosity-response');\n questionElement.classList.add(`question-${question.response_id}`);\n // Drawing questions looks for already appended path elements with id, if present it will not append the path, to overcome this issue we are adding temp to the id\n containerElementRef.current?.children[0]\n ?.querySelectorAll('.lrn_drawing svg path')\n .forEach(path => {\n path.id = `${path.id} + temp`;\n });\n\n containerElementRef.current?.append(questionElement);\n forceAppend({\n question,\n response: newResponse,\n removeOldElements: question.type === 'numberline' ? 'before' : 'after',\n callback: error => {\n if (error) return;\n\n if (\n latestQuestionResponseRef.current &&\n latestQuestionResponseRef.current !== newResponse\n )\n updateResponse(latestQuestionResponseRef.current);\n else latestQuestionResponseRef.current = undefined;\n },\n });\n });\n },\n [forceAppend, question],\n );\n\n const appendQuestionCalledRef = useRef(false);\n\n useEffect(() => {\n let requestId: number;\n\n if (canRender) {\n if (!appendQuestionCalledRef.current) {\n requestId = window.requestAnimationFrame(() => {\n const appenndableResponse = latestQuestionResponseRef.current ?? response;\n\n appendQuestionCalledRef.current = true;\n learnosity.appendQuestion({\n questions: [question],\n ...(appenndableResponse\n ? {\n responses: {\n [question.response_id]: {\n // Learnosity is mutating the response object, so we need to clone it\n ...appenndableResponse,\n },\n },\n }\n : {}),\n });\n });\n }\n }\n\n return () => {\n if (requestId) window.cancelAnimationFrame(requestId);\n };\n }, [canRender, learnosity, question, response]);\n\n useEffect(() => {\n if (appended) {\n latestQuestionResponseRef.current = undefined;\n\n if (containerElementRef.current?.querySelector('iframe')) {\n window.addEventListener('message', handleSimIframeMessage);\n }\n }\n\n return () => {\n window.removeEventListener('message', handleSimIframeMessage);\n };\n }, [appended, handleSimIframeMessage]);\n\n useEffect(() => {\n if (simState && appended) {\n const simIframe = containerElementRef.current?.querySelector('iframe');\n\n if (simIframe) {\n simIframe.contentWindow?.postMessage(\n {\n type: 'SIM_STATE_UPDATE',\n payload: simState,\n },\n '*',\n );\n }\n }\n }, [appended, canForceAppend, simState]);\n\n useEffect(() => {\n if (appended && response && canForceAppend) {\n if (response !== latestQuestionResponseRef.current) {\n if (!latestQuestionResponseRef.current) {\n latestQuestionResponseRef.current = response;\n updateResponse(response);\n } else {\n latestQuestionResponseRef.current = response;\n }\n }\n }\n }, [appended, canForceAppend, response, updateResponse]);\n\n return (\n <Styled.LearnosityQuestionContainer\n ref={containerElementRef}\n $isConceptIntro={isConceptIntro}\n $isTeacher={canForceAppend}\n >\n <div className={`learnosity-response question-${question.response_id}`} />\n </Styled.LearnosityQuestionContainer>\n );\n },\n);\n\nexport default LearnosityQuestion;\n"],"names":["LearnosityQuestion","memo","signedRequest","appended","canRender","canForceAppend","question","response","learnosity","isConceptIntro","simState","onMediaStateChange","containerElementRef","useRef","latestQuestionResponseRef","forceAppend","useLearnosityAppend","handleSimIframeMessage","useCallback","event","source","data","type","updateResponse","newResponse","questionElement","_b","_a","path","_c","error","appendQuestionCalledRef","useEffect","requestId","appenndableResponse","simIframe","jsx","Styled.LearnosityQuestionContainer"],"mappings":"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"}
1
+ {"version":3,"file":"learnosity-question.js","sources":["../../../../../src/features/worksheet/worksheet/worksheet-question/learnosity-question.tsx"],"sourcesContent":["import type { ILearnosityQuestionResponse } from '../worksheet-types';\nimport type { ILearnosityQuestionProps } from './worksheet-question-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useEffect, useRef } from 'react';\n\nimport useLearnosityAppend from '../hooks/use-learnosity-append';\nimport * as Styled from './worksheet-question-styled';\n\nconst REMOVE_BEFORE_QUESTIONS = ['numberline', 'imageclozeassociationV2'];\n\nconst LearnosityQuestion: FC<ILearnosityQuestionProps> = memo(\n ({\n signedRequest,\n appended,\n canRender,\n canForceAppend,\n question,\n response,\n learnosity,\n isConceptIntro,\n simState,\n onMediaStateChange,\n }) => {\n const containerElementRef = useRef<HTMLDivElement>(null);\n const latestQuestionResponseRef = useRef<ILearnosityQuestionResponse | undefined>(response);\n const { forceAppend } = useLearnosityAppend(signedRequest);\n\n const handleSimIframeMessage = useCallback(\n (event: MessageEvent) => {\n const { source, data } = event;\n const { type } = data ?? ({} as { type: string });\n\n if (type === 'SIM_IS_READY') {\n (source as Window).postMessage(\n {\n type: 'SIMULATION_CONFIG',\n payload: {\n userRole: canForceAppend ? 'teacher' : 'student',\n simulationState: simState,\n },\n },\n '*',\n );\n } else if (type === 'SIM_STATE_UPDATE') {\n onMediaStateChange(question, 'SIMULATION', event.data.payload);\n }\n },\n [canForceAppend, simState, onMediaStateChange, question],\n );\n\n const updateResponse = useCallback(\n (newResponse: ILearnosityQuestionResponse) => {\n window.requestAnimationFrame(() => {\n const questionElement = document.createElement('div');\n\n questionElement.classList.add('learnosity-response');\n questionElement.classList.add(`question-${question.response_id}`);\n // Drawing questions looks for already appended path elements with id, if present it will not append the path, to overcome this issue we are adding temp to the id\n containerElementRef.current?.children[0]\n ?.querySelectorAll('.lrn_drawing svg path')\n .forEach(path => {\n path.id = `${path.id} + temp`;\n });\n\n containerElementRef.current?.append(questionElement);\n forceAppend({\n question,\n response: newResponse,\n removeOldElements: REMOVE_BEFORE_QUESTIONS.includes(question.type) ? 'before' : 'after',\n callback: error => {\n if (error) return;\n\n if (\n latestQuestionResponseRef.current &&\n latestQuestionResponseRef.current !== newResponse\n )\n updateResponse(latestQuestionResponseRef.current);\n else latestQuestionResponseRef.current = undefined;\n },\n });\n });\n },\n [forceAppend, question],\n );\n\n const appendQuestionCalledRef = useRef(false);\n\n useEffect(() => {\n let requestId: number;\n\n if (canRender) {\n if (!appendQuestionCalledRef.current) {\n requestId = window.requestAnimationFrame(() => {\n const appenndableResponse = latestQuestionResponseRef.current ?? response;\n\n appendQuestionCalledRef.current = true;\n learnosity.appendQuestion({\n questions: [question],\n ...(appenndableResponse\n ? {\n responses: {\n [question.response_id]: {\n // Learnosity is mutating the response object, so we need to clone it\n ...appenndableResponse,\n },\n },\n }\n : {}),\n });\n });\n }\n }\n\n return () => {\n if (requestId) window.cancelAnimationFrame(requestId);\n };\n }, [canRender, learnosity, question, response]);\n\n useEffect(() => {\n if (appended) {\n latestQuestionResponseRef.current = undefined;\n\n if (containerElementRef.current?.querySelector('iframe')) {\n window.addEventListener('message', handleSimIframeMessage);\n }\n }\n\n return () => {\n window.removeEventListener('message', handleSimIframeMessage);\n };\n }, [appended, handleSimIframeMessage]);\n\n useEffect(() => {\n if (simState && appended) {\n const simIframe = containerElementRef.current?.querySelector('iframe');\n\n if (simIframe) {\n simIframe.contentWindow?.postMessage(\n {\n type: 'SIM_STATE_UPDATE',\n payload: simState,\n },\n '*',\n );\n }\n }\n }, [appended, canForceAppend, simState]);\n\n useEffect(() => {\n if (appended && response && canForceAppend) {\n if (response !== latestQuestionResponseRef.current) {\n if (!latestQuestionResponseRef.current) {\n latestQuestionResponseRef.current = response;\n updateResponse(response);\n } else {\n latestQuestionResponseRef.current = response;\n }\n }\n }\n }, [appended, canForceAppend, response, updateResponse]);\n\n return (\n <Styled.LearnosityQuestionContainer\n ref={containerElementRef}\n $isConceptIntro={isConceptIntro}\n $isTeacher={canForceAppend}\n >\n <div className={`learnosity-response question-${question.response_id}`} />\n </Styled.LearnosityQuestionContainer>\n );\n },\n);\n\nexport default LearnosityQuestion;\n"],"names":["REMOVE_BEFORE_QUESTIONS","LearnosityQuestion","memo","signedRequest","appended","canRender","canForceAppend","question","response","learnosity","isConceptIntro","simState","onMediaStateChange","containerElementRef","useRef","latestQuestionResponseRef","forceAppend","useLearnosityAppend","handleSimIframeMessage","useCallback","event","source","data","type","updateResponse","newResponse","questionElement","_b","_a","path","_c","error","appendQuestionCalledRef","useEffect","requestId","appenndableResponse","simIframe","jsx","Styled.LearnosityQuestionContainer"],"mappings":";;;;AASA,MAAMA,IAA0B,CAAC,cAAc,yBAAyB,GAElEC,IAAmDC;AAAA,EACvD,CAAC;AAAA,IACC,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,YAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EAAA,MACI;AACE,UAAAC,IAAsBC,EAAuB,IAAI,GACjDC,IAA4BD,EAAgDN,CAAQ,GACpF,EAAE,aAAAQ,EAAA,IAAgBC,EAAoBd,CAAa,GAEnDe,IAAyBC;AAAA,MAC7B,CAACC,MAAwB;AACjB,cAAA,EAAE,QAAAC,GAAQ,MAAAC,EAAS,IAAAF,GACnB,EAAE,MAAAG,EAAA,IAASD,KAAS;AAE1B,QAAIC,MAAS,iBACVF,EAAkB;AAAA,UACjB;AAAA,YACE,MAAM;AAAA,YACN,SAAS;AAAA,cACP,UAAUf,IAAiB,YAAY;AAAA,cACvC,iBAAiBK;AAAA,YACnB;AAAA,UACF;AAAA,UACA;AAAA,QAAA,IAEOY,MAAS,sBAClBX,EAAmBL,GAAU,cAAca,EAAM,KAAK,OAAO;AAAA,MAEjE;AAAA,MACA,CAACd,GAAgBK,GAAUC,GAAoBL,CAAQ;AAAA,IAAA,GAGnDiB,IAAiBL;AAAA,MACrB,CAACM,MAA6C;AAC5C,eAAO,sBAAsB,MAAM;;AAC3B,gBAAAC,IAAkB,SAAS,cAAc,KAAK;AAEpC,UAAAA,EAAA,UAAU,IAAI,qBAAqB,GACnDA,EAAgB,UAAU,IAAI,YAAYnB,EAAS,WAAW,EAAE,IAE5CoB,KAAAC,IAAAf,EAAA,YAAA,gBAAAe,EAAS,SAAS,OAAlB,QAAAD,EAChB,iBAAiB,yBAClB,QAAQ,CAAQE,MAAA;AACV,YAAAA,EAAA,KAAK,GAAGA,EAAK,EAAE;AAAA,UAAA,KAGJC,IAAAjB,EAAA,YAAA,QAAAiB,EAAS,OAAOJ,IACxBV,EAAA;AAAA,YACV,UAAAT;AAAA,YACA,UAAUkB;AAAA,YACV,mBAAmBzB,EAAwB,SAASO,EAAS,IAAI,IAAI,WAAW;AAAA,YAChF,UAAU,CAASwB,MAAA;AACjB,cAAIA,MAGFhB,EAA0B,WAC1BA,EAA0B,YAAYU,IAEtCD,EAAeT,EAA0B,OAAO,MACnB,UAAU;AAAA,YAC3C;AAAA,UAAA,CACD;AAAA,QAAA,CACF;AAAA,MACH;AAAA,MACA,CAACC,GAAaT,CAAQ;AAAA,IAAA,GAGlByB,IAA0BlB,EAAO,EAAK;AAE5C,WAAAmB,EAAU,MAAM;AACV,UAAAC;AAEJ,aAAI7B,MACG2B,EAAwB,YACfE,IAAA,OAAO,sBAAsB,MAAM;AACvC,cAAAC,IAAsBpB,EAA0B,WAAWP;AAEjE,QAAAwB,EAAwB,UAAU,IAClCvB,EAAW,eAAe;AAAA,UACxB,WAAW,CAACF,CAAQ;AAAA,UACpB,GAAI4B,IACA;AAAA,YACE,WAAW;AAAA,cACT,CAAC5B,EAAS,WAAW,GAAG;AAAA;AAAA,gBAEtB,GAAG4B;AAAA,cACL;AAAA,YACF;AAAA,UAAA,IAEF,CAAC;AAAA,QAAA,CACN;AAAA,MAAA,CACF,KAIE,MAAM;AACP,QAAAD,KAAkB,OAAA,qBAAqBA,CAAS;AAAA,MAAA;AAAA,OAErD,CAAC7B,GAAWI,GAAYF,GAAUC,CAAQ,CAAC,GAE9CyB,EAAU,MAAM;;AACd,aAAI7B,MACFW,EAA0B,UAAU,SAEhCa,IAAAf,EAAoB,YAApB,QAAAe,EAA6B,cAAc,aACtC,OAAA,iBAAiB,WAAWV,CAAsB,IAItD,MAAM;AACJ,eAAA,oBAAoB,WAAWA,CAAsB;AAAA,MAAA;AAAA,IAC9D,GACC,CAACd,GAAUc,CAAsB,CAAC,GAErCe,EAAU,MAAM;;AACd,UAAItB,KAAYP,GAAU;AACxB,cAAMgC,KAAYR,IAAAf,EAAoB,YAApB,gBAAAe,EAA6B,cAAc;AAE7D,QAAIQ,OACFT,IAAAS,EAAU,kBAAV,QAAAT,EAAyB;AAAA,UACvB;AAAA,YACE,MAAM;AAAA,YACN,SAAShB;AAAA,UACX;AAAA,UACA;AAAA;AAAA,MAGN;AAAA,IACC,GAAA,CAACP,GAAUE,GAAgBK,CAAQ,CAAC,GAEvCsB,EAAU,MAAM;AACV,MAAA7B,KAAYI,KAAYF,KACtBE,MAAaO,EAA0B,YACpCA,EAA0B,UAI7BA,EAA0B,UAAUP,KAHpCO,EAA0B,UAAUP,GACpCgB,EAAehB,CAAQ;AAAA,OAM5B,CAACJ,GAAUE,GAAgBE,GAAUgB,CAAc,CAAC,GAGrD,gBAAAa;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,KAAKzB;AAAA,QACL,iBAAiBH;AAAA,QACjB,YAAYJ;AAAA,QAEZ,4BAAC,OAAI,EAAA,WAAW,gCAAgCC,EAAS,WAAW,IAAI;AAAA,MAAA;AAAA,IAAA;AAAA,EAG9E;AACF;"}
package/dist/index.d.ts CHANGED
@@ -33,18 +33,6 @@ import { ResourceModel } from '@cuemath/rest-api';
33
33
  import type { SetStateAction } from 'react';
34
34
  import { Substitute } from 'styled-components/dist/types';
35
35
 
36
- export declare const Accordion: NamedExoticComponent<AccordionProps>;
37
-
38
- declare interface AccordionProps {
39
- theme?: AccordionTheme;
40
- visibleBuffer: number;
41
- defaultOpenElement?: number;
42
- accordionData: Array<{
43
- accordionQuestion: string;
44
- accordionAnswer: React.ReactNode | string;
45
- }>;
46
- }
47
-
48
36
  /**
49
37
  * AccordionSection component.
50
38
  *
@@ -53,8 +41,6 @@ declare interface AccordionProps {
53
41
  */
54
42
  export declare const AccordionSection: FC<IAccordionSectionProps>;
55
43
 
56
- declare type AccordionTheme = 'light' | 'dark';
57
-
58
44
  export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
59
45
 
60
46
  export declare const ACHIEVEMENT_ACTIONS: {
@@ -66,21 +52,17 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
66
52
 
67
53
  export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
68
54
 
69
- export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
70
-
71
55
  export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
72
56
 
73
57
  export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
74
58
 
75
- export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
76
-
77
59
  export declare const AppLoader: FC<IAppLoaderProps>;
78
60
 
79
61
  export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
80
62
  children?: ReactNode | undefined;
81
63
  } & RefAttributes<HTMLDivElement>>;
82
64
 
83
- export declare const ArrowTooltip: FC<IArrowTooltipProps>;
65
+ export declare const ArrowTooltip: NamedExoticComponent<IArrowTooltipProps>;
84
66
 
85
67
  export declare const AUTH_TABS: IAuthTab[];
86
68
 
@@ -114,8 +96,6 @@ export declare const BackgroundImage: ({ img }: {
114
96
 
115
97
  export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
116
98
 
117
- export declare const BaseInput: React_2.FC<IBaseInputProps>;
118
-
119
99
  declare interface BaseProject {
120
100
  id: string;
121
101
  name: string;
@@ -436,8 +416,6 @@ declare interface ErrorProps {
436
416
  handleClick: () => void;
437
417
  }
438
418
 
439
- export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
440
-
441
419
  export declare const EVENTS: {
442
420
  PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
443
421
  HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
@@ -595,6 +573,8 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
595
573
 
596
574
  export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
597
575
 
576
+ export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
577
+
598
578
  export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
599
579
 
600
580
  export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
@@ -660,20 +640,6 @@ declare interface IAnimatedArcProps {
660
640
  showAnimatedRainbowArc?: boolean;
661
641
  }
662
642
 
663
- declare interface IAnimatedAvatarMessageProps {
664
- message: string;
665
- onShowContent: (show: boolean) => void;
666
- confirmationFrames: [number, number];
667
- confirmationMessage?: string;
668
- isConfirmationVisible?: boolean;
669
- ref: React.Ref<IAnimatedAvatarMessageRef>;
670
- }
671
-
672
- export declare type IAnimatedAvatarMessageRef = {
673
- fadeOutMessage: () => Promise<void>;
674
- playConfirmationFrames: () => Promise<void>;
675
- };
676
-
677
643
  declare interface IAppLoaderProps {
678
644
  width?: string | number;
679
645
  height?: string | number;
@@ -707,6 +673,7 @@ export declare interface IArrowTooltipProps {
707
673
  widthX?: number;
708
674
  zIndex?: number;
709
675
  parentWidth?: number | string;
676
+ isBlocking?: boolean;
710
677
  }
711
678
 
712
679
  declare interface IAttempt {
@@ -718,7 +685,6 @@ declare interface IAuthPageLayoutProps {
718
685
  leftBlock: ReactElement;
719
686
  rightBlock?: ReactElement;
720
687
  isFullWidth?: boolean;
721
- rightBlockBg?: TColorNames;
722
688
  }
723
689
 
724
690
  declare interface IAuthStaticPanelProps {
@@ -1634,7 +1600,7 @@ declare interface IIdentifierOtpFormProps {
1634
1600
  }
1635
1601
 
1636
1602
  declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
1637
- withLoader?: boolean;
1603
+ withLoader: boolean;
1638
1604
  borderRadius?: number;
1639
1605
  borderColor?: TColorNames;
1640
1606
  }
@@ -1716,8 +1682,9 @@ export declare interface IJourneyContext {
1716
1682
  * @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
1717
1683
  * uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
1718
1684
  * provider is at root level and from there we cannot access the scrollable container's height.
1685
+ * @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
1719
1686
  */
1720
- setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>) => void;
1687
+ setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>, isBlocking?: boolean) => void;
1721
1688
  /**
1722
1689
  * Clears the current journey, removing all coachmarks.
1723
1690
  * Should be called inside useEffect to ensure cleanup.
@@ -2007,14 +1974,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
2007
1974
  targetQuestions: number;
2008
1975
  }
2009
1976
 
2010
- declare interface ILinearProgressBarProps {
2011
- percentage: number;
2012
- height?: number;
2013
- backgroundColor?: TColorNames;
2014
- fillColor?: TColorNames;
2015
- borderRadius?: number;
2016
- }
2017
-
2018
1977
  export declare const ILLUSTRATIONS: {
2019
1978
  ALARM_CLOCK_ORANGE: string;
2020
1979
  ALARM_CLOCK_PURPLE: string;
@@ -2031,7 +1990,6 @@ export declare const ILLUSTRATIONS: {
2031
1990
  CALENDAR_BLUE: string;
2032
1991
  CALENDAR_GRAY: string;
2033
1992
  CALENDAR_GREEN: string;
2034
- CALENDAR_PURPLE: string;
2035
1993
  CAUTION: string;
2036
1994
  CHAPTER_10: string;
2037
1995
  CHAPTER_1: string;
@@ -2071,7 +2029,6 @@ export declare const ILLUSTRATIONS: {
2071
2029
  GRADUATE_PINK_FILLED_BG: string;
2072
2030
  GREEN_BALLOON: string;
2073
2031
  GREEN_FACE: string;
2074
- HANDSHAKE: string;
2075
2032
  LEARNED_SHIELD_GRAY: string;
2076
2033
  LEARNED_SHIELD_GREEN: string;
2077
2034
  LEARNT: string;
@@ -2090,7 +2047,6 @@ export declare const ILLUSTRATIONS: {
2090
2047
  MILESTONE_INTRO_2: string;
2091
2048
  MILESTONE_INTRO_3: string;
2092
2049
  MISTAKE: string;
2093
- MONEY: string;
2094
2050
  NODE_ACTIVITY_BG: string;
2095
2051
  NODE_CUSTOM_TEST_BG: string;
2096
2052
  NODE_DOWNLOAD_BG: string;
@@ -2108,7 +2064,6 @@ export declare const ILLUSTRATIONS: {
2108
2064
  NUMBER_4_ORANGE: string;
2109
2065
  ONE_STAR_FILLED: string;
2110
2066
  ORANGE_FACE: string;
2111
- PARENT_AVATAR: string;
2112
2067
  PEOPLE_WITH_ORANGE_FILL: string;
2113
2068
  PLAY: string;
2114
2069
  PLAY_ICON: string;
@@ -2136,7 +2091,6 @@ export declare const ILLUSTRATIONS: {
2136
2091
  STAR_WITH_GREEN_FILL: string;
2137
2092
  STREAK_GREEN: string;
2138
2093
  STREAK_WHITE: string;
2139
- STRIPE_BLURPLE: string;
2140
2094
  TEST_DIFFICULTY_EASY: string;
2141
2095
  TEST_DIFFICULTY_HARD: string;
2142
2096
  TEST_DIFFICULTY_MEDIUM: string;
@@ -2146,7 +2100,6 @@ export declare const ILLUSTRATIONS: {
2146
2100
  TROPHY_BLUE_FILLED: string;
2147
2101
  TROPHY_CIRCLE: string;
2148
2102
  TROPHY_GREEN: string;
2149
- TRUSTPILOT: string;
2150
2103
  TWO_STARS_FILLED: string;
2151
2104
  UP_ARROW: string;
2152
2105
  USER_CROWN_GRID_BACKGROUND: string;
@@ -2502,7 +2455,7 @@ export declare interface IModal {
2502
2455
  /** Content to display inside the modal */
2503
2456
  element: ReactElement;
2504
2457
  /** Rendering style of the modal */
2505
- renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
2458
+ renderAs?: 'modal' | 'fullscreen' | 'spotlight';
2506
2459
  /** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
2507
2460
  isDismissable?: boolean;
2508
2461
  /** Whether the modal requires authentication to view (default: true) */
@@ -2679,14 +2632,6 @@ declare interface IOpenImageReviewModalProps {
2679
2632
  image?: string;
2680
2633
  }
2681
2634
 
2682
- declare interface IOTPInputProps {
2683
- length?: number;
2684
- value: string;
2685
- onChange: (val: string) => void;
2686
- error?: string;
2687
- isBusy?: boolean;
2688
- }
2689
-
2690
2635
  declare interface IOTPResendProps {
2691
2636
  onResendOTP: () => void;
2692
2637
  onResendVoiceOTP?: () => void;
@@ -2695,8 +2640,6 @@ declare interface IOTPResendProps {
2695
2640
  disabled?: boolean;
2696
2641
  renderAs?: 'submit' | 'text';
2697
2642
  width?: number | string;
2698
- textButtonColor?: TColorNames;
2699
- size?: 'small' | 'xsmall';
2700
2643
  }
2701
2644
 
2702
2645
  declare interface IOutcomeConfig {
@@ -2734,18 +2677,6 @@ declare interface IPerfectHitsProps {
2734
2677
  value: number;
2735
2678
  }
2736
2679
 
2737
- declare interface IPillButtonProps {
2738
- id: string;
2739
- label: string;
2740
- selected?: boolean;
2741
- disabled?: boolean;
2742
- animatedLabel?: string;
2743
- icon?: string;
2744
- onClick: (val: string) => void;
2745
- tooltip?: string;
2746
- width?: number | string;
2747
- }
2748
-
2749
2680
  declare interface IPlaceholder {
2750
2681
  text?: string;
2751
2682
  marks?: string;
@@ -3078,6 +3009,7 @@ export declare interface IReviewWorksheetModel {
3078
3009
  title?: string;
3079
3010
  worksheet_id?: string;
3080
3011
  node_type: TNodeTypes;
3012
+ items?: TWorksheetItems[];
3081
3013
  }
3082
3014
 
3083
3015
  declare interface ISATSheetItemCallbacks {
@@ -3124,15 +3056,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
3124
3056
  data: Section[];
3125
3057
  }
3126
3058
 
3127
- declare interface ISelectableInfoCardProps {
3128
- id: string;
3129
- title: string;
3130
- description: string;
3131
- icon: string;
3132
- selected: boolean;
3133
- onClick: (val: string) => void;
3134
- }
3135
-
3136
3059
  declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
3137
3060
  }
3138
3061
 
@@ -3267,15 +3190,6 @@ declare interface ISignupMethodsProps {
3267
3190
  loadingProvider: TSocialAuthProvider | null;
3268
3191
  }
3269
3192
 
3270
- declare interface ISignupOptionsProps {
3271
- onEmailSignup: () => void;
3272
- onGoogleSignup: () => void;
3273
- onAppleSignup: () => void;
3274
- onGoToLogin: () => void;
3275
- loadingProvider: TSocialAuthProvider | null;
3276
- title?: string;
3277
- }
3278
-
3279
3193
  export declare interface ISignUpProps {
3280
3194
  circleOnLeapSignedUp: boolean;
3281
3195
  circleOnLeapPremiumEnabled: boolean;
@@ -3431,8 +3345,6 @@ declare interface ISyncableWebGameProps {
3431
3345
  declare interface ITabItem {
3432
3346
  id: string;
3433
3347
  label: string;
3434
- iconPosition?: 'left' | 'right';
3435
- Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
3436
3348
  }
3437
3349
 
3438
3350
  export declare interface ITable {
@@ -3504,7 +3416,6 @@ declare interface ITabsProps {
3504
3416
  selectedTab: string;
3505
3417
  onChange: (tab: string) => void;
3506
3418
  tabs: ITabItem[];
3507
- background?: TColorNames;
3508
3419
  }
3509
3420
 
3510
3421
  export declare interface ITabVariantConfig {
@@ -3563,20 +3474,6 @@ declare interface ITalkMeterProps extends ITalkMeter {
3563
3474
  animated?: boolean;
3564
3475
  }
3565
3476
 
3566
- declare interface ITeacherProfileDetails {
3567
- lower_grade: string;
3568
- higher_grade: string;
3569
- header_image: string;
3570
- years_of_experience: number;
3571
- number_of_students_taught: number;
3572
- countries: string[];
3573
- degree: TDegreeInformation;
3574
- }
3575
-
3576
- declare interface ITeacherProfileProps {
3577
- teacherProfile?: ITeacherProfileDetails;
3578
- }
3579
-
3580
3477
  declare interface ITeacherReview {
3581
3478
  reviewComment?: string;
3582
3479
  images?: string[];
@@ -4280,7 +4177,6 @@ export declare enum JOURNEY_ID_STUDENT {
4280
4177
  CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
4281
4178
  CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
4282
4179
  CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
4283
- CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
4284
4180
  HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
4285
4181
  CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
4286
4182
  CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
@@ -4312,8 +4208,6 @@ declare const LESSON_TAG_TYPE: {
4312
4208
  readonly DEFAULT: "DEFAULT";
4313
4209
  };
4314
4210
 
4315
- export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
4316
-
4317
4211
  export declare const loadScript: ILoadScript;
4318
4212
 
4319
4213
  export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -4328,7 +4222,6 @@ export declare const LOTTIE: {
4328
4222
  ACTIVITY: string;
4329
4223
  ADVANCE_MODE_SEGMENT_LOTTIE: string;
4330
4224
  ALL_DONE: string;
4331
- ANIMATED_AVATAR: string;
4332
4225
  AVATAR_SELECTED: string;
4333
4226
  BEGINNER1X: string;
4334
4227
  BRONZE_1: string;
@@ -4360,14 +4253,12 @@ export declare const LOTTIE: {
4360
4253
  FAMILIAR1X: string;
4361
4254
  FIFTEEN_MIN_CLOCK: string;
4362
4255
  FIVE_MIN_CLOCK: string;
4363
- FLYING_DISK: string;
4364
4256
  GIFT: string;
4365
4257
  GOLD_1: string;
4366
4258
  GOLD_2: string;
4367
4259
  GOLD_3: string;
4368
4260
  GOLF: string;
4369
4261
  GRADE: string;
4370
- GRADUATION_CAP: string;
4371
4262
  HIGH_SCORE_CONFETTI: string;
4372
4263
  HIGH_SCORE_TEXT: string;
4373
4264
  INFINITE_BUTTON_BG: string;
@@ -4378,21 +4269,17 @@ export declare const LOTTIE: {
4378
4269
  LEVELUP_RINGS: string;
4379
4270
  LEVEL_1_ALLSTAR: string;
4380
4271
  LIGHTNING: string;
4381
- LIGHT_BULB: string;
4382
4272
  MAGICWAND: string;
4383
4273
  MAIL: string;
4384
4274
  MECHANICAL_ARM: string;
4385
4275
  MEDAL: string;
4386
4276
  MEDIUM: string;
4387
- MUSCLE: string;
4388
4277
  NUDGE_TAP: string;
4389
4278
  OTP: string;
4390
4279
  PARENT_AVATAR: string;
4391
4280
  PARTY_BALL: string;
4392
4281
  PARTY_POPPER: string;
4393
- PENCIL: string;
4394
4282
  PHONE_NUMBER: string;
4395
- PLUS_SIGN: string;
4396
4283
  POINT100: string;
4397
4284
  POINT10: string;
4398
4285
  POINT15: string;
@@ -4413,12 +4300,9 @@ export declare const LOTTIE: {
4413
4300
  PROFICIENT1X: string;
4414
4301
  PROJECT: string;
4415
4302
  PUZZLE: string;
4416
- RACING_CAR: string;
4417
4303
  RANDOM_MODE_SEGMENT_LOTTIE: string;
4418
4304
  RECAP: string;
4419
- ROCKET: string;
4420
4305
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
4421
- SHOVEL: string;
4422
4306
  SILVER_1: string;
4423
4307
  SILVER_2: string;
4424
4308
  SILVER_3: string;
@@ -4481,8 +4365,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
4481
4365
 
4482
4366
  export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4483
4367
 
4484
- export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4485
-
4486
4368
  export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
4487
4369
 
4488
4370
  export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4615,7 +4497,7 @@ export declare enum NODE_TYPES {
4615
4497
  'PUZZLE_CARD' = "PUZZLE_CARD"
4616
4498
  }
4617
4499
 
4618
- export declare const Nudge: React_2.FC<INudgeProps>;
4500
+ export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
4619
4501
 
4620
4502
  export declare const NumRangeInput: React.FC<NumRangeInputProps>;
4621
4503
 
@@ -4636,12 +4518,8 @@ declare interface NumRangeInputProps {
4636
4518
  endPlaceholder?: string;
4637
4519
  }
4638
4520
 
4639
- export declare const OnboardingGuide: () => JSX.Element;
4640
-
4641
4521
  export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
4642
4522
 
4643
- export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
4644
-
4645
4523
  export declare type OutcomeStage = keyof typeof STAGES;
4646
4524
 
4647
4525
  export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
@@ -4654,8 +4532,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
4654
4532
 
4655
4533
  export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
4656
4534
 
4657
- export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
4658
-
4659
4535
  /**
4660
4536
  ** Global/Platform specific events that needs to be tracked goes here
4661
4537
  ** Naming convention needs to be snake_case
@@ -4754,6 +4630,8 @@ declare const PUZZLE_CARD_STATE: {
4754
4630
 
4755
4631
  declare const PUZZLE_CARDS: "puzzle_cards";
4756
4632
 
4633
+ export declare const PuzzleApp: NamedExoticComponent<{}>;
4634
+
4757
4635
  export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
4758
4636
 
4759
4637
  export declare const PuzzleFeedbackCelebration: FC;
@@ -4835,8 +4713,6 @@ declare enum SECTION_CODE {
4835
4713
 
4836
4714
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
4837
4715
 
4838
- export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
4839
-
4840
4716
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
4841
4717
 
4842
4718
  export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
@@ -4892,12 +4768,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4892
4768
 
4893
4769
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
4894
4770
 
4895
- export declare const SignupHeader: () => JSX.Element;
4896
-
4897
4771
  export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
4898
4772
 
4899
- export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
4900
-
4901
4773
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4902
4774
  export { SketchIcon as ScribbleIcon }
4903
4775
  export { SketchIcon }
@@ -4924,8 +4796,6 @@ export declare const STAGES: {
4924
4796
 
4925
4797
  export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
4926
4798
 
4927
- export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
4928
-
4929
4799
  export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4930
4800
 
4931
4801
  export declare enum State {
@@ -4994,7 +4864,7 @@ declare const TAB_CODES: {
4994
4864
 
4995
4865
  export declare const TabComponent: React_2.FC<ITabProps>;
4996
4866
 
4997
- export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
4867
+ export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
4998
4868
 
4999
4869
  export declare type TAction = EventToPayload<TInclassMessage>;
5000
4870
 
@@ -5083,7 +4953,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
5083
4953
 
5084
4954
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
5085
4955
 
5086
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
4956
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
5087
4957
 
5088
4958
  declare type TCallback = (messages: TInclassMessage[]) => void;
5089
4959
 
@@ -5204,15 +5074,8 @@ declare type TCueProgramData = {
5204
5074
 
5205
5075
  declare type TDefaultSection = Record<string, unknown>;
5206
5076
 
5207
- declare type TDegreeInformation = {
5208
- degree_name?: string;
5209
- field_of_study?: string;
5210
- };
5211
-
5212
5077
  declare type TDrawingData = ITile | IStroke | undefined;
5213
5078
 
5214
- export declare const TeacherProfile: FC<ITeacherProfileProps>;
5215
-
5216
5079
  declare type TEnglishSectionSummary = {
5217
5080
  section_code: 'READING & WRITING';
5218
5081
  } & TSectionSummary;
@@ -5246,7 +5109,6 @@ declare interface TextProps {
5246
5109
  $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
5247
5110
  $renderOnMobileAs?: TTextVariants;
5248
5111
  $renderOnTabletAs?: TTextVariants;
5249
- $cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
5250
5112
  }
5251
5113
 
5252
5114
  export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
@@ -6119,6 +5981,10 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
6119
5981
 
6120
5982
  export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
6121
5983
 
5984
+ declare type TWorksheetItems = {
5985
+ ref: string;
5986
+ };
5987
+
6122
5988
  declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
6123
5989
 
6124
5990
  export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;