@cuemath/leap 2.9.3 → 2.9.4-as2

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 (266) 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/alarm.js +41 -0
  4. package/dist/assets/line-icons/icons/alarm.js.map +1 -0
  5. package/dist/assets/line-icons/icons/bin2.js +7 -8
  6. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  7. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  8. package/dist/assets/line-icons/icons/dart.js +23 -0
  9. package/dist/assets/line-icons/icons/dart.js.map +1 -0
  10. package/dist/assets/line-icons/icons/exclamation.js +26 -0
  11. package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
  12. package/dist/assets/line-icons/icons/home2.js +25 -0
  13. package/dist/assets/line-icons/icons/home2.js.map +1 -0
  14. package/dist/assets/line-icons/icons/important.js +23 -0
  15. package/dist/assets/line-icons/icons/important.js.map +1 -0
  16. package/dist/assets/line-icons/icons/puzzle.js +25 -0
  17. package/dist/assets/line-icons/icons/puzzle.js.map +1 -0
  18. package/dist/assets/line-icons/icons/recap.js +32 -0
  19. package/dist/assets/line-icons/icons/recap.js.map +1 -0
  20. package/dist/assets/line-icons/icons/skip-colored.js +43 -0
  21. package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
  22. package/dist/assets/line-icons/icons/status.js +41 -0
  23. package/dist/assets/line-icons/icons/status.js.map +1 -0
  24. package/dist/assets/line-icons/icons/testtube.js +33 -0
  25. package/dist/assets/line-icons/icons/testtube.js.map +1 -0
  26. package/dist/assets/lottie/lottie.js +9 -1
  27. package/dist/assets/lottie/lottie.js.map +1 -1
  28. package/dist/constants/api.js +3 -2
  29. package/dist/constants/api.js.map +1 -1
  30. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
  31. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  32. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
  33. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  34. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  35. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  36. package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
  37. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  38. package/dist/features/chapters-v2/api/chapter.js +10 -0
  39. package/dist/features/chapters-v2/api/chapter.js.map +1 -0
  40. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
  41. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
  42. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +26 -0
  43. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
  44. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +73 -0
  45. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
  46. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
  47. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
  48. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +97 -0
  49. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
  50. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +52 -0
  51. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
  52. package/dist/features/chapters-v2/chapter-details/chapter-details.js +103 -0
  53. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
  54. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
  55. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
  56. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +153 -0
  57. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
  58. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
  59. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
  60. package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
  61. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
  62. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
  63. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
  64. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +31 -0
  65. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
  66. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +171 -0
  67. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
  68. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +192 -0
  69. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
  70. package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
  71. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
  72. package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
  73. package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
  74. package/dist/features/chapters-v2/constants/block-constants.js +20 -0
  75. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
  76. package/dist/features/chapters-v2/constants/node-constants.js +14 -0
  77. package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
  78. package/dist/features/chapters-v2/utils/index.js +41 -0
  79. package/dist/features/chapters-v2/utils/index.js.map +1 -0
  80. package/dist/features/chapters-v2/utils/node-card-utils.js +144 -0
  81. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
  82. package/dist/features/communication/pub-sub/constants.js +5 -2
  83. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  84. package/dist/features/homework/card-menu-options.js +38 -0
  85. package/dist/features/homework/card-menu-options.js.map +1 -0
  86. package/dist/features/homework/card-title.js +15 -0
  87. package/dist/features/homework/card-title.js.map +1 -0
  88. package/dist/features/homework/homework-card-view.js +131 -0
  89. package/dist/features/homework/homework-card-view.js.map +1 -0
  90. package/dist/features/homework/homework-card.js +205 -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 +71 -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.js +199 -0
  97. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
  98. package/dist/features/homework/node-progress.js +29 -0
  99. package/dist/features/homework/node-progress.js.map +1 -0
  100. package/dist/features/homework/styles.js +130 -0
  101. package/dist/features/homework/styles.js.map +1 -0
  102. package/dist/features/journey/comps/coachmark/coachmark-styled.js +12 -5
  103. package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
  104. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  105. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  106. package/dist/features/journey/hooks/use-home-page-journey.js +145 -0
  107. package/dist/features/journey/hooks/use-home-page-journey.js.map +1 -0
  108. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  109. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  110. package/dist/features/journey/use-journey/journey-context-provider.js +36 -28
  111. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  112. package/dist/features/journey/use-journey/journey-styled.js +10 -5
  113. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  114. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  115. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  116. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
  117. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  118. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
  119. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  120. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
  121. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  122. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
  123. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  124. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
  125. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  126. package/dist/features/milestone/create/milestone-create.js +49 -43
  127. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  128. package/dist/features/milestone/create/utils/index.js +33 -38
  129. package/dist/features/milestone/create/utils/index.js.map +1 -1
  130. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  131. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  132. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  133. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  134. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
  135. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  136. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
  137. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  138. package/dist/features/milestone/edit/goal-edit-container.js +64 -62
  139. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  140. package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
  141. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  142. package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
  143. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  144. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  145. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  146. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
  147. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  148. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  149. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  150. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +136 -104
  151. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  152. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
  153. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  154. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +155 -175
  155. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  156. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
  157. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  158. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
  159. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  160. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
  161. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  162. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
  163. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  164. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
  165. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  166. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
  167. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  168. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +19 -23
  169. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  170. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
  171. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  172. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +96 -100
  173. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  174. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  175. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  176. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +114 -112
  177. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  178. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
  179. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
  180. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
  181. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
  182. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +85 -0
  183. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
  184. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +16 -18
  185. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  186. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +6 -34
  187. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -1
  188. package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
  189. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
  190. package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
  191. package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
  192. package/dist/features/recent-chapters/recent-chapters.js +85 -0
  193. package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
  194. package/dist/features/sheet-v2/resource-list/resource-list.js +39 -0
  195. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
  196. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  197. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  198. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
  199. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  200. package/dist/features/trial-session/api/trial-pricing.js +1 -1
  201. package/dist/features/trial-session/api/trial-pricing.js.map +1 -1
  202. package/dist/features/trial-session/comps/offering-information/offering-information.js +21 -21
  203. package/dist/features/trial-session/comps/offering-information/offering-information.js.map +1 -1
  204. package/dist/features/trial-session/comps/pricing/pricing-cards.js +144 -0
  205. package/dist/features/trial-session/comps/pricing/pricing-cards.js.map +1 -0
  206. package/dist/features/trial-session/comps/pricing/pricing.js +51 -128
  207. package/dist/features/trial-session/comps/pricing/pricing.js.map +1 -1
  208. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
  209. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  210. package/dist/features/ui/constants/z-index.js +1 -1
  211. package/dist/features/ui/constants/z-index.js.map +1 -1
  212. package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
  213. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  214. package/dist/features/ui/context-menu/context-menu.js +30 -15
  215. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  216. package/dist/features/ui/theme/button.js +22 -107
  217. package/dist/features/ui/theme/button.js.map +1 -1
  218. package/dist/index.d.ts +299 -32
  219. package/dist/index.js +498 -470
  220. package/dist/index.js.map +1 -1
  221. package/dist/node_modules/date-fns/differenceInDays.js +17 -0
  222. package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
  223. package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
  224. package/dist/static/competitive-arena.b9c40801.json +1 -0
  225. package/dist/static/learn.71b13323.json +1 -0
  226. package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
  227. package/dist/static/node-learn-bg.b61f815c.svg +1 -0
  228. package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
  229. package/dist/static/node-project-bg.e6a33e28.svg +1 -0
  230. package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
  231. package/dist/static/node-recap-bg.546154e4.svg +1 -0
  232. package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
  233. package/dist/static/node-video-bg.3df3f73a.svg +1 -0
  234. package/dist/static/practice.158dd488.json +1 -0
  235. package/dist/static/project.eb665827.json +1 -0
  236. package/dist/static/puzzle.b298c7e4.json +1 -0
  237. package/dist/static/recap.0dd2c1e2.json +1 -0
  238. package/dist/static/test.803d6036.json +1 -0
  239. package/dist/static/video.b41451e2.json +1 -0
  240. package/package.json +1 -1
  241. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
  242. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
  243. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
  244. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
  245. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
  246. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
  247. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
  248. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
  249. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
  250. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
  251. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
  252. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
  253. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
  254. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
  255. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
  256. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
  257. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
  258. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
  259. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
  260. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
  261. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
  262. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
  263. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
  264. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
  265. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
  266. 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';
