@cuemath/leap 2.9.7 → 2.9.8-as11

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 (284) hide show
  1. package/dist/assets/illustrations/illustrations.js +9 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/bin2.js +7 -8
  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/line-icons/icons/exclamation.js +26 -0
  7. package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
  8. package/dist/assets/line-icons/icons/home2.js +25 -0
  9. package/dist/assets/line-icons/icons/home2.js.map +1 -0
  10. package/dist/assets/line-icons/icons/important.js +23 -0
  11. package/dist/assets/line-icons/icons/important.js.map +1 -0
  12. package/dist/assets/line-icons/icons/skip-colored.js +43 -0
  13. package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
  14. package/dist/assets/line-icons/icons/status.js +41 -0
  15. package/dist/assets/line-icons/icons/status.js.map +1 -0
  16. package/dist/assets/lottie/lottie.js +9 -1
  17. package/dist/assets/lottie/lottie.js.map +1 -1
  18. package/dist/constants/api.js +3 -2
  19. package/dist/constants/api.js.map +1 -1
  20. package/dist/features/analytics-events/platform-events-student.js +3 -3
  21. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  22. package/dist/features/analytics-events/whitelist-events.js +13 -11
  23. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  24. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
  25. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  26. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
  27. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  28. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  29. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  30. package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
  31. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  32. package/dist/features/chapters-v2/api/chapter.js +10 -0
  33. package/dist/features/chapters-v2/api/chapter.js.map +1 -0
  34. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
  35. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
  36. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +35 -0
  37. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
  38. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +83 -0
  39. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
  40. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
  41. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
  42. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +98 -0
  43. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
  44. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +51 -0
  45. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
  46. package/dist/features/chapters-v2/chapter-details/chapter-details.js +129 -0
  47. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
  48. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
  49. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
  50. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +159 -0
  51. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
  52. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
  53. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
  54. package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
  55. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
  56. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +30 -0
  57. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +1 -0
  58. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
  59. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
  60. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +9 -0
  61. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
  62. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +189 -0
  63. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
  64. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +194 -0
  65. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
  66. package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
  67. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
  68. package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
  69. package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
  70. package/dist/features/chapters-v2/constants/block-constants.js +20 -0
  71. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
  72. package/dist/features/chapters-v2/constants/node-constants.js +14 -0
  73. package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
  74. package/dist/features/chapters-v2/utils/index.js +45 -0
  75. package/dist/features/chapters-v2/utils/index.js.map +1 -0
  76. package/dist/features/chapters-v2/utils/node-card-utils.js +169 -0
  77. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
  78. package/dist/features/communication/pub-sub/constants.js +12 -6
  79. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  80. package/dist/features/homework/card-menu-option.js +28 -0
  81. package/dist/features/homework/card-menu-option.js.map +1 -0
  82. package/dist/features/homework/card-menu-options.js +22 -0
  83. package/dist/features/homework/card-menu-options.js.map +1 -0
  84. package/dist/features/homework/card-title.js +16 -0
  85. package/dist/features/homework/card-title.js.map +1 -0
  86. package/dist/features/homework/homework-analytics-events.js +10 -0
  87. package/dist/features/homework/homework-analytics-events.js.map +1 -0
  88. package/dist/features/homework/homework-card-view.js +143 -0
  89. package/dist/features/homework/homework-card-view.js.map +1 -0
  90. package/dist/features/homework/homework-card.js +245 -0
  91. package/dist/features/homework/homework-card.js.map +1 -0
  92. package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
  93. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
  94. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +63 -0
  95. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
  96. package/dist/features/homework/hw-card-list/hw-card-list-view.js +157 -0
  97. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -0
  98. package/dist/features/homework/hw-card-list/hw-card-list.js +67 -0
  99. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
  100. package/dist/features/homework/node-progress.js +29 -0
  101. package/dist/features/homework/node-progress.js.map +1 -0
  102. package/dist/features/homework/styles.js +130 -0
  103. package/dist/features/homework/styles.js.map +1 -0
  104. package/dist/features/homework/utils.js +48 -0
  105. package/dist/features/homework/utils.js.map +1 -0
  106. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  107. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  108. package/dist/features/journey/hooks/use-chapter-journey.js +194 -0
  109. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
  110. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +268 -0
  111. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -0
  112. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +513 -0
  113. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +1 -0
  114. package/dist/features/journey/hooks/use-home-page-journey/styles.js +23 -0
  115. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +1 -0
  116. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +22 -0
  117. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -0
  118. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +270 -0
  119. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +1 -0
  120. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  121. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  122. package/dist/features/journey/journey-id/journey-id-teacher.js +5 -0
  123. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -0
  124. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +584 -0
  125. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -0
  126. package/dist/features/journey/use-journey/journey-context-provider.js +36 -28
  127. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  128. package/dist/features/journey/use-journey/journey-styled.js +10 -5
  129. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  130. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  131. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  132. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
  133. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  134. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
  135. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  136. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
  137. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  138. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
  139. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  140. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
  141. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  142. package/dist/features/milestone/create/milestone-create.js +49 -43
  143. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  144. package/dist/features/milestone/create/utils/index.js +33 -38
  145. package/dist/features/milestone/create/utils/index.js.map +1 -1
  146. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  147. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  148. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  149. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  150. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
  151. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  152. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
  153. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  154. package/dist/features/milestone/edit/goal-edit-container.js +64 -62
  155. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  156. package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
  157. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  158. package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
  159. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  160. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  161. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  162. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
  163. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  164. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  165. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  166. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +138 -105
  167. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  168. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
  169. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  170. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +157 -176
  171. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  172. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
  173. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  174. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
  175. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  176. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
  177. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  178. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
  179. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  180. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
  181. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  182. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
  183. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  184. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +17 -25
  185. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  186. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
  187. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  188. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +110 -113
  189. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  190. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  191. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  192. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  193. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  194. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  195. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  196. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +116 -113
  197. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  198. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
  199. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
  200. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
  201. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
  202. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +87 -0
  203. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
  204. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  205. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  206. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  207. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +46 -50
  208. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  209. package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
  210. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
  211. package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
  212. package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
  213. package/dist/features/recent-chapters/recent-chapters.js +39 -0
  214. package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
  215. package/dist/features/sheet-v2/resource-list/resource-list.js +45 -0
  216. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
  217. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  218. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  219. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
  220. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  221. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  222. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
  223. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  224. package/dist/features/ui/constants/z-index.js +1 -1
  225. package/dist/features/ui/constants/z-index.js.map +1 -1
  226. package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
  227. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  228. package/dist/features/ui/context-menu/context-menu.js +30 -15
  229. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  230. package/dist/features/ui/lottie-animation/lottie-animation.js +19 -13
  231. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  232. package/dist/features/ui/theme/button.js +22 -107
  233. package/dist/features/ui/theme/button.js.map +1 -1
  234. package/dist/index.d.ts +341 -34
  235. package/dist/index.js +443 -421
  236. package/dist/index.js.map +1 -1
  237. package/dist/node_modules/date-fns/differenceInDays.js +17 -0
  238. package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
  239. package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
  240. package/dist/static/competitive-arena.b9c40801.json +1 -0
  241. package/dist/static/learn.71b13323.json +1 -0
  242. package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
  243. package/dist/static/node-learn-bg.b61f815c.svg +1 -0
  244. package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
  245. package/dist/static/node-project-bg.e6a33e28.svg +1 -0
  246. package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
  247. package/dist/static/node-recap-bg.546154e4.svg +1 -0
  248. package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
  249. package/dist/static/node-video-bg.3df3f73a.svg +1 -0
  250. package/dist/static/practice.158dd488.json +1 -0
  251. package/dist/static/project.eb665827.json +1 -0
  252. package/dist/static/puzzle.b298c7e4.json +1 -0
  253. package/dist/static/recap.0dd2c1e2.json +1 -0
  254. package/dist/static/test.803d6036.json +1 -0
  255. package/dist/static/video.b41451e2.json +1 -0
  256. package/package.json +1 -1
  257. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
  258. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
  259. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
  260. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
  261. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
  262. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
  263. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
  264. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
  265. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
  266. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
  267. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
  268. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
  269. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
  270. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
  271. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
  272. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
  273. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +0 -38
  274. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +0 -1
  275. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
  276. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
  277. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
  278. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
  279. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
  280. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
  281. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
  282. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
  283. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
  284. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ import * as React_3 from 'react';
