@cuemath/leap 2.9.11-as1 → 2.9.11

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 (294) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -9
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/bin2.js +8 -7
  4. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  5. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  6. package/dist/assets/lottie/lottie.js +1 -9
  7. package/dist/assets/lottie/lottie.js.map +1 -1
  8. package/dist/constants/api.js +2 -3
  9. package/dist/constants/api.js.map +1 -1
  10. package/dist/features/analytics-events/platform-events-student.js +3 -3
  11. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  12. package/dist/features/analytics-events/whitelist-events.js +11 -13
  13. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  14. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +33 -99
  15. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  16. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +49 -92
  17. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  18. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  19. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  20. package/dist/features/chapters/chapters-list/chapters-list.js +70 -64
  21. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  22. package/dist/features/communication/pub-sub/constants.js +6 -12
  23. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  24. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  25. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  26. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  27. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  28. package/dist/features/journey/use-journey/journey-context-provider.js +28 -36
  29. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  30. package/dist/features/journey/use-journey/journey-styled.js +5 -10
  31. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  32. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  33. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  34. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +49 -42
  35. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  36. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +4 -12
  37. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  38. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +105 -128
  39. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  40. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
  41. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
  42. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
  43. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
  44. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +20 -14
  45. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  46. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +50 -26
  47. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  48. package/dist/features/milestone/create/milestone-create.js +43 -49
  49. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  50. package/dist/features/milestone/create/utils/index.js +38 -33
  51. package/dist/features/milestone/create/utils/index.js.map +1 -1
  52. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  53. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  54. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  55. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  56. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +53 -51
  57. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  58. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +40 -42
  59. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  60. package/dist/features/milestone/edit/goal-edit-container.js +62 -64
  61. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  62. package/dist/features/milestone/edit/goal-edit-helpers.js +53 -50
  63. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  64. package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
  65. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  66. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  67. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  68. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +17 -9
  69. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  70. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  71. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  72. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +105 -138
  73. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  74. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +13 -0
  75. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +1 -0
  76. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +38 -0
  77. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -0
  78. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +123 -107
  79. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  80. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +176 -157
  81. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  82. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +10 -24
  83. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  84. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +86 -80
  85. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  86. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +22 -10
  87. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  88. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +53 -0
  89. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -0
  90. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +37 -70
  91. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  92. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +176 -114
  93. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  94. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +25 -0
  95. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +1 -0
  96. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +16 -29
  97. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  98. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +25 -17
  99. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  100. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +35 -23
  101. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  102. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +113 -110
  103. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  104. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  105. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  106. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  107. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  108. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  109. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  110. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +113 -116
  111. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  112. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  113. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  114. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  115. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +50 -46
  116. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  117. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +71 -0
  118. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +1 -0
  119. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +31 -0
  120. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +1 -0
  121. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +38 -0
  122. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -0
  123. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +79 -0
  124. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -0
  125. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +18 -0
  126. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +1 -0
  127. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +51 -0
  128. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +1 -0
  129. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +11 -0
  130. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +1 -0
  131. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +135 -0
  132. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -0
  133. package/dist/features/post-game-stats/digital-meter/constants.js +11 -11
  134. package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
  135. package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +15 -16
  136. package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
  137. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  138. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  139. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +3 -4
  140. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  141. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  142. package/dist/features/ui/animated-arc/animated-arc-constants.js +3 -2
  143. package/dist/features/ui/animated-arc/animated-arc-constants.js.map +1 -1
  144. package/dist/features/ui/animated-arc/animated-arc-styled.js +7 -7
  145. package/dist/features/ui/animated-arc/animated-arc-styled.js.map +1 -1
  146. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
  147. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  148. package/dist/features/ui/constants/z-index.js +1 -1
  149. package/dist/features/ui/constants/z-index.js.map +1 -1
  150. package/dist/features/ui/context-menu/context-menu-styled.js +14 -28
  151. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  152. package/dist/features/ui/context-menu/context-menu.js +17 -25
  153. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  154. package/dist/features/ui/lottie-animation/lottie-animation.js +24 -32
  155. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  156. package/dist/features/ui/theme/button.js +7 -24
  157. package/dist/features/ui/theme/button.js.map +1 -1
  158. package/dist/index.d.ts +34 -341
  159. package/dist/index.js +425 -447
  160. package/dist/index.js.map +1 -1
  161. package/package.json +1 -1
  162. package/dist/assets/line-icons/icons/exclamation.js +0 -26
  163. package/dist/assets/line-icons/icons/exclamation.js.map +0 -1
  164. package/dist/assets/line-icons/icons/home2.js +0 -25
  165. package/dist/assets/line-icons/icons/home2.js.map +0 -1
  166. package/dist/assets/line-icons/icons/important.js +0 -23
  167. package/dist/assets/line-icons/icons/important.js.map +0 -1
  168. package/dist/assets/line-icons/icons/skip-colored.js +0 -43
  169. package/dist/assets/line-icons/icons/skip-colored.js.map +0 -1
  170. package/dist/assets/line-icons/icons/status.js +0 -41
  171. package/dist/assets/line-icons/icons/status.js.map +0 -1
  172. package/dist/features/chapters-v2/api/chapter.js +0 -10
  173. package/dist/features/chapters-v2/api/chapter.js.map +0 -1
  174. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +0 -112
  175. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +0 -1
  176. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +0 -35
  177. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +0 -1
  178. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +0 -83
  179. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +0 -1
  180. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +0 -90
  181. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +0 -1
  182. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +0 -98
  183. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +0 -1
  184. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +0 -51
  185. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +0 -1
  186. package/dist/features/chapters-v2/chapter-details/chapter-details.js +0 -129
  187. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +0 -1
  188. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +0 -13
  189. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +0 -1
  190. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +0 -159
  191. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +0 -1
  192. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +0 -16
  193. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +0 -1
  194. package/dist/features/chapters-v2/comps/node-card/node-card.js +0 -12
  195. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +0 -1
  196. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +0 -30
  197. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +0 -1
  198. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +0 -32
  199. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +0 -1
  200. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +0 -9
  201. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +0 -1
  202. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +0 -189
  203. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +0 -1
  204. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +0 -194
  205. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +0 -1
  206. package/dist/features/chapters-v2/comps/tag/tag-styled.js +0 -13
  207. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +0 -1
  208. package/dist/features/chapters-v2/comps/tag/tag.js +0 -28
  209. package/dist/features/chapters-v2/comps/tag/tag.js.map +0 -1
  210. package/dist/features/chapters-v2/constants/block-constants.js +0 -20
  211. package/dist/features/chapters-v2/constants/block-constants.js.map +0 -1
  212. package/dist/features/chapters-v2/constants/node-constants.js +0 -14
  213. package/dist/features/chapters-v2/constants/node-constants.js.map +0 -1
  214. package/dist/features/chapters-v2/utils/index.js +0 -45
  215. package/dist/features/chapters-v2/utils/index.js.map +0 -1
  216. package/dist/features/chapters-v2/utils/node-card-utils.js +0 -169
  217. package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
  218. package/dist/features/homework/card-menu-option.js +0 -28
  219. package/dist/features/homework/card-menu-option.js.map +0 -1
  220. package/dist/features/homework/card-menu-options.js +0 -22
  221. package/dist/features/homework/card-menu-options.js.map +0 -1
  222. package/dist/features/homework/card-title.js +0 -16
  223. package/dist/features/homework/card-title.js.map +0 -1
  224. package/dist/features/homework/homework-analytics-events.js +0 -10
  225. package/dist/features/homework/homework-analytics-events.js.map +0 -1
  226. package/dist/features/homework/homework-card-view.js +0 -143
  227. package/dist/features/homework/homework-card-view.js.map +0 -1
  228. package/dist/features/homework/homework-card.js +0 -245
  229. package/dist/features/homework/homework-card.js.map +0 -1
  230. package/dist/features/homework/hw-card-list/api/get-homeworks.js +0 -10
  231. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +0 -1
  232. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +0 -63
  233. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +0 -1
  234. package/dist/features/homework/hw-card-list/hw-card-list-view.js +0 -157
  235. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +0 -1
  236. package/dist/features/homework/hw-card-list/hw-card-list.js +0 -67
  237. package/dist/features/homework/hw-card-list/hw-card-list.js.map +0 -1
  238. package/dist/features/homework/node-progress.js +0 -29
  239. package/dist/features/homework/node-progress.js.map +0 -1
  240. package/dist/features/homework/styles.js +0 -130
  241. package/dist/features/homework/styles.js.map +0 -1
  242. package/dist/features/homework/utils.js +0 -48
  243. package/dist/features/homework/utils.js.map +0 -1
  244. package/dist/features/journey/hooks/use-chapter-journey.js +0 -173
  245. package/dist/features/journey/hooks/use-chapter-journey.js.map +0 -1
  246. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +0 -268
  247. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +0 -1
  248. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +0 -513
  249. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +0 -1
  250. package/dist/features/journey/hooks/use-home-page-journey/styles.js +0 -23
  251. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +0 -1
  252. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +0 -22
  253. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +0 -1
  254. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +0 -270
  255. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +0 -1
  256. package/dist/features/journey/journey-id/journey-id-teacher.js +0 -5
  257. package/dist/features/journey/journey-id/journey-id-teacher.js.map +0 -1
  258. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +0 -584
  259. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +0 -1
  260. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +0 -165
  261. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +0 -1
  262. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +0 -25
  263. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +0 -1
  264. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +0 -87
  265. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +0 -1
  266. package/dist/features/recent-chapters/api/get-recent-chapters.js +0 -9
  267. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +0 -1
  268. package/dist/features/recent-chapters/recent-chapters-styled.js +0 -16
  269. package/dist/features/recent-chapters/recent-chapters-styled.js.map +0 -1
  270. package/dist/features/recent-chapters/recent-chapters.js +0 -39
  271. package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
  272. package/dist/features/sheet-v2/resource-list/resource-list.js +0 -45
  273. package/dist/features/sheet-v2/resource-list/resource-list.js.map +0 -1
  274. package/dist/features/ui/animated-arc/constants.js +0 -5
  275. package/dist/features/ui/animated-arc/constants.js.map +0 -1
  276. package/dist/node_modules/date-fns/differenceInDays.js +0 -17
  277. package/dist/node_modules/date-fns/differenceInDays.js.map +0 -1
  278. package/dist/static/chapter-header-bg-2.c8d96894.svg +0 -1
  279. package/dist/static/competitive-arena.b9c40801.json +0 -1
  280. package/dist/static/learn.71b13323.json +0 -1
  281. package/dist/static/node-custom-test-bg.d3b757be.svg +0 -1
  282. package/dist/static/node-learn-bg.b61f815c.svg +0 -1
  283. package/dist/static/node-practice-bg.16cbaf2a.svg +0 -1
  284. package/dist/static/node-project-bg.e6a33e28.svg +0 -1
  285. package/dist/static/node-puzzle-bg.3422135c.svg +0 -1
  286. package/dist/static/node-recap-bg.546154e4.svg +0 -1
  287. package/dist/static/node-test-prep-bg.42c0b9c4.svg +0 -1
  288. package/dist/static/node-video-bg.3df3f73a.svg +0 -1
  289. package/dist/static/practice.158dd488.json +0 -1
  290. package/dist/static/project.eb665827.json +0 -1
  291. package/dist/static/puzzle.b298c7e4.json +0 -1
  292. package/dist/static/recap.0dd2c1e2.json +0 -1
  293. package/dist/static/test.803d6036.json +0 -1
  294. package/dist/static/video.b41451e2.json +0 -1
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ import * as React_3 from 'react';
27
27
  import type { ReactElement } from 'react';