@@ -48,6 +48,8 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
48
48
 
49
49
  export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
50
50
 
51
+ export declare const AlarmIcon: React.FC<React.SVGProps<SVGSVGElement>>;
52
+
51
53
  export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
52
54
 
53
55
  export declare const AppLoader: FC<IAppLoaderProps>;
@@ -92,7 +94,22 @@ declare const BLOCK_STATUS: {
92
94
  readonly LOCKED: "LOCKED";
93
95
  };
94
96
 
95
- declare const BLOCK_TYPE: {
97
+ declare enum BLOCK_TYPE {
98
+ DEFAULT = "DEFAULT",
99
+ PREREQ = "PREREQ",
100
+ RECAP = "RECAP",
101
+ GOAL = "GOAL",
102
+ TESTS = "TESTS",
103
+ PLAYLIST = "PLAYLIST",
104
+ SOLUTIONS = "SOLUTIONS",
105
+ NOTES = "NOTES",
106
+ FLASHCARDS = "FLASHCARDS",
107
+ SUBJECTIVES = "SUBJECTIVES",
108
+ PUZZLE_CARDS = "PUZZLE_CARDS",
109
+ SAT_MOCK_TEST = "SAT_MOCK_TEST"
110
+ }
111
+
112
+ declare const BLOCK_TYPE_2: {
96
113
  readonly DEFAULT: "DEFAULT";
97
114
  readonly PREREQ: "PREREQ";
98
115
  readonly RECAP: "RECAP";
@@ -146,6 +163,8 @@ declare const CHAPTER_PERMISSION_CODES: {
146
163
 
147
164
  export declare const ChapterClearanceConfirmationModal: FC<IChapterClearanceConfirmationModal>;
148
165
 
166
+ export declare const ChapterDetails: FC<IChapterDetails>;
167
+
149
168
  export declare const ChaptersList: FC<IChaptersListProps>;
150
169
 
151
170
  export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -259,6 +278,8 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
259
278
 
260
279
  export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
261
280
 
281
+ export declare const DartIcon: React.FC<React.SVGProps<SVGSVGElement>>;
282
+
262
283
  export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
263
284
 
264
285
  export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
@@ -331,6 +352,7 @@ declare interface ErrorProps {
331
352
  }
332
353
 
333
354
  export declare const EVENTS: {
355
+ HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
334
356
  GOAL_CREATED: "GOAL_CREATED";
335
357
  GOAL_EDITED: "GOAL_EDITED";
336
358
  GOAL_DELETED: "GOAL_DELETED";
@@ -360,6 +382,8 @@ declare type EventToPayload<T> = T extends {
360
382
  eventPayload: infer P;
361
383
  } ? [E] | [E, Partial<P>] : never;
362
384
 
385
+ export declare const ExclamationIcon: React.FC<React.SVGProps<SVGSVGElement>>;
386
+
363
387
  export declare const ExpandableHeader: FC<IExpandableHeaderProps>;
364
388
 
365
389
  declare const EXTRA_PRACTICE: "extra_practice";
@@ -469,8 +493,22 @@ export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
469
493
 
470
494
  export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
471
495
 
496
+ export declare const HomeworkCardList: React_2.FC<HWCardListProps>;
497
+
472
498
  declare const hues: readonly ["YELLOW", "ORANGE", "PURPLE", "GREEN", "BLUE"];
473
499
 
500
+ declare interface HWCardListProps extends INodeCardCallbacks {
501
+ userType: TUserTypes;
502
+ studentId: string;
503
+ stream: string;
504
+ onTestPreview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
505
+ onTestStart?: (sheetData: INodeDataProps) => void;
506
+ onTestReview?: (sheetData: INodeDataProps, milestoneId?: string) => void;
507
+ homeworkRef?: React_2.RefObject<HTMLDivElement>;
508
+ individualHomeworkRef?: React_2.RefObject<HTMLDivElement>;
509
+ startHomePageJourney?: (homeworkDetails: INodeDataProps[], studentId: string, stream: string) => void;
510
+ }
511
+
474
512
  declare interface IAccordionSectionProps {
475
513
  headerElement: React.ReactElement;
476
514
  bodyElement: React.ReactElement;
@@ -527,6 +565,7 @@ export declare interface IArrowTooltipProps {
527
565
  width?: number;
528
566
  widthX?: number;
529
567
  zIndex?: number;
568
+ parentWidth?: number | string;
530
569
  }
531
570
 
532
571
  declare interface IAttempt {
@@ -627,6 +666,10 @@ declare interface IBaseWorksheetProps {
627
666
  canShowActionBar?: boolean;
628
667
  }
629
668
 
669
+ declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
670
+ onBlockSkipUnskip?: (blockData: IChapterBlockData, skipBlock?: boolean) => void;
671
+ }
672
+
630
673
  declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
631
674
  label: string;
632
675
  renderAs: TButtonVariants;
@@ -697,10 +740,28 @@ declare interface ICascadingSelectInputProps {
697
740
 
698
741
  declare interface IChapter extends IChapterState, Pick<IChapterModel, 'code' | 'id' | 'chapter_code' | 'image_url' | 'name' | 'chapter_tags' | 'state' | 'recommended' | 'is_puzzle_chapter' | 'program_id'> {
699
742
  search_and_added?: boolean;
700
- total_supplementary_sheets: number;
701
743
  learning_sheet_data: ILearningSheetData[];
702
744
  }
703
745
 
746
+ export declare interface IChapterBlockData {
747
+ block_type: keyof typeof BLOCK_TYPE;
748
+ chapter_code: string;
749
+ code: string;
750
+ block_id: string;
751
+ is_skipped: boolean;
752
+ name: string;
753
+ permissions: IChapterBlockPermission;
754
+ program_id: string;
755
+ section_code: keyof typeof SECTION_CODE;
756
+ sheets: INodeDataProps[];
757
+ user_block_id: string | null;
758
+ }
759
+
760
+ declare interface IChapterBlockPermission {
761
+ can_skip: boolean;
762
+ can_un_skip: boolean;
763
+ }
764
+
704
765
  export declare interface IChapterBlockV3 {
705
766
  completed_on: number | null;
706
767
  sheets: IWorksheetModelV3[];
@@ -730,11 +791,24 @@ export declare interface IChapterDataProps {
730
791
  user_chapter_progress: IUserChapterProgressProps;
731
792
  state: TUserChapterStates | null;
732
793
  program_id: string;
794
+ progress_stat: {
795
+ classwork: IMilestoneData['progress_stat'];
796
+ mandatory: IMilestoneData['progress_stat'];
797
+ optional: IMilestoneData['progress_stat'];
798
+ };
733
799
  sheets_data: {
734
800
  lessons: ILessonsListProps['lessons'];
735
801
  supplementary_sheets_group_sort_order: string[];
736
802
  supplementary_sheets_grouped: Record<string, ISheetsListProps['sheets']>;
737
803
  };
804
+ blocks: IUserChapterData['blocks'];
805
+ }
806
+
807
+ declare interface IChapterDetails extends IBlockSectionsCallbacks {
808
+ userType: TUserTypes;
809
+ userChapterId: string;
810
+ studentId: string;
811
+ onExit?: () => void;
738
812
  }
739
813
 
740
814
  declare interface IChapterModel {
@@ -759,6 +833,18 @@ declare interface IChapterModel {
759
833
  mastery_time: number;
760
834
  chapter_time_unit: TTimeUnit;
761
835
  is_puzzle_chapter?: boolean;
836
+ blocks: IUserChapterData['blocks'];
837
+ }
838
+
839
+ declare interface IChapterProgressInfo {
840
+ completed: number;
841
+ total: number;
842
+ }
843
+
844
+ declare interface IChapterProgressStats {
845
+ mandatory: IChapterProgressInfo;
846
+ class_work: IChapterProgressInfo;
847
+ optional: IChapterProgressInfo;
762
848
  }
763
849
 
764
850
  declare interface IChapterProps extends IChapterDataProps, IChapterCallbackProps {
@@ -936,6 +1022,9 @@ declare interface IContextMenuProps {
936
1022
  menuZIndex?: number;
937
1023
  startLeft?: boolean;
938
1024
  placeTop?: boolean;
1025
+ menuWidth?: number | string;
1026
+ menuWidthX?: number;
1027
+ handleOnMenuClick?: () => void;
939
1028
  }
940
1029
 
941
1030
  declare interface ICountdownTimer {
@@ -1194,7 +1283,7 @@ declare interface IGoalCurriculumMap {
1194
1283
  blocked_enrollment_types: TEnrollmentTypes[];
1195
1284
  blocked_countries: string[];
1196
1285
  course_stream: TCourseStream;
1197
- goal_category: TGoalCategory;
1286
+ goal_category: TGoalCategory_2;
1198
1287
  goal_curriculum_standard?: string;
1199
1288
  goal_code: string;
1200
1289
  goal_description: string | null;
@@ -1223,6 +1312,11 @@ declare interface IGradeSelectorProps {
1223
1312
  layoutAlignment?: 'center' | 'auto';
1224
1313
  }
1225
1314
 
1315
+ export declare interface IHomeworkData extends INodeDataProps {
1316
+ homework_id: string;
1317
+ chapter_name: string;
1318
+ }
1319
+
1226
1320
  declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape' | 'widthX' | 'width' | 'iconPosition' | 'alignSelf' | 'analyticsLabel' | 'renderAs'>, Required<Pick<IClickableAnalyticsProps, 'analyticsLabel'>> {
1227
1321
  Icon: React.FC<React.SVGProps<SVGSVGElement>>;
1228
1322
  customBgColor?: TColorNames;
@@ -1316,8 +1410,12 @@ export declare interface IJourneyContext {
1316
1410
  * @param id - The journey identifier.
1317
1411
  * @param keepPrevActive - If `true`, the previous coachmark remains active while transitioning to the next one.
1318
1412
  * @param delayInMs - Optional delay (in milliseconds) before rendering the current coachmark.
1413
+
1414
+
1415
+ // todo
1416
+
1319
1417
  */
1320
- nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number) => void;
1418
+ nextCoachmark: (id: TJourneyId, keepPrevActive?: boolean, delayInMs?: number, shouldBlurNextJourney?: boolean) => void;
1321
1419
  /**
1322
1420
  * Must be called to end journey and update the journey status on server.
1323
1421
  * @param id - The journey id.
@@ -1397,8 +1495,7 @@ declare interface ILeaderboardProps {
1397
1495
  }
1398
1496
 
1399
1497
  declare interface ILearningSheetData {
1400
- title: string;
1401
- learnosityRef: string;
1498
+ name: string;
1402
1499
  }
1403
1500
 
1404
1501
  declare interface ILearnosity {
@@ -1603,6 +1700,7 @@ export declare const ILLUSTRATIONS: {
1603
1700
  CHAPTER_8: string;
1604
1701
  CHAPTER_9: string;
1605
1702
  CHAPTER_HEADER_BG: string;
1703
+ CHAPTER_HEADER_BG_2: string;
1606
1704
  CIRCLE_CUEMATH_LOGO: string;
1607
1705
  CIRCLE_OUTERCIRCLE_BG: string;
1608
1706
  CLOCK_ORANGE: string;
@@ -1644,6 +1742,14 @@ export declare const ILLUSTRATIONS: {
1644
1742
  MILESTONE_INTRO_2: string;
1645
1743
  MILESTONE_INTRO_3: string;
1646
1744
  MISTAKE: string;
1745
+ NODE_CUSTOM_TEST_BG: string;
1746
+ NODE_LEARN_BG: string;
1747
+ NODE_PRACTICE_BG: string;
1748
+ NODE_PROJECT_BG: string;
1749
+ NODE_PUZZLE_BG: string;
1750
+ NODE_RECAP_BG: string;
1751
+ NODE_TEST_PREP_BG: string;
1752
+ NODE_VIDEO_BG: string;
1647
1753
  NUMBER_1_ORANGE: string;
1648
1754
  NUMBER_2_ORANGE: string;
1649
1755
  NUMBER_3_ORANGE: string;
@@ -1824,7 +1930,7 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
1824
1930
  parentName?: string;
1825
1931
  teacherName?: string;
1826
1932
  onEdit?: (editProps: IMilestoneEditProps) => void;
1827
- onAddOutcome?: (milestoneId: string) => void;
1933
+ onAddOutcome?: (milestoneId?: string) => void;
1828
1934
  onChapterClick: IChaptersListProps['onChapterClick'];
1829
1935
  isClassOngoing?: boolean;
1830
1936
  isStudentPresent?: boolean;
@@ -1863,6 +1969,8 @@ declare interface IMileStoneCreateProps {
1863
1969
  milestoneId?: string;
1864
1970
  currentCountryCode?: string;
1865
1971
  courseStream: TCourseStream;
1972
+ canDeleteGoal?: boolean;
1973
+ onDeleteGoal?: () => void;
1866
1974
  onChapterExitWarning?: (chapterExitProps: IOnChapterExitWarningProps) => void;
1867
1975
  onFormDataChange?: (formData: IMilestoneFormData) => void;
1868
1976
  onExit?: () => void;
@@ -1876,7 +1984,7 @@ export declare interface IMilestoneData {
1876
1984
  course_stream: TCourseStream;
1877
1985
  grade: string;
1878
1986
  board: string;
1879
- goal_category: TGoalCategory_2;
1987
+ goal_category: TGoalCategory;
1880
1988
  goal_code: string | null;
1881
1989
  created_on_ts: number;
1882
1990
  milestone_date_ts: number;
@@ -1891,6 +1999,10 @@ export declare interface IMilestoneData {
1891
1999
  user_milestone_progress: IUserChapterProgressProps | null;
1892
2000
  permissions: IMilestoneCardPermissions;
1893
2001
  recommended_chapter_filters: TRecommendedChaptersFilter | null;
2002
+ progress_stat: {
2003
+ total: number;
2004
+ completed: number;
2005
+ } | null;
1894
2006
  }
1895
2007
 
1896
2008
  declare interface IMileStoneEditContainerProps extends IMileStoneCreateContainerProps {
@@ -1968,7 +2080,7 @@ declare interface IMilestoneStartProps {
1968
2080
  handleOnClick?: () => void;
1969
2081
  }
1970
2082
 
1971
- declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, ISheetItemCallbackProps {
2083
+ declare interface IMilestoneTabsProps extends Pick<IChaptersListProps, 'chapters' | 'onAddChapter' | 'onChapterClick' | 'isGoalCreation'>, Pick<IMilestoneWidgetResourcesProps, 'onAssignResources' | 'isDraftMilestone'>, ITestsListProps, INodeCardCallbacks {
1972
2084
  isPlanAvailable: boolean;
1973
2085
  isMilestoneActive: boolean;
1974
2086
  goalCategory: IMilestoneData['goal_category'];
@@ -2003,7 +2115,7 @@ declare interface IMilestoneWidgetProps extends Omit<IMilestoneWidgetResourcesPr
2003
2115
  courseStream: TCourseStream;
2004
2116
  }
2005
2117
 
2006
- declare interface IMilestoneWidgetResourcesProps extends ISheetItemCallbackProps {
2118
+ declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
2007
2119
  userType: TUserTypes;
2008
2120
  studentId: string;
2009
2121
  userMilestoneId?: string;
@@ -2045,6 +2157,65 @@ export declare const Info2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
2045
2157
 
2046
2158
  export declare const InfoIcon: React.FC<React.SVGProps<SVGSVGElement>>;
2047
2159
 
2160
+ declare interface INodeCardCallbacks {
2161
+ onNodeAttempt?: (nodeData: INodeDataProps) => void;
2162
+ onNodeView?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2163
+ onNodeReview?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2164
+ onNodeReattempt?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2165
+ onNodeAttemptLocationChange?: (nodeData: INodeDataProps) => void;
2166
+ onNodeMarkAsDone?: (nodeData: INodeDataProps) => void;
2167
+ onNodeReset?: (nodeData: INodeDataProps, milestoneId?: string) => void;
2168
+ onNodeUnassign?: (nodeData: INodeDataProps | IHomeworkData, milestoneId?: string) => void;
2169
+ }
2170
+
2171
+ export declare interface INodeDataProps {
2172
+ accuracy: number | null;
2173
+ attempt_location: TSheetAttemptLocation_2;
2174
+ block_id: string;
2175
+ card_header: string;
2176
+ chapter_id: string;
2177
+ complete_status: boolean;
2178
+ course_type: TCourseType;
2179
+ desmos_calculator_enabled: boolean;
2180
+ due_date_ts: number | null;
2181
+ is_lesson_v3_enabled: boolean;
2182
+ is_optional: boolean;
2183
+ is_timed: boolean;
2184
+ is_worksheet_v3: boolean | null;
2185
+ learnosity_activity_ref: string;
2186
+ marked_as_completed: boolean;
2187
+ node_id: string;
2188
+ node_type: TNodeTypes_2;
2189
+ sheet_statement: string;
2190
+ permissions: INodePermissions;
2191
+ sheet_time: number | null;
2192
+ state: TSheetStates;
2193
+ title: string;
2194
+ user_chapter_id: string | null;
2195
+ user_node_id: string | null;
2196
+ worksheet_id: string;
2197
+ image_url: string;
2198
+ image_hue: THueNames;
2199
+ total_questions: number | null;
2200
+ unlocked_on_ts: number | null;
2201
+ items?: TNodeDataTestItemsDataProps[];
2202
+ user_milestone_id?: string;
2203
+ user_attempt_id: string | null;
2204
+ subtext: string | null;
2205
+ }
2206
+
2207
+ declare interface INodePermissions {
2208
+ can_change_attempt_location: boolean;
2209
+ can_mark_familiar: boolean;
2210
+ can_reattempt: boolean;
2211
+ can_reset: boolean;
2212
+ can_resume: boolean;
2213
+ can_review: boolean;
2214
+ can_start: boolean;
2215
+ can_teacher_review: boolean;
2216
+ can_unassign: boolean;
2217
+ }
2218
+
2048
2219
  export declare interface INudgeProps {
2049
2220
  nudge: 'click';
2050
2221
  content: ReactNode;
@@ -2053,6 +2224,10 @@ export declare interface INudgeProps {
2053
2224
  zIndex?: number;
2054
2225
  }
2055
2226
 
2227
+ export declare const invalidateGetChapterDetails: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2228
+
2229
+ export declare const invalidateHomeworks: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2230
+
2056
2231
  export declare const invalidateMilestoneResources: (id: string, query?: void | undefined, allIdsInvalid?: boolean) => void;
2057
2232
 
2058
2233
  export declare const invalidateMilestonesData: (query?: TQuery | undefined) => void;
@@ -2819,13 +2994,7 @@ declare interface ITestsCreationProps {
2819
2994
  onError: (errorMessage?: string) => void;
2820
2995
  }
2821
2996
 
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 {
2997
+ declare interface ITestsListProps {
2829
2998
  userType: TUserTypes;
2830
2999
  studentId: string;
2831
3000
  userMilestoneId: string;
@@ -2834,6 +3003,10 @@ declare interface ITestsListProps extends ITestSheetItemCallbackProps {
2834
3003
  isDraftMilestone?: boolean;
2835
3004
  isChaptersAvailable?: boolean;
2836
3005
  canUpdatePlan?: boolean;
3006
+ onNodeReattempt?: (sheetData: INodeDataProps, milestoneId?: string) => void;
3007
+ onTestPreview?: (sheetData: INodeDataProps, milestoneId: string) => void;
3008
+ onTestStart?: (sheetData: INodeDataProps) => void;
3009
+ onTestReview?: (sheetData: INodeDataProps, milestoneId: string) => void;
2837
3010
  }
2838
3011
 
2839
3012
  declare interface ITextButtonProps extends IClickableAnalyticsProps {
@@ -3078,6 +3251,20 @@ declare interface IusePointerSyncProps {
3078
3251
  targetUserId?: string;
3079
3252
  }
3080
3253
 
3254
+ export declare interface IUserChapterData {
3255
+ chapter_code: string;
3256
+ chapter_id: string;
3257
+ chapter_tags: string[];
3258
+ id: string;
3259
+ image_hue: THueNames;
3260
+ image_url: string;
3261
+ item_bank_enabled: boolean;
3262
+ name: string;
3263
+ program_id: string;
3264
+ progress_stat: IChapterProgressStats | null;
3265
+ blocks: IChapterBlockData[];
3266
+ }
3267
+
3081
3268
  declare interface IUserChapterProgressProps {
3082
3269
  familiar_sheets: number;
3083
3270
  mastered_sheets: number;
@@ -3431,7 +3618,8 @@ export declare enum JOURNEY_ID_STUDENT {
3431
3618
  CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
3432
3619
  CIRCLE_TUTORIAL_JOURNEY = "CIRCLE_TUTORIAL_JOURNEY",
3433
3620
  CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
3434
- CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY"
3621
+ CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
3622
+ HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY"
3435
3623
  }
3436
3624
 
3437
3625
  export declare const JourneyProvider: FC<IJourneyProviderProps>;
@@ -3476,6 +3664,7 @@ export declare const LOTTIE: {
3476
3664
  COLOR_1: string;
3477
3665
  COLOR_2: string;
3478
3666
  COLOR_3: string;
3667
+ COMPETITIVE_ARENA: string;
3479
3668
  DIFFICULT: string;
3480
3669
  EASY: string;
3481
3670
  ELITE_CIRCLE: string;
@@ -3488,6 +3677,7 @@ export declare const LOTTIE: {
3488
3677
  GOLD_3: string;
3489
3678
  INFINITE_BUTTON_BG: string;
3490
3679
  INFINITE_BUTTON_SYMBOL: string;
3680
+ LEARN: string;
3491
3681
  LEVELUP_RINGS: string;
3492
3682
  MEDIUM: string;
3493
3683
  NUDGE_TAP: string;
@@ -3507,8 +3697,12 @@ export declare const LOTTIE: {
3507
3697
  POINT50: string;
3508
3698
  POINT5: string;
3509
3699
  POINT60: string;
3700
+ PRACTICE: string;
3510
3701
  PROFICIENT1X: string;
3702
+ PROJECT: string;
3703
+ PUZZLE: string;
3511
3704
  RANDOM_MODE_SEGMENT_LOTTIE: string;
3705
+ RECAP: string;
3512
3706
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
3513
3707
  SILVER_1: string;
3514
3708
  SILVER_2: string;
@@ -3521,10 +3715,12 @@ export declare const LOTTIE: {
3521
3715
  TABLE_SEGMENT_STAR: string;
3522
3716
  TARGET_ACHIEVED_TEXT: string;
3523
3717
  TEACHER_VALIDATION: string;
3718
+ TEST: string;
3524
3719
  TOTAL_STREAK: string;
3525
3720
  TOTAL_TIME: string;
3526
3721
  TOTAL_TIME_SPENT: string;
3527
3722
  TOURNAMENT_RIPPLE: string;
3723
+ VIDEO: string;
3528
3724
  };
3529
3725
 
3530
3726
  export declare const LPARChapter: FC<ILPARChapterProps>;
@@ -3563,6 +3759,21 @@ export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
3563
3759
 
3564
3760
  export declare const NextIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3565
3761
 
3762
+ declare enum NODE_CARD_COURSE_TYPES {
3763
+ PROGRAM = "PROGRAM",
3764
+ REMEDIAL = "REMEDIAL",
3765
+ TEST_SERIES = "TEST_SERIES",
3766
+ EXAM = "EXAM"
3767
+ }
3768
+
3769
+ declare enum NODE_CARD_STATES {
3770
+ LOCKED = "LOCKED",
3771
+ NOT_STARTED = "NOT_STARTED",
3772
+ WAIT_FOR_REVIEW = "WAIT_FOR_REVIEW",
3773
+ IN_PROGRESS = "IN_PROGRESS",
3774
+ COMPLETED = "COMPLETED"
3775
+ }
3776
+
3566
3777
  export declare const NODE_LABELS: {
3567
3778
  readonly ASSESSMENT: "ASSESSMENT";
3568
3779
  readonly CHAPTER_ASSESSMENT: "ASSESSMENT";
@@ -3795,6 +4006,8 @@ declare const PUZZLE_CARD_STATE: {
3795
4006
 
3796
4007
  declare const PUZZLE_CARDS: "puzzle_cards";
3797
4008
 
4009
+ export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4010
+
3798
4011
  export declare const PYTHON_NODE_TYPES: {
3799
4012
  readonly PPT_BASIC: "PPT_BASIC";
3800
4013
  readonly PPT_CONTENT: "PPT_CONTENT";
@@ -3815,6 +4028,17 @@ export declare const RadioCard: <IDType extends string | number>({ options, valu
3815
4028
 
3816
4029
  export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => JSX.Element;
3817
4030
 
4031
+ export declare const RecapIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4032
+
4033
+ export declare const RecentChapters: FC<RecentChaptersProps>;
4034
+
4035
+ declare interface RecentChaptersProps {
4036
+ studentId: string;
4037
+ courseStream: TCourseStream;
4038
+ userType: TUserTypes;
4039
+ onChapterClick: IChaptersListProps['onChapterClick'];
4040
+ }
4041
+
3818
4042
  export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
3819
4043
 
3820
4044
  export declare const ReferenceSheet: FC<IReferenceSheetProps>;
@@ -3841,6 +4065,18 @@ export declare const SearchableSelectInput: <IDType extends string | number>(pro
3841
4065
 
3842
4066
  export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3843
4067
 
4068
+ declare enum SECTION_CODE {
4069
+ READINESS = "READINESS",
4070
+ GOALS = "GOALS",
4071
+ TESTS = "TESTS",
4072
+ ENRICHMENT = "ENRICHMENT",
4073
+ SUBJECTIVE = "SUBJECTIVE",
4074
+ VIDEOS = "VIDEOS",
4075
+ NOTES = "NOTES",
4076
+ FLASHCARDS = "FLASHCARDS",
4077
+ PUZZLE_CARDS = "PUZZLE_CARDS"
4078
+ }
4079
+
3844
4080
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => JSX.Element;
3845
4081
 
3846
4082
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => JSX.Element;
@@ -3900,6 +4136,8 @@ export { SketchIcon }
3900
4136
 
3901
4137
  export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
3902
4138
 
4139
+ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4140
+
3903
4141
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3904
4142
 
3905
4143
  export declare const SplashScreen: ({ animationCompleted }: {
@@ -3928,6 +4166,8 @@ export declare enum State {
3928
4166
  HOLD = "HOLD"
3929
4167
  }
3930
4168
 
4169
+ export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4170
+
3931
4171
  export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX_2.Element;
3932
4172
 
3933
4173
  declare const STICKER_BADGE: {
@@ -4042,11 +4282,11 @@ declare type TBlockStatsData = {
4042
4282
 
4043
4283
  declare type TBlockStatus = keyof typeof BLOCK_STATUS;
4044
4284
 
4045
- declare type TBlockType = keyof typeof BLOCK_TYPE;
4285
+ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
4046
4286
 
4047
4287
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
4048
4288
 
4049
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary';
4289
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray';
4050
4290
 
4051
4291
  declare type TCallback = (messages: TInclassMessage[]) => void;
4052
4292
 
@@ -4139,6 +4379,8 @@ declare type TCourseProgramPermissions = {
4139
4379
 
4140
4380
  declare type TCourseStream = (typeof COURSE_STREAMS)[keyof typeof COURSE_STREAMS];
4141
4381
 
4382
+ declare type TCourseType = keyof typeof NODE_CARD_COURSE_TYPES;
4383
+
4142
4384
  declare type TCreateOnPresubmit = (options: TOnPreSubmitOptions) => void;
4143
4385
 
4144
4386
  declare type TCueCanvasChangeDataObject = Record<string, TDrawingData[]>;
@@ -4168,6 +4410,8 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
4168
4410
 
4169
4411
  export declare const TestsCreation: FC<ITestsCreationProps>;
4170
4412
 
4413
+ export declare const TestTubeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4414
+
4171
4415
  /**
4172
4416
  * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
4173
4417
  */
@@ -4194,9 +4438,9 @@ declare interface TextProps {
4194
4438
 
4195
4439
  export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
4196
4440
 
4197
- declare type TGoalCategory = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4441
+ declare type TGoalCategory = keyof typeof GOAL_CATEGORY | null;
4198
4442
 
4199
- declare type TGoalCategory_2 = keyof typeof GOAL_CATEGORY | null;
4443
+ declare type TGoalCategory_2 = (typeof GOAL_CATEGORY)[keyof typeof GOAL_CATEGORY];
4200
4444
 
4201
4445
  declare interface TGoals {
4202
4446
  goal_code?: string;
@@ -4284,6 +4528,11 @@ export declare type TInclassMessage = {
4284
4528
  eventPayload: {
4285
4529
  worksheetId: string;
4286
4530
  };
4531
+ } | {
4532
+ eventName: typeof EVENTS.HOMEWORK_UNASSIGN;
4533
+ eventPayload: {
4534
+ studentId: string;
4535
+ };
4287
4536
  } | {
4288
4537
  eventName: typeof EVENTS.CHAPTER_UPDATED;
4289
4538
  eventPayload: {
@@ -4660,11 +4909,19 @@ declare type TMilestoneStates = 'ACTIVE' | 'OUTCOME_PENDING' | 'OUTCOME_ADDED' |
4660
4909
 
4661
4910
  declare type TMilestoneType = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
4662
4911
 
4912
+ declare interface TNodeDataTestItemsDataProps {
4913
+ chapter_name: string;
4914
+ goal_name: string;
4915
+ ref: string;
4916
+ }
4917
+
4663
4918
  declare type TNodeSubGroupProps = keyof typeof NODE_SUB_GROUP;
4664
4919
 
4665
4920
  declare type TNodeTypeProps = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
4666
4921
 
4667
- 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';
4922
+ 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';
4923
+
4924
+ declare type TNodeTypes_2 = keyof typeof NODE_TYPE | keyof typeof PYTHON_NODE_TYPES | keyof typeof SAT_NODE_TYPE;
4668
4925
 
4669
4926
  export declare type TOnPreSubmitOptions = {
4670
4927
  isDraftPlan: boolean;
@@ -4704,10 +4961,8 @@ declare type TPuzzleCardBlockStatus = keyof typeof PUZZLE_CARD_STATE | '';
4704
4961
 
4705
4962
  declare type TQuery = {
4706
4963
  milestone_state_group: 'ALL' | 'DRAFT' | 'STUDENT_ALL' | 'LIVE' | 'STUDENT_LIVE' | 'INACTIVE';
4707
- with_plan: boolean;
4708
- course_stream: TCourseStream;
4709
4964
  student_id: string;
4710
- in_class?: boolean;
4965
+ course_stream: TCourseStream;
4711
4966
  };
4712
4967
 
4713
4968
  declare type TQuestionByQuestionOverviewList = {
@@ -4792,6 +5047,8 @@ declare type TSectionSummary = {
4792
5047
 
4793
5048
  declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
4794
5049
 
5050
+ declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
5051
+
4795
5052
  declare type TSheetAttemptStateProps = keyof typeof SHEET_ATTEMPT_STATE;
4796
5053
 
4797
5054
  declare type TSheetBlockData = {
@@ -4853,6 +5110,8 @@ export declare type TSheetsSection = 'core_lessons' | 'supplementary_sheets' | '
4853
5110
 
4854
5111
  declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMILIAR' | 'PROFICIENT' | 'MASTERED' | 'COMPLETED' | 'RE_ATTEMPT';
4855
5112
 
5113
+ declare type TSheetStates = keyof typeof NODE_CARD_STATES;
5114
+
4856
5115
  export declare type TSkillStatus = 'pending' | 'completed';
4857
5116
 
4858
5117
  declare type TStickerData = {
@@ -5043,8 +5302,8 @@ export declare const useGetLeaderboardDal: (userId: string) => Omit<ReturnType<t
5043
5302
 
5044
5303
  export declare const useGetMilestoneResources: (initialId?: string, initialQuery?: void | undefined) => {
5045
5304
  get: (id: string, query: void, meta: IGetMilestoneResourcesAPIMetaData) => Promise<void>;
5046
- resource: ResourceModel<ISheetDataProps[]> | undefined;
5047
- data: ISheetDataProps[] | undefined;
5305
+ resource: ResourceModel<INodeDataProps[]> | undefined;
5306
+ data: INodeDataProps[] | undefined;
5048
5307
  permissions: Record<string, unknown> | undefined;
5049
5308
  isProcessing: boolean;
5050
5309
  isProcessed: boolean;
@@ -5059,8 +5318,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5059
5318
  get: (id: string, query: void, meta: {
5060
5319
  studentId: string;
5061
5320
  }) => Promise<void>;
5062
- resource: ResourceModel<ISheetDataProps[]> | undefined;
5063
- data: ISheetDataProps[] | undefined;
5321
+ resource: ResourceModel<INodeDataProps[]> | undefined;
5322
+ data: INodeDataProps[] | undefined;
5064
5323
  permissions: Record<string, unknown> | undefined;
5065
5324
  isProcessing: boolean;
5066
5325
  isProcessed: boolean;
@@ -5071,6 +5330,14 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
5071
5330
  } & Record<string, unknown>) | undefined;
5072
5331
  };
5073
5332
 
5333
+ export declare const useHomePageJourney: () => {
5334
+ homepageRef: RefObject<HTMLDivElement>;
5335
+ homeworkRef: RefObject<HTMLDivElement>;
5336
+ individualHomeworkRef: RefObject<HTMLDivElement>;
5337
+ recentChaptersRef: RefObject<HTMLDivElement>;
5338
+ startJourney: (hwDetails: IHomeworkData[], studentId: string, stream: TCourseStream, userType: TUserTypes) => void;
5339
+ };
5340
+
5074
5341
  export declare const useInClassActionDispatcher: ({ studentClassroomId, }: {
5075
5342
  studentClassroomId: string | undefined;
5076
5343
  }) => {
@@ -5159,7 +5426,7 @@ export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
5159
5426
  declare const ZINDEX: {
5160
5427
  readonly CHAPTER_CROWN_ICON: 4;
5161
5428
  readonly CHAPTER_PLUS_ICON: 2;
5162
- readonly CHAPTER_PROGRESS_SVG: 1;
5429
+ readonly CHAPTER_PROGRESS_SVG: 2;
5163
5430
  readonly LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1;
5164
5431
  readonly LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2;
5165
5432
  readonly MODAL: 20;