26
26
  import type { ReactElement } from 'react';
27
27
  import { ReactNode } from 'react';
28
28
  import { RefAttributes } from 'react';
29
- import type { RefObject } from 'react';
29
+ import { RefObject } from 'react';
30
30
  import { ResourceModel } from '@cuemath/rest-api';
31
31
  import type { SetStateAction } from 'react';
32
32
  import { Substitute } from 'styled-components/dist/types';
@@ -92,7 +92,22 @@ declare const BLOCK_STATUS: {
92
92
  readonly LOCKED: "LOCKED";
93
93
  };
94
94
 
95
- declare const BLOCK_TYPE: {
95
+ declare enum BLOCK_TYPE {
96
+ DEFAULT = "DEFAULT",
97
+ PREREQ = "PREREQ",
98
+ RECAP = "RECAP",
99
+ GOAL = "GOAL",
100
+ TESTS = "TESTS",
101
+ PLAYLIST = "PLAYLIST",
102
+ SOLUTIONS = "SOLUTIONS",
103
+ NOTES = "NOTES",
104
+ FLASHCARDS = "FLASHCARDS",
105
+ SUBJECTIVES = "SUBJECTIVES",
106
+ PUZZLE_CARDS = "PUZZLE_CARDS",
107
+ SAT_MOCK_TEST = "SAT_MOCK_TEST"
108
+ }
109
+
110
+ declare const BLOCK_TYPE_2: {
96
111
  readonly DEFAULT: "DEFAULT";
97
112
  readonly PREREQ: "PREREQ";
98
113
  readonly RECAP: "RECAP";
@@ -146,6 +161,8 @@ declare const CHAPTER_PERMISSION_CODES: {
146
161
 
147
162
  export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
148
163
 
164
+ export declare const ChapterDetails: FC<IChapterDetails>;
165
+
149
166
  export declare const ChaptersList: FC<IChaptersListProps>;
150
167
 
151
168
  export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -331,6 +348,8 @@ declare interface ErrorProps {
331
348
  }
332
349
 
333
350
  export declare const EVENTS: {
351
+ HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
352
+ INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
334
353
  GOAL_CREATED: "GOAL_CREATED";
335
354
  GOAL_EDITED: "GOAL_EDITED";
336
355
  GOAL_DELETED: "GOAL_DELETED";
@@ -353,6 +372,8 @@ export declare const EVENTS: {
353
372
  CHANGE_LOCATION: "CHANGE_LOCATION";
354
373
  SHEET_STARTED: "SHEET_STARTED";
355
374
  SHEET_UNASSIGNED: "SHEET_UNASSIGNED";
375
+ SHEET_REATTEMPTED: "SHEET_REATTEMPTED";
376
+ INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION: "INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION";
356
377
  };
357
378
 
358
379
  declare type EventToPayload<T> = T extends {
@@ -360,6 +381,8 @@ declare type EventToPayload<T> = T extends {
360
381
  eventPayload: infer P;
361
382
  } ? [E] | [E, Partial<P>] : never;
362
383
 
384
+ export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
385
+
363
386
  export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
364
387
 
365
388
  declare const EXTRA_PRACTICE: "extra_practice";
@@ -469,8 +492,22 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
469
492
 
470
493
  export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
471
494
 
495
+ export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
496
+
472
497
  declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
473
498
 
499
+ declare interface HWCardListProps extends INodeCardCallbacks {
500
+ userType: TUserTypes;
501
+ studentId: string;
502
+ stream: string;
503
+ onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
504
+ onTestStart?: (sheetData: INodeDataProps, homeworkId?: string) => void;
505
+ onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
506
+ homeworkRef?: React_2.RefObject<HTMLDivElement>;
507
+ startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
508
+ canStartJourney?: boolean;
509
+ }
510
+
474
511
  declare interface IAccordionSectionProps {
475
512
  headerElement: React.ReactElement;
476
513
  bodyElement: React.ReactElement;
@@ -527,6 +564,7 @@ export declare interface IArrowTooltipProps {
527
564
  width?: number;
528
565
  widthX?: number;
529
566
  zIndex?: number;
567
+ parentWidth?: number | string;
530
568
  }
531
569
 
532
570
  declare interface IAttempt {
@@ -627,6 +665,10 @@ declare interface IBaseWorksheetProps {
627
665
  canShowActionBar?: boolean;
628
666
  }
629
667
 
668
+ declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
669
+ onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
670
+ }
671
+
630
672
  declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
631
673
  label: string;
632
674
  renderAs: TButtonVariants;
@@ -697,10 +739,27 @@ declare interface ICascadingSelectInputProps {
697
739
 
698
740
  declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
699
741
  search_and_added?: boolean;
700
- total_supplementary_sheets: number;
701
742
  learning_sheet_data: ILearningSheetData[];
702
743
  }
703
744
 
745
+ export declare interface IChapterBlockData {
746
+ block_type: keyof typeof BLOCK_TYPE;
747
+ chapter_code: string;
748
+ code: string;
749
+ block_id: string;
750
+ name: string;
751
+ permissions: IChapterBlockPermission;
752
+ program_id: string;
753
+ section_code: keyof typeof SECTION_CODE;
754
+ sheets: INodeDataProps[];
755
+ user_block_id: string | null;
756
+ }
757
+
758
+ declare interface IChapterBlockPermission {
759
+ can_skip: boolean;
760
+ can_un_skip: boolean;
761
+ }
762
+
704
763
  export declare interface IChapterBlockV3 {
705
764
  completed_on: number | null;
706
765
  sheets: IWorksheetModelV3[];
@@ -730,11 +789,29 @@ export declare interface IChapterDataProps {
730
789
  user_chapter_progress: IUserChapterProgressProps;
731
790
  state: TUserChapterStates | null;
732
791
  program_id: string;
792
+ progress_stat: {
793
+ classwork: IMilestoneData['progress_stat'];
794
+ mandatory: IMilestoneData['progress_stat'];
795
+ optional: IMilestoneData['progress_stat'];
796
+ };
733
797
  sheets_data: {
734
798
  lessons: ILessonsListProps['lessons'];
735
799
  supplementary_sheets_group_sort_order: string[];
736
800
  supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
737
801
  };
802
+ blocks: IUserChapterData['blocks'];
803
+ }
804
+
805
+ declare interface IChapterDetails extends IBlockSectionsCallbacks {
806
+ userType: TUserTypes;
807
+ userChapterId: string;
808
+ studentId: string;
809
+ onExit?: () => void;
810
+ startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IChapterPageStartJourneyProps) => void;
811
+ chapterPageRef?: React.RefObject<HTMLDivElement>;
812
+ bannerRef?: React.RefObject<HTMLDivElement>;
813
+ coreBlocksRef?: React.RefObject<HTMLDivElement>;
814
+ canStartJourney?: boolean;
738
815
  }
739
816
 
740
817
  declare interface IChapterModel {
@@ -759,6 +836,25 @@ declare interface IChapterModel {
759
836
  mastery_time: number;
760
837
  chapter_time_unit: TTimeUnit;
761
838
  is_puzzle_chapter?: boolean;
839
+ blocks: IUserChapterData['blocks'];
840
+ }
841
+
842
+ declare interface IChapterPageStartJourneyProps {
843
+ chapterDetails: IUserChapterData;
844
+ userChapterId: string;
845
+ studentId: string;
846
+ userType: TUserTypes;
847
+ }
848
+
849
+ declare interface IChapterProgressInfo {
850
+ completed: number;
851
+ total: number;
852
+ }
853
+
854
+ declare interface IChapterProgressStats {
855
+ mandatory: IChapterProgressInfo;
856
+ classwork: IChapterProgressInfo;
857
+ optional: IChapterProgressInfo;
762
858
  }
763
859
 
764
860
  declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
@@ -786,6 +882,13 @@ declare interface IChaptersListProps {
786
882
  isGoalCreation: boolean;
787
883
  }
788
884
 
885
+ declare interface IChapterStartJourneyProps {
886
+ chapterDetails: IUserChapterData;
887
+ userChapterId: string;
888
+ studentId: string;
889
+ userType: TUserTypes;
890
+ }
891
+
789
892
  declare interface IChapterState {
790
893
  added?: boolean;
791
894
  expanded?: boolean;
@@ -936,6 +1039,9 @@ declare interface IContextMenuProps {
936
1039
  menuZIndex?: number;
937
1040
  startLeft?: boolean;
938
1041
  placeTop?: boolean;
1042
+ menuWidth?: number | string;
1043
+ menuWidthX?: number;
1044
+ handleOnMenuClick?: () => void;
939
1045
  }
940
1046
 
941
1047
  declare interface ICountdownTimer {
@@ -1194,7 +1300,7 @@ declare interface IGoalCurriculumMap {
1194
1300
  blocked_enrollment_types: TEnrollmentTypes[];
1195
1301
  blocked_countries: string[];
1196
1302
  course_stream: TCourseStream;
1197
- goal_category: TGoalCategory;
1303
+ goal_category: TGoalCategory_2;
1198
1304
  goal_curriculum_standard?: string;
1199
1305
  goal_code: string;
1200
1306
  goal_description: string | null;
@@ -1223,6 +1329,12 @@ declare interface IGradeSelectorProps {
1223
1329
  layoutAlignment?: 'center' | 'auto';
1224
1330
  }
1225
1331
 
1332
+ export declare interface IHomepageStartJourneyProps {
1333
+ studentId: string;
1334
+ stream: string;
1335
+ userType: TUserTypes;
1336
+ }
1337
+
1226
1338
  declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
1227
1339
  Icon: React.FC<React.SVGProps<SVGSVGElement>>;
1228
1340
  customBgColor?: TColorNames;
@@ -1316,8 +1428,9 @@ export declare interface IJourneyContext {
1316
1428
  * @param id - The journey identifier.
1317
1429
  * @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
1318
1430
  * @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
1431
+ * @param shouldBlurNextJourney - If `true`, blurs the next journey.
1319
1432
  */
1320
- nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
1433
+ nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
1321
1434
  /**
1322
1435
  * Must be called to end journey and update the journey status on server.
1323
1436
  * @param id - The journey id.
@@ -1397,8 +1510,7 @@ declare interface ILeaderboardProps {
1397
1510
  }
1398
1511
 
1399
1512
  declare interface ILearningSheetData {
1400
- title: string;
1401
- learnosityRef: string;
1513
+ name: string;
1402
1514
  }
1403
1515
 
1404
1516
  declare interface ILearnosity {
@@ -1603,6 +1715,7 @@ export declare const ILLUSTRATIONS: {
1603
1715
  CHAPTER_8: string;
1604
1716
  CHAPTER_9: string;
1605
1717
  CHAPTER_HEADER_BG: string;
1718
+ CHAPTER_HEADER_BG_2: string;
1606
1719
  CIRCLE_CUEMATH_LOGO: string;
1607
1720
  CIRCLE_OUTERCIRCLE_BG: string;
1608
1721
  CLOCK_ORANGE: string;
@@ -1644,6 +1757,14 @@ export declare const ILLUSTRATIONS: {
1644
1757
  MILESTONE_INTRO_2: string;
1645
1758
  MILESTONE_INTRO_3: string;
1646
1759
  MISTAKE: string;
1760
+ NODE_CUSTOM_TEST_BG: string;
1761
+ NODE_LEARN_BG: string;
1762
+ NODE_PRACTICE_BG: string;
1763
+ NODE_PROJECT_BG: string;
1764
+ NODE_PUZZLE_BG: string;
1765
+ NODE_RECAP_BG: string;
1766
+ NODE_TEST_PREP_BG: string;
1767
+ NODE_VIDEO_BG: string;
1647
1768
  NUMBER_1_ORANGE: string;
1648
1769
  NUMBER_2_ORANGE: string;
1649
1770
  NUMBER_3_ORANGE: string;
@@ -1824,7 +1945,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
1824
1945
  parentName?: string;
1825
1946
  teacherName?: string;
1826
1947
  onEdit?: (editProps: IMilestoneEditProps) => void;
1827
- onAddOutcome?: (milestoneId: string) => void;
1948
+ onAddOutcome?: (milestoneId?: string) => void;
1828
1949
  onChapterClick: IChaptersListProps['onChapterClick'];
1829
1950
  isClassOngoing?: boolean;
1830
1951
  isStudentPresent?: boolean;
@@ -1863,6 +1984,8 @@ declare interface IMileStoneCreateProps {
1863
1984
  milestoneId?: string;
1864
1985
  currentCountryCode?: string;
1865
1986
  courseStream: TCourseStream;
1987
+ canDeleteGoal?: boolean;
1988
+ onDeleteGoal?: () => void;
1866
1989
  onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
1867
1990
  onFormDataChange?: (formData: IMilestoneFormData) => void;
1868
1991
  onExit?: () => void;
@@ -1876,7 +1999,7 @@ export declare interface IMilestoneData {
1876
1999
  course_stream: TCourseStream;
1877
2000
  grade: string;
1878
2001
  board: string;
1879
- goal_category: TGoalCategory_2;
2002
+ goal_category: TGoalCategory;
1880
2003
  goal_code: string | null;
1881
2004
  created_on_ts: number;
1882
2005
  milestone_date_ts: number;
@@ -1891,6 +2014,10 @@ export declare interface IMilestoneData {
1891
2014
  user_milestone_progress: IUserChapterProgressProps | null;
1892
2015
  permissions: IMilestoneCardPermissions;
1893
2016
  recommended_chapter_filters: TRecommendedChaptersFilter | null;
2017
+ progress_stat: {
2018
+ total: number;
2019
+ completed: number;
2020
+ } | null;
1894
2021
  }
1895
2022
 
1896
2023
  declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
@@ -1968,7 +2095,7 @@ declare interface IMilestoneStartProps {
1968
2095
  handleOnClick?: () => void;
1969
2096
  }
1970
2097
 
1971
- declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, ISheetItemCallbackProps {
2098
+ declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
1972
2099
  isPlanAvailable: boolean;
1973
2100
  isMilestoneActive: boolean;
1974
2101
  goalCategory: IMilestoneData['goal_category'];
@@ -2003,7 +2130,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
2003
2130
  courseStream: TCourseStream;
2004
2131
  }
2005
2132
 
2006
- declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
2133
+ declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
2007
2134
  userType: TUserTypes;
2008
2135
  studentId: string;
2009
2136
  userMilestoneId?: string;
@@ -2045,6 +2172,67 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
2045
2172
 
2046
2173
  export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
2047
2174
 
2175
+ declare interface INodeCardCallbacks {
2176
+ onNodeAttempt?: (nodeData: INodeDataProps, homeworkId?: string) => void;
2177
+ onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2178
+ onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string, homeworkId?: string) => void;
2179
+ onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2180
+ onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
2181
+ onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
2182
+ onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2183
+ onNodeUnassign?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2184
+ }
2185
+
2186
+ export declare interface INodeDataProps {
2187
+ accuracy: number | null;
2188
+ attempt_location: TSheetAttemptLocation_2;
2189
+ block_id: string;
2190
+ card_header: string;
2191
+ chapter_id: string;
2192
+ complete_status: boolean;
2193
+ course_type: TCourseType;
2194
+ desmos_calculator_enabled: boolean;
2195
+ due_date_ts: number | null;
2196
+ is_lesson_v3_enabled: boolean;
2197
+ is_optional: boolean;
2198
+ is_timed: boolean;
2199
+ is_worksheet_v3: boolean | null;
2200
+ learnosity_activity_ref: string;
2201
+ marked_as_completed: boolean;
2202
+ node_id: string;
2203
+ node_type: TNodeTypes_2;
2204
+ sheet_statement: string;
2205
+ permissions: INodePermissions;
2206
+ sheet_time: number | null;
2207
+ state: TSheetStates;
2208
+ title: string;
2209
+ user_chapter_id: string | null;
2210
+ user_node_id: string | null;
2211
+ worksheet_id: string;
2212
+ image_url: string;
2213
+ image_hue: THueNames;
2214
+ total_questions: number | null;
2215
+ unlocked_on_ts: number | null;
2216
+ items?: TNodeDataTestItemsDataProps[];
2217
+ user_milestone_id?: string;
2218
+ user_attempt_id: string | null;
2219
+ subtext: string | null;
2220
+ homework_id?: string;
2221
+ chapter_name?: string;
2222
+ }
2223
+
2224
+ declare interface INodePermissions {
2225
+ can_change_attempt_location: boolean;
2226
+ can_mark_familiar: boolean;
2227
+ can_reattempt: boolean;
2228
+ can_reset: boolean;
2229
+ can_resume: boolean;
2230
+ can_review: boolean;
2231
+ can_start: boolean;
2232
+ can_teacher_review: boolean;
2233
+ can_unassign: boolean;
2234
+ }
2235
+
2048
2236
  export declare interface INudgeProps {
2049
2237
  nudge: 'click';
2050
2238
  content: ReactNode;
@@ -2053,6 +2241,10 @@ export declare interface INudgeProps {
2053
2241
  zIndex?: number;
2054
2242
  }
2055
2243
 
2244
+ export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2245
+
2246
+ export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2247
+
2056
2248
  export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2057
2249
 
2058
2250
  export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
@@ -2819,13 +3011,7 @@ declare interface ITestsCreationProps {
2819
3011
  onError: (errorMessage?: string) => void;
2820
3012
  }
2821
3013
 
2822
- declare interface ITestSheetItemCallbackProps {
2823
- onTestPreview?: (milestoneId: string, sheetData: ISheetDataProps) => void;
2824
- onTestStart?: (sheetData: ISheetDataProps) => void;
2825
- onTestReview?: (sheetData: ISheetDataProps, milestoneId: string) => void;
2826
- }
2827
-
2828
- declare interface ITestsListProps extends ITestSheetItemCallbackProps {
3014
+ declare interface ITestsListProps {
2829
3015
  userType: TUserTypes;
2830
3016
  studentId: string;
2831
3017
  userMilestoneId: string;
@@ -2834,6 +3020,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
2834
3020
  isDraftMilestone?: boolean;
2835
3021
  isChaptersAvailable?: boolean;
2836
3022
  canUpdatePlan?: boolean;
3023
+ onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
3024
+ onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
3025
+ onTestStart?: (sheetData: INodeDataProps) => void;
3026
+ onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
2837
3027
  }
2838
3028
 
2839
3029
  declare interface ITextButtonProps extends IClickableAnalyticsProps {
@@ -3078,6 +3268,20 @@ declare interface IusePointerSyncProps {
3078
3268
  targetUserId?: string;
3079
3269
  }
3080
3270
 
3271
+ export declare interface IUserChapterData {
3272
+ chapter_code: string;
3273
+ chapter_id: string;
3274
+ chapter_tags: string[];
3275
+ id: string;
3276
+ image_hue: THueNames;
3277
+ image_url: string;
3278
+ item_bank_enabled: boolean;
3279
+ name: string;
3280
+ program_id: string;
3281
+ progress_stat: IChapterProgressStats | null;
3282
+ blocks: IChapterBlockData[];
3283
+ }
3284
+
3081
3285
  declare interface IUserChapterProgressProps {
3082
3286
  familiar_sheets: number;
3083
3287
  mastered_sheets: number;
@@ -3431,7 +3635,14 @@ export declare enum JOURNEY_ID_STUDENT {
3431
3635
  CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
3432
3636
  CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
3433
3637
  CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
3434
- CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
3638
+ CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
3639
+ HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3640
+ CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3641
+ }
3642
+
3643
+ export declare enum JOURNEY_ID_TEACHER {
3644
+ HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
3645
+ CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY"
3435
3646
  }
3436
3647
 
3437
3648
  export declare const JourneyProvider: FC<IJourneyProviderProps>;
@@ -3476,6 +3687,7 @@ export declare const LOTTIE: {
3476
3687
  COLOR_1: string;
3477
3688
  COLOR_2: string;
3478
3689
  COLOR_3: string;
3690
+ COMPETITIVE_ARENA: string;
3479
3691
  DIFFICULT: string;
3480
3692
  EASY: string;
3481
3693
  ELITE_CIRCLE: string;
@@ -3488,6 +3700,7 @@ export declare const LOTTIE: {
3488
3700
  GOLD_3: string;
3489
3701
  INFINITE_BUTTON_BG: string;
3490
3702
  INFINITE_BUTTON_SYMBOL: string;
3703
+ LEARN: string;
3491
3704
  LEVELUP_RINGS: string;
3492
3705
  MEDIUM: string;
3493
3706
  NUDGE_TAP: string;
@@ -3507,8 +3720,12 @@ export declare const LOTTIE: {
3507
3720
  POINT50: string;
3508
3721
  POINT5: string;
3509
3722
  POINT60: string;
3723
+ PRACTICE: string;
3510
3724
  PROFICIENT1X: string;
3725
+ PROJECT: string;
3726
+ PUZZLE: string;
3511
3727
  RANDOM_MODE_SEGMENT_LOTTIE: string;
3728
+ RECAP: string;
3512
3729
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
3513
3730
  SILVER_1: string;
3514
3731
  SILVER_2: string;
@@ -3521,10 +3738,12 @@ export declare const LOTTIE: {
3521
3738
  TABLE_SEGMENT_STAR: string;
3522
3739
  TARGET_ACHIEVED_TEXT: string;
3523
3740
  TEACHER_VALIDATION: string;
3741
+ TEST: string;
3524
3742
  TOTAL_STREAK: string;
3525
3743
  TOTAL_TIME: string;
3526
3744
  TOTAL_TIME_SPENT: string;
3527
3745
  TOURNAMENT_RIPPLE: string;
3746
+ VIDEO: string;
3528
3747
  };
3529
3748
 
3530
3749
  export declare const LPARChapter: FC<ILPARChapterProps>;
@@ -3563,6 +3782,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
3563
3782
 
3564
3783
  export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3565
3784
 
3785
+ declare enum NODE_CARD_COURSE_TYPES {
3786
+ PROGRAM = "PROGRAM",
3787
+ REMEDIAL = "REMEDIAL",
3788
+ TEST_SERIES = "TEST_SERIES",
3789
+ EXAM = "EXAM"
3790
+ }
3791
+
3792
+ declare enum NODE_CARD_STATES {
3793
+ LOCKED = "LOCKED",
3794
+ NOT_STARTED = "NOT_STARTED",
3795
+ WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
3796
+ IN_PROGRESS = "IN_PROGRESS",
3797
+ COMPLETED = "COMPLETED"
3798
+ }
3799
+
3566
3800
  export declare const NODE_LABELS: {
3567
3801
  readonly ASSESSMENT: "ASSESSMENT";
3568
3802
  readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
@@ -3708,6 +3942,7 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
3708
3942
  export declare enum PLATFORM_EVENTS_STUDENT {
3709
3943
  PAGE_VIEWED = "page_viewed",
3710
3944
  CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
3945
+ HOMEWORK_COMPLETED = "homework_completed",
3711
3946
  ACTIVITY_STARTED = "activity_started",
3712
3947
  ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
3713
3948
  STREAK_ICON_CLICKED = "streak_icon_clicked",
@@ -3815,6 +4050,16 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
3815
4050
 
3816
4051
  export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
3817
4052
 
4053
+ export declare const RecentChapters: FC<RecentChaptersProps>;
4054
+
4055
+ declare interface RecentChaptersProps {
4056
+ studentId: string;
4057
+ courseStream: TCourseStream;
4058
+ userType: TUserTypes;
4059
+ onChapterClick: IChaptersListProps['onChapterClick'];
4060
+ recentChaptersRef?: React.RefObject<HTMLDivElement>;
4061
+ }
4062
+
3818
4063
  export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
3819
4064
 
3820
4065
  export declare const ReferenceSheet: FC<IReferenceSheetProps>;
@@ -3841,6 +4086,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
3841
4086
 
3842
4087
  export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3843
4088
 
4089
+ declare enum SECTION_CODE {
4090
+ READINESS = "READINESS",
4091
+ GOALS = "GOALS",
4092
+ TESTS = "TESTS",
4093
+ ENRICHMENT = "ENRICHMENT",
4094
+ SUBJECTIVE = "SUBJECTIVE",
4095
+ VIDEOS = "VIDEOS",
4096
+ NOTES = "NOTES",
4097
+ FLASHCARDS = "FLASHCARDS",
4098
+ PUZZLE_CARDS = "PUZZLE_CARDS"
4099
+ }
4100
+
3844
4101
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
3845
4102
 
3846
4103
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
@@ -3904,6 +4161,8 @@ export { SketchIcon }
3904
4161
 
3905
4162
  export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
3906
4163
 
4164
+ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4165
+
3907
4166
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3908
4167
 
3909
4168
  export declare const SplashScreen: ({ animationCompleted }: {
@@ -3932,6 +4191,8 @@ export declare enum State {
3932
4191
  HOLD = "HOLD"
3933
4192
  }
3934
4193
 
4194
+ export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4195
+
3935
4196
  export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
3936
4197
 
3937
4198
  declare const STICKER_BADGE: {
@@ -4046,11 +4307,11 @@ declare type TBlockStatsData = {
4046
4307
 
4047
4308
  declare type TBlockStatus = keyof typeof BLOCK_STATUS;
4048
4309
 
4049
- declare type TBlockType = keyof typeof BLOCK_TYPE;
4310
+ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
4050
4311
 
4051
4312
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
4052
4313
 
4053
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
4314
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray';
4054
4315
 
4055
4316
  declare type TCallback = (messages: TInclassMessage[]) => void;
4056
4317
 
@@ -4143,6 +4404,8 @@ declare type TCourseProgramPermissions = {
4143
4404
 
4144
4405
  declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
4145
4406
 
4407
+ declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
4408
+
4146
4409
  declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
4147
4410
 
4148
4411
  declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
@@ -4198,9 +4461,9 @@ declare interface TextProps {
4198
4461
 
4199
4462
  export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
4200
4463
 
4201
- declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4464
+ declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
4202
4465
 
4203
- declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
4466
+ declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4204
4467
 
4205
4468
  declare interface TGoals {
4206
4469
  goal_code?: string;
@@ -4288,11 +4551,32 @@ export declare type TInclassMessage = {
4288
4551
  eventPayload: {
4289
4552
  worksheetId: string;
4290
4553
  };
4554
+ } | {
4555
+ eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
4556
+ eventPayload: {
4557
+ studentId: string;
4558
+ };
4559
+ } | {
4560
+ eventName: typeof EVENTS.INVALIDATE_HOMEWORK;
4561
+ eventPayload: {
4562
+ studentId: string;
4563
+ };
4291
4564
  } | {
4292
4565
  eventName: typeof EVENTS.CHAPTER_UPDATED;
4293
4566
  eventPayload: {
4294
4567
  chapterId: string;
4295
4568
  };
4569
+ } | {
4570
+ eventName: typeof EVENTS.INVALIDATE_CHAPTER_ON_CHANGE_ATTEMPT_LOCATION;
4571
+ eventPayload: {
4572
+ chapterId: string;
4573
+ };
4574
+ } | {
4575
+ eventName: typeof EVENTS.SHEET_REATTEMPTED;
4576
+ eventPayload: {
4577
+ milestoneId: string;
4578
+ chapterId: string;
4579
+ };
4296
4580
  } | {
4297
4581
  eventName: typeof EVENTS.LESSONS_MARKED_AS_FAMILIAR;
4298
4582
  eventPayload: {
@@ -4417,7 +4701,7 @@ declare type TInstructorStimulus = 'SystemIntro' | 'Intro' | 'Concept-Intro' | '
4417
4701
 
4418
4702
  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';
4419
4703
 
4420
- export declare type TJourneyId = JOURNEY_ID_STUDENT;
4704
+ export declare type TJourneyId = JOURNEY_ID_STUDENT | JOURNEY_ID_TEACHER;
4421
4705
 
4422
4706
  declare type TLayerKey = 'layer-1' | 'layer-2' | 'layer-3' | 'layer-4';
4423
4707
 
@@ -4664,11 +4948,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
4664
4948
 
4665
4949
  declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
4666
4950
 
4951
+ declare interface TNodeDataTestItemsDataProps {
4952
+ chapter_name: string;
4953
+ goal_name: string;
4954
+ ref: string;
4955
+ }
4956
+
4667
4957
  declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
4668
4958
 
4669
4959
  declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
4670
4960
 
4671
- 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';
4961
+ 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';
4962
+
4963
+ declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
4672
4964
 
4673
4965
  export declare type TOnPreSubmitOptions = {
4674
4966
  isDraftPlan: boolean;
@@ -4708,10 +5000,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
4708
5000
 
4709
5001
  declare type TQuery = {
4710
5002
  milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
4711
- with_plan: boolean;
4712
- course_stream: TCourseStream;
4713
5003
  student_id: string;
4714
- in_class?: boolean;
5004
+ course_stream: TCourseStream;
4715
5005
  };
4716
5006
 
4717
5007
  declare type TQuestionByQuestionOverviewList = {
@@ -4796,6 +5086,8 @@ declare type TSectionSummary = {
4796
5086
 
4797
5087
  declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
4798
5088
 
5089
+ declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
5090
+
4799
5091
  declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
4800
5092
 
4801
5093
  declare type TSheetBlockData = {
@@ -4857,6 +5149,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
4857
5149
 
4858
5150
  declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
4859
5151
 
5152
+ declare type TSheetStates = keyof typeof NODE_CARD_STATES;
5153
+
4860
5154
  export declare type TSkillStatus = 'pending' | 'completed';
4861
5155
 
4862
5156
  declare type TStickerData = {
@@ -4976,6 +5270,13 @@ export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: s
4976
5270
  registerCallback: (qrId: string, cb: (data: IActionData) => void) => void;
4977
5271
  };
4978
5272
 
5273
+ export declare const useChapterPageJourney: () => {
5274
+ chapterPageRef: RefObject<HTMLDivElement>;
5275
+ bannerRef: RefObject<HTMLDivElement>;
5276
+ coreBlocksRef: RefObject<HTMLDivElement>;
5277
+ startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
5278
+ };
5279
+
4979
5280
  export declare const useCircleSounds: () => {
4980
5281
  playSwipSound: () => void;
4981
5282
  play: (key: CircleSoundKey, immediately?: boolean, loop?: boolean) => HTMLAudioElement | undefined;
@@ -5025,7 +5326,7 @@ export declare const useGetCircleHomeDetailsDal: (userId: string, grade: string,
5025
5326
  invalidateCircleHomeDetails: () => void;
5026
5327
  };
5027
5328
 
5028
- export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => JOURNEY_ID_STUDENT[];
5329
+ export declare const useGetEligibleJourneysViaRoute: (routeJourneyIds: TJourneyId[]) => TJourneyId[];
5029
5330
 
5030
5331
  declare const useGetLeaderboard: (initialId?: string, initialQuery?: IGetLeaderboardPayloadModel | undefined) => {
5031
5332
  get: (id: string, query: IGetLeaderboardPayloadModel, meta: void) => Promise<void>;
@@ -5047,8 +5348,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
5047
5348
 
5048
5349
  export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
5049
5350
  get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
5050
- resource: ResourceModel<ISheetDataProps[]> | undefined;
5051
- data: ISheetDataProps[] | undefined;
5351
+ resource: ResourceModel<INodeDataProps[]> | undefined;
5352
+ data: INodeDataProps[] | undefined;
5052
5353
  permissions: Record<string, unknown> | undefined;
5053
5354
  isProcessing: boolean;
5054
5355
  isProcessed: boolean;
@@ -5063,8 +5364,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5063
5364
  get: (id: string, query: void, meta: {
5064
5365
  studentId: string;
5065
5366
  }) => Promise<void>;
5066
- resource: ResourceModel<ISheetDataProps[]> | undefined;
5067
- data: ISheetDataProps[] | undefined;
5367
+ resource: ResourceModel<INodeDataProps[]> | undefined;
5368
+ data: INodeDataProps[] | undefined;
5068
5369
  permissions: Record<string, unknown> | undefined;
5069
5370
  isProcessing: boolean;
5070
5371
  isProcessed: boolean;
@@ -5075,6 +5376,12 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5075
5376
  } & Record<string, unknown>) | undefined;
5076
5377
  };
5077
5378
 
5379
+ export declare const useHomePageJourney: () => {
5380
+ homepageRef: RefObject<HTMLDivElement>;
5381
+ homeworkRef: RefObject<HTMLDivElement>;
5382
+ startJourney: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
5383
+ };
5384
+
5078
5385
  export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
5079
5386
  studentClassroomId: string | undefined;
5080
5387
  }) => {
@@ -5163,7 +5470,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
5163
5470
  declare const ZINDEX: {
5164
5471
  readonly CHAPTER_CROWN_ICON: 4;
5165
5472
  readonly CHAPTER_PLUS_ICON: 2;
5166
- readonly CHAPTER_PROGRESS_SVG: 1;
5473
+ readonly CHAPTER_PROGRESS_SVG: 2;
5167
5474
  readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
5168
5475
  readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
5169
5476
  readonly MODAL: 20;