28
28
  import { ReactNode } from 'react';
29
29
  import { RefAttributes } from 'react';
30
- import { RefObject } from 'react';
30
+ import type { RefObject } from 'react';
31
31
  import { ResourceModel } from '@cuemath/rest-api';
32
32
  import type { SetStateAction } from 'react';
33
33
  import { Substitute } from 'styled-components/dist/types';
@@ -95,22 +95,7 @@ declare const BLOCK_STATUS: {
95
95
  readonly LOCKED: "LOCKED";
96
96
  };
97
97
 
98
- declare enum BLOCK_TYPE {
99
- DEFAULT = "DEFAULT",
100
- PREREQ = "PREREQ",
101
- RECAP = "RECAP",
102
- GOAL = "GOAL",
103
- TESTS = "TESTS",
104
- PLAYLIST = "PLAYLIST",
105
- SOLUTIONS = "SOLUTIONS",
106
- NOTES = "NOTES",
107
- FLASHCARDS = "FLASHCARDS",
108
- SUBJECTIVES = "SUBJECTIVES",
109
- PUZZLE_CARDS = "PUZZLE_CARDS",
110
- SAT_MOCK_TEST = "SAT_MOCK_TEST"
111
- }
112
-
113
- declare const BLOCK_TYPE_2: {
98
+ declare const BLOCK_TYPE: {
114
99
  readonly DEFAULT: "DEFAULT";
115
100
  readonly PREREQ: "PREREQ";
116
101
  readonly RECAP: "RECAP";
@@ -164,8 +149,6 @@ declare const CHAPTER_PERMISSION_CODES: {
164
149
 
165
150
  export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
166
151
 
167
- export declare const ChapterDetails: FC<IChapterDetails>;
168
-
169
152
  export declare const ChaptersList: FC<IChaptersListProps>;
170
153
 
171
154
  export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -351,8 +334,6 @@ declare interface ErrorProps {
351
334
  }
352
335
 
353
336
  export declare const EVENTS: {
354
- HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
355
- INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
356
337
  GOAL_CREATED: "GOAL_CREATED";
357
338
  GOAL_EDITED: "GOAL_EDITED";
358
339
  GOAL_DELETED: "GOAL_DELETED";
@@ -375,8 +356,6 @@ export declare const EVENTS: {
375
356
  CHANGE_LOCATION: "CHANGE_LOCATION";
376
357
  SHEET_STARTED: "SHEET_STARTED";
377
358
  SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
378
- SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
379
- INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
380
359
  };
381
360
 
382
361
  declare type EventToPayload<T> = T extends {
@@ -384,8 +363,6 @@ declare type EventToPayload<T> = T extends {
384
363
  eventPayload: infer P;
385
364
  } ? [E] | [E, Partial<P>] : never;
386
365
 
387
- export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
388
-
389
366
  export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
390
367
 
391
368
  declare const EXTRA_PRACTICE: "extra_practice";
@@ -495,22 +472,8 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
495
472
 
496
473
  export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
497
474
 
498
- export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
499
-
500
475
  declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
501
476
 
502
- declare interface HWCardListProps extends INodeCardCallbacks {
503
- userType: TUserTypes;
504
- studentId: string;
505
- stream: string;
506
- onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
507
- onTestStart?: (sheetData: INodeDataProps, homeworkId?: string) => void;
508
- onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
509
- homeworkRef?: React_2.RefObject<HTMLDivElement>;
510
- startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
511
- canStartJourney?: boolean;
512
- }
513
-
514
477
  declare interface IAccordionSectionProps {
515
478
  headerElement: React.ReactElement;
516
479
  bodyElement: React.ReactElement;
@@ -579,7 +542,6 @@ export declare interface IArrowTooltipProps {
579
542
  width?: number;
580
543
  widthX?: number;
581
544
  zIndex?: number;
582
- parentWidth?: number | string;
583
545
  }
584
546
 
585
547
  declare interface IAttempt {
@@ -681,10 +643,6 @@ declare interface IBaseWorksheetProps {
681
643
  canShowActionBar?: boolean;
682
644
  }
683
645
 
684
- declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
685
- onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
686
- }
687
-
688
646
  declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
689
647
  label: string;
690
648
  renderAs: TButtonVariants;
@@ -755,27 +713,10 @@ declare interface ICascadingSelectInputProps {
755
713
 
756
714
  declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
757
715
  search_and_added?: boolean;
716
+ total_supplementary_sheets: number;
758
717
  learning_sheet_data: ILearningSheetData[];
759
718
  }
760
719
 
761
- export declare interface IChapterBlockData {
762
- block_type: keyof typeof BLOCK_TYPE;
763
- chapter_code: string;
764
- code: string;
765
- block_id: string;
766
- name: string;
767
- permissions: IChapterBlockPermission;
768
- program_id: string;
769
- section_code: keyof typeof SECTION_CODE;
770
- sheets: INodeDataProps[];
771
- user_block_id: string | null;
772
- }
773
-
774
- declare interface IChapterBlockPermission {
775
- can_skip: boolean;
776
- can_un_skip: boolean;
777
- }
778
-
779
720
  export declare interface IChapterBlockV3 {
780
721
  completed_on: number | null;
781
722
  sheets: IWorksheetModelV3[];
@@ -805,29 +746,11 @@ export declare interface IChapterDataProps {
805
746
  user_chapter_progress: IUserChapterProgressProps;
806
747
  state: TUserChapterStates | null;
807
748
  program_id: string;
808
- progress_stat: {
809
- classwork: IMilestoneData['progress_stat'];
810
- mandatory: IMilestoneData['progress_stat'];
811
- optional: IMilestoneData['progress_stat'];
812
- };
813
749
  sheets_data: {
814
750
  lessons: ILessonsListProps['lessons'];
815
751
  supplementary_sheets_group_sort_order: string[];
816
752
  supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
817
753
  };
818
- blocks: IUserChapterData['blocks'];
819
- }
820
-
821
- declare interface IChapterDetails extends IBlockSectionsCallbacks {
822
- userType: TUserTypes;
823
- userChapterId: string;
824
- studentId: string;
825
- onExit?: () => void;
826
- startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IChapterPageStartJourneyProps) => void;
827
- chapterPageRef?: React.RefObject<HTMLDivElement>;
828
- bannerRef?: React.RefObject<HTMLDivElement>;
829
- coreBlocksRef?: React.RefObject<HTMLDivElement>;
830
- canStartJourney?: boolean;
831
754
  }
832
755
 
833
756
  declare interface IChapterModel {
@@ -852,25 +775,6 @@ declare interface IChapterModel {
852
775
  mastery_time: number;
853
776
  chapter_time_unit: TTimeUnit;
854
777
  is_puzzle_chapter?: boolean;
855
- blocks: IUserChapterData['blocks'];
856
- }
857
-
858
- declare interface IChapterPageStartJourneyProps {
859
- chapterDetails: IUserChapterData;
860
- userChapterId: string;
861
- studentId: string;
862
- userType: TUserTypes;
863
- }
864
-
865
- declare interface IChapterProgressInfo {
866
- completed: number;
867
- total: number;
868
- }
869
-
870
- declare interface IChapterProgressStats {
871
- mandatory: IChapterProgressInfo;
872
- classwork: IChapterProgressInfo;
873
- optional: IChapterProgressInfo;
874
778
  }
875
779
 
876
780
  declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
@@ -898,13 +802,6 @@ declare interface IChaptersListProps {
898
802
  isGoalCreation: boolean;
899
803
  }
900
804
 
901
- declare interface IChapterStartJourneyProps {
902
- chapterDetails: IUserChapterData;
903
- userChapterId: string;
904
- studentId: string;
905
- userType: TUserTypes;
906
- }
907
-
908
805
  declare interface IChapterState {
909
806
  added?: boolean;
910
807
  expanded?: boolean;
@@ -1055,9 +952,6 @@ declare interface IContextMenuProps {
1055
952
  menuZIndex?: number;
1056
953
  startLeft?: boolean;
1057
954
  placeTop?: boolean;
1058
- menuWidth?: number | string;
1059
- menuWidthX?: number;
1060
- handleOnMenuClick?: () => void;
1061
955
  onMenuVisibilityChange?: (visible: boolean) => void;
1062
956
  }
1063
957
 
@@ -1317,7 +1211,7 @@ declare interface IGoalCurriculumMap {
1317
1211
  blocked_enrollment_types: TEnrollmentTypes[];
1318
1212
  blocked_countries: string[];
1319
1213
  course_stream: TCourseStream;
1320
- goal_category: TGoalCategory_2;
1214
+ goal_category: TGoalCategory;
1321
1215
  goal_curriculum_standard?: string;
1322
1216
  goal_code: string;
1323
1217
  goal_description: string | null;
@@ -1346,12 +1240,6 @@ declare interface IGradeSelectorProps {
1346
1240
  layoutAlignment?: 'center' | 'auto';
1347
1241
  }
1348
1242
 
1349
- export declare interface IHomepageStartJourneyProps {
1350
- studentId: string;
1351
- stream: string;
1352
- userType: TUserTypes;
1353
- }
1354
-
1355
1243
  declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
1356
1244
  Icon: React.FC<React.SVGProps<SVGSVGElement>>;
1357
1245
  customBgColor?: TColorNames;
@@ -1453,9 +1341,8 @@ export declare interface IJourneyContext {
1453
1341
  * @param id - The journey identifier.
1454
1342
  * @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
1455
1343
  * @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
1456
- * @param shouldBlurNextJourney - If `true`, blurs the next journey.
1457
1344
  */
1458
- nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
1345
+ nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
1459
1346
  /**
1460
1347
  * Must be called to end journey and update the journey status on server.
1461
1348
  * @param id - The journey id.
@@ -1535,7 +1422,8 @@ declare interface ILeaderboardProps {
1535
1422
  }
1536
1423
 
1537
1424
  declare interface ILearningSheetData {
1538
- name: string;
1425
+ title: string;
1426
+ learnosityRef: string;
1539
1427
  }
1540
1428
 
1541
1429
  declare interface ILearnosity {
@@ -1740,7 +1628,6 @@ export declare const ILLUSTRATIONS: {
1740
1628
  CHAPTER_8: string;
1741
1629
  CHAPTER_9: string;
1742
1630
  CHAPTER_HEADER_BG: string;
1743
- CHAPTER_HEADER_BG_2: string;
1744
1631
  CIRCLE_CUEMATH_LOGO: string;
1745
1632
  CIRCLE_OUTERCIRCLE_BG: string;
1746
1633
  CLOCK_ORANGE: string;
@@ -1782,14 +1669,6 @@ export declare const ILLUSTRATIONS: {
1782
1669
  MILESTONE_INTRO_2: string;
1783
1670
  MILESTONE_INTRO_3: string;
1784
1671
  MISTAKE: string;
1785
- NODE_CUSTOM_TEST_BG: string;
1786
- NODE_LEARN_BG: string;
1787
- NODE_PRACTICE_BG: string;
1788
- NODE_PROJECT_BG: string;
1789
- NODE_PUZZLE_BG: string;
1790
- NODE_RECAP_BG: string;
1791
- NODE_TEST_PREP_BG: string;
1792
- NODE_VIDEO_BG: string;
1793
1672
  NUMBER_1_ORANGE: string;
1794
1673
  NUMBER_2_ORANGE: string;
1795
1674
  NUMBER_3_ORANGE: string;
@@ -1973,7 +1852,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
1973
1852
  parentName?: string;
1974
1853
  teacherName?: string;
1975
1854
  onEdit?: (editProps: IMilestoneEditProps) => void;
1976
- onAddOutcome?: (milestoneId?: string) => void;
1855
+ onAddOutcome?: (milestoneId: string) => void;
1977
1856
  onChapterClick: IChaptersListProps['onChapterClick'];
1978
1857
  isClassOngoing?: boolean;
1979
1858
  isStudentPresent?: boolean;
@@ -2012,8 +1891,6 @@ declare interface IMileStoneCreateProps {
2012
1891
  milestoneId?: string;
2013
1892
  currentCountryCode?: string;
2014
1893
  courseStream: TCourseStream;
2015
- canDeleteGoal?: boolean;
2016
- onDeleteGoal?: () => void;
2017
1894
  onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
2018
1895
  onFormDataChange?: (formData: IMilestoneFormData) => void;
2019
1896
  onExit?: () => void;
@@ -2027,7 +1904,7 @@ export declare interface IMilestoneData {
2027
1904
  course_stream: TCourseStream;
2028
1905
  grade: string;
2029
1906
  board: string;
2030
- goal_category: TGoalCategory;
1907
+ goal_category: TGoalCategory_2;
2031
1908
  goal_code: string | null;
2032
1909
  created_on_ts: number;
2033
1910
  milestone_date_ts: number;
@@ -2042,10 +1919,6 @@ export declare interface IMilestoneData {
2042
1919
  user_milestone_progress: IUserChapterProgressProps | null;
2043
1920
  permissions: IMilestoneCardPermissions;
2044
1921
  recommended_chapter_filters: TRecommendedChaptersFilter | null;
2045
- progress_stat: {
2046
- total: number;
2047
- completed: number;
2048
- } | null;
2049
1922
  }
2050
1923
 
2051
1924
  declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
@@ -2123,7 +1996,7 @@ declare interface IMilestoneStartProps {
2123
1996
  handleOnClick?: () => void;
2124
1997
  }
2125
1998
 
2126
- declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
1999
+ declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, ISheetItemCallbackProps {
2127
2000
  isPlanAvailable: boolean;
2128
2001
  isMilestoneActive: boolean;
2129
2002
  goalCategory: IMilestoneData['goal_category'];
@@ -2158,7 +2031,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
2158
2031
  courseStream: TCourseStream;
2159
2032
  }
2160
2033
 
2161
- declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
2034
+ declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
2162
2035
  userType: TUserTypes;
2163
2036
  studentId: string;
2164
2037
  userMilestoneId?: string;
@@ -2200,67 +2073,6 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
2200
2073
 
2201
2074
  export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
2202
2075
 
2203
- declare interface INodeCardCallbacks {
2204
- onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
2205
- onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2206
- onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
2207
- onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2208
- onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
2209
- onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
2210
- onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2211
- onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2212
- }
2213
-
2214
- export declare interface INodeDataProps {
2215
- accuracy: number | null;
2216
- attempt_location: TSheetAttemptLocation_2;
2217
- block_id: string;
2218
- card_header: string;
2219
- chapter_id: string;
2220
- complete_status: boolean;
2221
- course_type: TCourseType;
2222
- desmos_calculator_enabled: boolean;
2223
- due_date_ts: number | null;
2224
- is_lesson_v3_enabled: boolean;
2225
- is_optional: boolean;
2226
- is_timed: boolean;
2227
- is_worksheet_v3: boolean | null;
2228
- learnosity_activity_ref: string;
2229
- marked_as_completed: boolean;
2230
- node_id: string;
2231
- node_type: TNodeTypes_2;
2232
- sheet_statement: string;
2233
- permissions: INodePermissions;
2234
- sheet_time: number | null;
2235
- state: TSheetStates;
2236
- title: string;
2237
- user_chapter_id: string | null;
2238
- user_node_id: string | null;
2239
- worksheet_id: string;
2240
- image_url: string;
2241
- image_hue: THueNames;
2242
- total_questions: number | null;
2243
- unlocked_on_ts: number | null;
2244
- items?: TNodeDataTestItemsDataProps[];
2245
- user_milestone_id?: string;
2246
- user_attempt_id: string | null;
2247
- subtext: string | null;
2248
- homework_id?: string;
2249
- chapter_name?: string;
2250
- }
2251
-
2252
- declare interface INodePermissions {
2253
- can_change_attempt_location: boolean;
2254
- can_mark_familiar: boolean;
2255
- can_reattempt: boolean;
2256
- can_reset: boolean;
2257
- can_resume: boolean;
2258
- can_review: boolean;
2259
- can_start: boolean;
2260
- can_teacher_review: boolean;
2261
- can_unassign: boolean;
2262
- }
2263
-
2264
2076
  export declare interface INudgeProps {
2265
2077
  nudge: 'click';
2266
2078
  content: ReactNode;
@@ -2269,10 +2081,6 @@ export declare interface INudgeProps {
2269
2081
  zIndex?: number;
2270
2082
  }
2271
2083
 
2272
- export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2273
-
2274
- export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2275
-
2276
2084
  export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2277
2085
 
2278
2086
  export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
@@ -3039,7 +2847,13 @@ declare interface ITestsCreationProps {
3039
2847
  onError: (errorMessage?: string) => void;
3040
2848
  }
3041
2849
 
3042
- declare interface ITestsListProps {
2850
+ declare interface ITestSheetItemCallbackProps {
2851
+ onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
2852
+ onTestStart?: (sheetData: ISheetDataProps) => void;
2853
+ onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
2854
+ }
2855
+
2856
+ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
3043
2857
  userType: TUserTypes;
3044
2858
  studentId: string;
3045
2859
  userMilestoneId: string;
@@ -3048,10 +2862,6 @@ declare interface ITestsListProps {
3048
2862
  isDraftMilestone?: boolean;
3049
2863
  isChaptersAvailable?: boolean;
3050
2864
  canUpdatePlan?: boolean;
3051
- onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
3052
- onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
3053
- onTestStart?: (sheetData: INodeDataProps) => void;
3054
- onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
3055
2865
  }
3056
2866
 
3057
2867
  declare interface ITextButtonProps extends IClickableAnalyticsProps {
@@ -3296,20 +3106,6 @@ declare interface IusePointerSyncProps {
3296
3106
  targetUserId?: string;
3297
3107
  }
3298
3108
 
3299
- export declare interface IUserChapterData {
3300
- chapter_code: string;
3301
- chapter_id: string;
3302
- chapter_tags: string[];
3303
- id: string;
3304
- image_hue: THueNames;
3305
- image_url: string;
3306
- item_bank_enabled: boolean;
3307
- name: string;
3308
- program_id: string;
3309
- progress_stat: IChapterProgressStats | null;
3310
- blocks: IChapterBlockData[];
3311
- }
3312
-
3313
3109
  declare interface IUserChapterProgressProps {
3314
3110
  familiar_sheets: number;
3315
3111
  mastered_sheets: number;
@@ -3666,14 +3462,7 @@ export declare enum JOURNEY_ID_STUDENT {
3666
3462
  CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
3667
3463
  CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
3668
3464
  CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
3669
- CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
3670
- HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3671
- CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3672
- }
3673
-
3674
- export declare enum JOURNEY_ID_TEACHER {
3675
- HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3676
- CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3465
+ CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
3677
3466
  }
3678
3467
 
3679
3468
  export declare const JourneyProvider: FC<IJourneyProviderProps>;
@@ -3718,7 +3507,6 @@ export declare const LOTTIE: {
3718
3507
  COLOR_1: string;
3719
3508
  COLOR_2: string;
3720
3509
  COLOR_3: string;
3721
- COMPETITIVE_ARENA: string;
3722
3510
  DIFFICULT: string;
3723
3511
  EASY: string;
3724
3512
  ELITE_CIRCLE: string;
@@ -3731,7 +3519,6 @@ export declare const LOTTIE: {
3731
3519
  GOLD_3: string;
3732
3520
  INFINITE_BUTTON_BG: string;
3733
3521
  INFINITE_BUTTON_SYMBOL: string;
3734
- LEARN: string;
3735
3522
  LEVELUP_RINGS: string;
3736
3523
  MEDIUM: string;
3737
3524
  NUDGE_TAP: string;
@@ -3751,12 +3538,8 @@ export declare const LOTTIE: {
3751
3538
  POINT50: string;
3752
3539
  POINT5: string;
3753
3540
  POINT60: string;
3754
- PRACTICE: string;
3755
3541
  PROFICIENT1X: string;
3756
- PROJECT: string;
3757
- PUZZLE: string;
3758
3542
  RANDOM_MODE_SEGMENT_LOTTIE: string;
3759
- RECAP: string;
3760
3543
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
3761
3544
  SILVER_1: string;
3762
3545
  SILVER_2: string;
@@ -3769,12 +3552,10 @@ export declare const LOTTIE: {
3769
3552
  TABLE_SEGMENT_STAR: string;
3770
3553
  TARGET_ACHIEVED_TEXT: string;
3771
3554
  TEACHER_VALIDATION: string;
3772
- TEST: string;
3773
3555
  TOTAL_STREAK: string;
3774
3556
  TOTAL_TIME: string;
3775
3557
  TOTAL_TIME_SPENT: string;
3776
3558
  TOURNAMENT_RIPPLE: string;
3777
- VIDEO: string;
3778
3559
  };
3779
3560
 
3780
3561
  export declare const LPARChapter: FC<ILPARChapterProps>;
@@ -3813,21 +3594,6 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
3813
3594
 
3814
3595
  export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3815
3596
 
3816
- declare enum NODE_CARD_COURSE_TYPES {
3817
- PROGRAM = "PROGRAM",
3818
- REMEDIAL = "REMEDIAL",
3819
- TEST_SERIES = "TEST_SERIES",
3820
- EXAM = "EXAM"
3821
- }
3822
-
3823
- declare enum NODE_CARD_STATES {
3824
- LOCKED = "LOCKED",
3825
- NOT_STARTED = "NOT_STARTED",
3826
- WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
3827
- IN_PROGRESS = "IN_PROGRESS",
3828
- COMPLETED = "COMPLETED"
3829
- }
3830
-
3831
3597
  export declare const NODE_LABELS: {
3832
3598
  readonly ASSESSMENT: "ASSESSMENT";
3833
3599
  readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
@@ -3973,7 +3739,6 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
3973
3739
  export declare enum PLATFORM_EVENTS_STUDENT {
3974
3740
  PAGE_VIEWED = "page_viewed",
3975
3741
  CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
3976
- HOMEWORK_COMPLETED = "homework_completed",
3977
3742
  ACTIVITY_STARTED = "activity_started",
3978
3743
  ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
3979
3744
  STREAK_ICON_CLICKED = "streak_icon_clicked",
@@ -4081,16 +3846,6 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
4081
3846
 
4082
3847
  export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
4083
3848
 
4084
- export declare const RecentChapters: FC<RecentChaptersProps>;
4085
-
4086
- declare interface RecentChaptersProps {
4087
- studentId: string;
4088
- courseStream: TCourseStream;
4089
- userType: TUserTypes;
4090
- onChapterClick: IChaptersListProps['onChapterClick'];
4091
- recentChaptersRef?: React.RefObject<HTMLDivElement>;
4092
- }
4093
-
4094
3849
  export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
4095
3850
 
4096
3851
  export declare const ReferenceSheet: FC<IReferenceSheetProps>;
@@ -4117,18 +3872,6 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
4117
3872
 
4118
3873
  export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4119
3874
 
4120
- declare enum SECTION_CODE {
4121
- READINESS = "READINESS",
4122
- GOALS = "GOALS",
4123
- TESTS = "TESTS",
4124
- ENRICHMENT = "ENRICHMENT",
4125
- SUBJECTIVE = "SUBJECTIVE",
4126
- VIDEOS = "VIDEOS",
4127
- NOTES = "NOTES",
4128
- FLASHCARDS = "FLASHCARDS",
4129
- PUZZLE_CARDS = "PUZZLE_CARDS"
4130
- }
4131
-
4132
3875
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
4133
3876
 
4134
3877
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
@@ -4192,8 +3935,6 @@ export { SketchIcon }
4192
3935
 
4193
3936
  export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
4194
3937
 
4195
- export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4196
-
4197
3938
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4198
3939
 
4199
3940
  export declare const SplashScreen: ({ animationCompleted }: {
@@ -4222,8 +3963,6 @@ export declare enum State {
4222
3963
  HOLD = "HOLD"
4223
3964
  }
4224
3965
 
4225
- export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4226
-
4227
3966
  export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
4228
3967
 
4229
3968
  declare const STICKER_BADGE: {
@@ -4338,11 +4077,11 @@ declare type TBlockStatsData = {
4338
4077
 
4339
4078
  declare type TBlockStatus = keyof typeof BLOCK_STATUS;
4340
4079
 
4341
- declare type TBlockType = keyof typeof BLOCK_TYPE_2;
4080
+ declare type TBlockType = keyof typeof BLOCK_TYPE;
4342
4081
 
4343
4082
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
4344
4083
 
4345
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
4084
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-dark';
4346
4085
 
4347
4086
  declare type TCallback = (messages: TInclassMessage[]) => void;
4348
4087
 
@@ -4435,8 +4174,6 @@ declare type TCourseProgramPermissions = {
4435
4174
 
4436
4175
  declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
4437
4176
 
4438
- declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
4439
-
4440
4177
  declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
4441
4178
 
4442
4179
  declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
@@ -4493,9 +4230,9 @@ declare interface TextProps {
4493
4230
 
4494
4231
  export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
4495
4232
 
4496
- declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
4233
+ declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4497
4234
 
4498
- declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4235
+ declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
4499
4236
 
4500
4237
  declare interface TGoals {
4501
4238
  goal_code?: string;
@@ -4591,32 +4328,11 @@ export declare type TInclassMessage = {
4591
4328
  eventPayload: {
4592
4329
  worksheetId: string;
4593
4330
  };
4594
- } | {
4595
- eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
4596
- eventPayload: {
4597
- studentId: string;
4598
- };
4599
- } | {
4600
- eventName: typeof EVENTS.INVALIDATE_HOMEWORK;
4601
- eventPayload: {
4602
- studentId: string;
4603
- };
4604
4331
  } | {
4605
4332
  eventName: typeof EVENTS.CHAPTER_UPDATED;
4606
4333
  eventPayload: {
4607
4334
  chapterId: string;
4608
4335
  };
4609
- } | {
4610
- eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
4611
- eventPayload: {
4612
- chapterId: string;
4613
- };
4614
- } | {
4615
- eventName: typeof EVENTS.SHEET_REATTEMPTED;
4616
- eventPayload: {
4617
- milestoneId: string;
4618
- chapterId: string;
4619
- };
4620
4336
  } | {
4621
4337
  eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
4622
4338
  eventPayload: {
@@ -4741,7 +4457,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
4741
4457
 
4742
4458
  declare type TItemType = 'overview' | 'learning-we-do' | 'learning-your-turn' | 'learning-explore' | 'practice-basic' | 'practice-basic-optional' | 'practice-regular' | 'practice-regular-optional' | 'exit-ticket' | 'advanced-we-do' | 'advanced-your-turn' | 'advanced-explore' | 'advanced-practice';
4743
4459
 
4744
- export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
4460
+ export declare type TJourneyId = JOURNEY_ID_STUDENT;
4745
4461
 
4746
4462
  declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
4747
4463
 
@@ -4988,19 +4704,11 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
4988
4704
 
4989
4705
  declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
4990
4706
 
4991
- declare interface TNodeDataTestItemsDataProps {
4992
- chapter_name: string;
4993
- goal_name: string;
4994
- ref: string;
4995
- }
4996
-
4997
4707
  declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
4998
4708
 
4999
4709
  declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
5000
4710
 
5001
- export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE' | 'VIDEO';
5002
-
5003
- declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
4711
+ export declare type TNodeTypes = 'LEGACY' | 'LEARNING' | 'REMEDIAL' | 'GENERAL' | 'SAT_MATH_RECAP' | 'SAT_MATH_LEARNING' | 'SAT_MATH_ASSESSMENT' | 'SAT_ENGLISH_RECAP' | 'SAT_ENGLISH_LEARNING' | 'SAT_ENGLISH_ASSESSMENT' | 'LEVEL3' | 'RECAP' | 'REVISION' | 'LEVEL2' | 'TARGET_PRACTICE' | 'PRACTICE' | 'EXTRA_PRACTICE' | 'PUZZLE_EASY' | 'PUZZLE_MEDIUM' | 'PUZZLE_HARD' | 'CHAPTER_ASSESSMENT' | 'ASSESSMENT' | 'TRIAL_DIAGNOSTIC' | 'TRIAL_BASIC' | 'TRIAL_INTERMEDIATE' | 'TRIAL_ADVANCED' | 'MASTERY' | 'DYNAMIC' | 'TURING_ASSESSMENT' | 'TURING_SUBJECTIVE' | 'TURING_PRACTICE' | 'DIAGNOSTIC' | 'SUBJECTIVE';
5004
4712
 
5005
4713
  export declare type TOnPreSubmitOptions = {
5006
4714
  isDraftPlan: boolean;
@@ -5040,8 +4748,10 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
5040
4748
 
5041
4749
  declare type TQuery = {
5042
4750
  milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
5043
- student_id: string;
4751
+ with_plan: boolean;
5044
4752
  course_stream: TCourseStream;
4753
+ student_id: string;
4754
+ in_class?: boolean;
5045
4755
  };
5046
4756
 
5047
4757
  declare type TQuestionByQuestionOverviewList = {
@@ -5126,8 +4836,6 @@ declare type TSectionSummary = {
5126
4836
 
5127
4837
  declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
5128
4838
 
5129
- declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
5130
-
5131
4839
  declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
5132
4840
 
5133
4841
  declare type TSheetBlockData = {
@@ -5189,8 +4897,6 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
5189
4897
 
5190
4898
  declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
5191
4899
 
5192
- declare type TSheetStates = keyof typeof NODE_CARD_STATES;
5193
-
5194
4900
  export declare type TSkillStatus = 'pending' | 'completed';
5195
4901
 
5196
4902
  declare type TStickerData = {
@@ -5312,13 +5018,6 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
5312
5018
  registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
5313
5019
  };
5314
5020
 
5315
- export declare const useChapterPageJourney: () => {
5316
- chapterPageRef: RefObject<HTMLDivElement>;
5317
- bannerRef: RefObject<HTMLDivElement>;
5318
- coreBlocksRef: RefObject<HTMLDivElement>;
5319
- startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
5320
- };
5321
-
5322
5021
  export declare const useCircleSounds: () => {
5323
5022
  playSwipSound: () => void;
5324
5023
  play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
@@ -5368,7 +5067,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
5368
5067
  invalidateCircleHomeDetails: () => void;
5369
5068
  };
5370
5069
 
5371
- export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
5070
+ export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => JOURNEY_ID_STUDENT[];
5372
5071
 
5373
5072
  declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
5374
5073
  get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
@@ -5390,8 +5089,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
5390
5089
 
5391
5090
  export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
5392
5091
  get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
5393
- resource: ResourceModel<INodeDataProps[]> | undefined;
5394
- data: INodeDataProps[] | undefined;
5092
+ resource: ResourceModel<ISheetDataProps[]> | undefined;
5093
+ data: ISheetDataProps[] | undefined;
5395
5094
  permissions: Record<string, unknown> | undefined;
5396
5095
  isProcessing: boolean;
5397
5096
  isProcessed: boolean;
@@ -5406,8 +5105,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5406
5105
  get: (id: string, query: void, meta: {
5407
5106
  studentId: string;
5408
5107
  }) => Promise<void>;
5409
- resource: ResourceModel<INodeDataProps[]> | undefined;
5410
- data: INodeDataProps[] | undefined;
5108
+ resource: ResourceModel<ISheetDataProps[]> | undefined;
5109
+ data: ISheetDataProps[] | undefined;
5411
5110
  permissions: Record<string, unknown> | undefined;
5412
5111
  isProcessing: boolean;
5413
5112
  isProcessed: boolean;
@@ -5418,12 +5117,6 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5418
5117
  } & Record<string, unknown>) | undefined;
5419
5118
  };
5420
5119
 
5421
- export declare const useHomePageJourney: () => {
5422
- homepageRef: RefObject<HTMLDivElement>;
5423
- homeworkRef: RefObject<HTMLDivElement>;
5424
- startJourney: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
5425
- };
5426
-
5427
5120
  export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
5428
5121
  studentClassroomId: string | undefined;
5429
5122
  }) => {
@@ -5512,7 +5205,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
5512
5205
  declare const ZINDEX: {
5513
5206
  readonly CHAPTER_CROWN_ICON: 4;
5514
5207
  readonly CHAPTER_PLUS_ICON: 2;
5515
- readonly CHAPTER_PROGRESS_SVG: 2;
5208
+ readonly CHAPTER_PROGRESS_SVG: 1;
5516
5209
  readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
5517
5210
  readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
5518
5211
  readonly MODAL: 20;