@cuemath/leap 3.2.9-link.0 → 3.2.9-pzd-0.1-testing

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 (185) hide show
  1. package/dist/assets/illustrations/illustrations.js +1 -6
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +5 -9
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/analytics-events/platform-events-student.js +2 -1
  6. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  7. package/dist/features/analytics-events/platform-events-teacher.js +6 -4
  8. package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
  9. package/dist/features/analytics-events/whitelist-events.js +10 -8
  10. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  11. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +12 -17
  12. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  13. package/dist/features/auth/comps/resend-otp/resend-otp.js +47 -54
  14. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  15. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +17 -29
  16. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  17. package/dist/features/auth/comps/tabs/tabs-styled.js +10 -22
  18. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  19. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +19 -19
  20. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  21. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
  22. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
  23. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
  24. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
  25. package/dist/features/circle-games/sign-up/constants.js +3 -1
  26. package/dist/features/circle-games/sign-up/constants.js.map +1 -1
  27. package/dist/features/communication/pub-sub/constants.js +7 -4
  28. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  29. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
  30. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
  31. package/dist/features/homework/homework-card-view.js +85 -97
  32. package/dist/features/homework/homework-card-view.js.map +1 -1
  33. package/dist/features/homework/homework-card.js +44 -42
  34. package/dist/features/homework/homework-card.js.map +1 -1
  35. package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
  36. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
  37. package/dist/features/homework/hw-card-list/hw-card-list.js +57 -50
  38. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
  39. package/dist/features/homework/utils.js +33 -27
  40. package/dist/features/homework/utils.js.map +1 -1
  41. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +17 -11
  42. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
  43. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
  44. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
  45. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
  46. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
  47. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
  48. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
  49. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
  50. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
  51. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
  52. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
  53. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
  54. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
  55. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
  56. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
  57. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
  58. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
  59. package/dist/features/journey/journey-id/journey-id-student.js +2 -2
  60. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  61. package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
  62. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
  63. package/dist/features/puzzles/api/puzzle-dashboard.js +10 -0
  64. package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
  65. package/dist/features/puzzles/comps/puzzle-card-styled.js +24 -69
  66. package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
  67. package/dist/features/puzzles/comps/puzzle-card.js +72 -30
  68. package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
  69. package/dist/features/puzzles/constants/puzzle-container.js +8 -0
  70. package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
  71. package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
  72. package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
  73. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
  74. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
  75. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
  76. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
  77. package/dist/features/puzzles/puzzle-container/puzzle-container.js +98 -108
  78. package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
  79. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
  80. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
  81. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
  82. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
  83. package/dist/features/puzzles/utils/puzzle-pattern.js +28 -13
  84. package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
  85. package/dist/features/ui/error/error.js +65 -27
  86. package/dist/features/ui/error/error.js.map +1 -1
  87. package/dist/features/ui/image/image.js +1 -1
  88. package/dist/features/ui/image/image.js.map +1 -1
  89. package/dist/features/ui/inputs/base-input/base-input.js +11 -11
  90. package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
  91. package/dist/features/ui/inputs/text-input/text-input.js +18 -19
  92. package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
  93. package/dist/features/ui/modals/modal-styled.js +35 -28
  94. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  95. package/dist/features/ui/modals/modal.js +40 -14
  96. package/dist/features/ui/modals/modal.js.map +1 -1
  97. package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
  98. package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
  99. package/dist/features/ui/streak-icon/streak-icon.js +17 -15
  100. package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
  101. package/dist/features/ui/theme/button.js +78 -78
  102. package/dist/features/ui/theme/button.js.map +1 -1
  103. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +28 -0
  104. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
  105. package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
  106. package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
  107. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
  108. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
  109. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +97 -47
  110. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
  111. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +204 -196
  112. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
  113. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +242 -207
  114. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
  115. package/dist/features/worksheet/worksheet/worksheet-styled.js +37 -37
  116. package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
  117. package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
  118. package/dist/features/worksheet/worksheet/worksheet.js +307 -313
  119. package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
  120. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
  121. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
  122. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +44 -35
  123. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
  124. package/dist/index.d.ts +89 -97
  125. package/dist/index.js +517 -531
  126. package/dist/index.js.map +1 -1
  127. package/dist/static/puzzle-blue-lottie.7017e2e8.json +1 -0
  128. package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
  129. package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
  130. package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
  131. package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
  132. package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
  133. package/dist/static/puzzle-yellow-lottie.275b5cf4.json +1 -0
  134. package/package.json +3 -2
  135. package/dist/assets/line-icons/icons/after-noon.js +0 -34
  136. package/dist/assets/line-icons/icons/after-noon.js.map +0 -1
  137. package/dist/assets/line-icons/icons/apple-icon-white.js +0 -42
  138. package/dist/assets/line-icons/icons/apple-icon-white.js.map +0 -1
  139. package/dist/assets/line-icons/icons/evening.js +0 -35
  140. package/dist/assets/line-icons/icons/evening.js.map +0 -1
  141. package/dist/assets/line-icons/icons/morning.js +0 -35
  142. package/dist/assets/line-icons/icons/morning.js.map +0 -1
  143. package/dist/assets/line-icons/icons/star3.js +0 -32
  144. package/dist/assets/line-icons/icons/star3.js.map +0 -1
  145. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +0 -12
  146. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +0 -1
  147. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +0 -33
  148. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +0 -1
  149. package/dist/features/auth/comps/otp-input/otp-input-styled.js +0 -22
  150. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +0 -1
  151. package/dist/features/auth/comps/otp-input/otp-input.js +0 -51
  152. package/dist/features/auth/comps/otp-input/otp-input.js.map +0 -1
  153. package/dist/features/auth/comps/pill-button/pill-button-styled.js +0 -63
  154. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +0 -1
  155. package/dist/features/auth/comps/pill-button/pill-button.js +0 -66
  156. package/dist/features/auth/comps/pill-button/pill-button.js.map +0 -1
  157. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +0 -17
  158. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +0 -1
  159. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +0 -60
  160. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +0 -1
  161. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +0 -19
  162. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +0 -1
  163. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +0 -22
  164. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +0 -1
  165. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +0 -18
  166. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +0 -1
  167. package/dist/features/auth/signup-v2/signup-header/signup-header.js +0 -25
  168. package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +0 -1
  169. package/dist/features/auth/signup-v2/signup-options/signup-options.js +0 -71
  170. package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +0 -1
  171. package/dist/static/calendar-purple.1a840b41.svg +0 -1
  172. package/dist/static/flying-disk.c7f6ed39.json +0 -1
  173. package/dist/static/graduation-cap.3be3340a.json +0 -1
  174. package/dist/static/handshake.287e7dfb.svg +0 -1
  175. package/dist/static/light-bulb.c6db0b23.json +0 -1
  176. package/dist/static/money.332aacf1.svg +0 -1
  177. package/dist/static/muscle.9bcfb8a7.json +0 -1
  178. package/dist/static/parent-avatar.822c7b9b.svg +0 -1
  179. package/dist/static/pencil.23df9da0.json +0 -1
  180. package/dist/static/plus-sign.de6af957.json +0 -1
  181. package/dist/static/racing-car.2cbf864e.json +0 -1
  182. package/dist/static/rocket.0a3ccab0.json +0 -1
  183. package/dist/static/shovel.abeec04c.json +0 -1
  184. package/dist/static/stripe-blurple.6abf422f.svg +0 -1
  185. package/dist/static/trustpilot.bd3d79e1.svg +0 -1
package/dist/index.d.ts CHANGED
@@ -52,8 +52,6 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
52
52
 
53
53
  export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
54
54
 
55
- export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
56
-
57
55
  export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
58
56
 
59
57
  export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
@@ -98,8 +96,6 @@ export declare const BackgroundImage: ({ img }: {
98
96
 
99
97
  export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
100
98
 
101
- export declare const BaseInput: React_2.FC<IBaseInputProps>;
102
-
103
99
  declare interface BaseProject {
104
100
  id: string;
105
101
  name: string;
@@ -411,9 +407,10 @@ declare interface ErrorProps {
411
407
  handleClick: () => void;
412
408
  }
413
409
 
414
- export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
415
-
416
410
  export declare const EVENTS: {
411
+ PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
412
+ PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
413
+ PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
417
414
  PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
418
415
  HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
419
416
  INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
@@ -586,6 +583,7 @@ declare interface HWCardListProps extends INodeCardCallbacks {
586
583
  homeworkRef?: React_2.RefObject<HTMLDivElement>;
587
584
  startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
588
585
  canStartJourney?: boolean;
586
+ canStartPuzzleAssignedJourney?: boolean;
589
587
  }
590
588
 
591
589
  declare interface IAccordionSectionProps {
@@ -679,7 +677,6 @@ declare interface IAuthPageLayoutProps {
679
677
  leftBlock: ReactElement;
680
678
  rightBlock?: ReactElement;
681
679
  isFullWidth?: boolean;
682
- rightBlockBg?: TColorNames;
683
680
  }
684
681
 
685
682
  declare interface IAuthStaticPanelProps {
@@ -1374,6 +1371,7 @@ declare interface IErrorProps {
1374
1371
  theme?: 'light' | 'dark';
1375
1372
  title?: string;
1376
1373
  description?: string;
1374
+ size?: 'compact' | 'full';
1377
1375
  }
1378
1376
 
1379
1377
  declare interface IExpandableHeaderProps {
@@ -1594,7 +1592,7 @@ declare interface IIdentifierOtpFormProps {
1594
1592
  }
1595
1593
 
1596
1594
  declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
1597
- withLoader?: boolean;
1595
+ withLoader: boolean;
1598
1596
  borderRadius?: number;
1599
1597
  borderColor?: TColorNames;
1600
1598
  }
@@ -1967,14 +1965,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
1967
1965
  targetQuestions: number;
1968
1966
  }
1969
1967
 
1970
- declare interface ILinearProgressBarProps {
1971
- percentage: number;
1972
- height?: number;
1973
- backgroundColor?: TColorNames;
1974
- fillColor?: TColorNames;
1975
- borderRadius?: number;
1976
- }
1977
-
1978
1968
  export declare const ILLUSTRATIONS: {
1979
1969
  ALARM_CLOCK_ORANGE: string;
1980
1970
  ALARM_CLOCK_PURPLE: string;
@@ -1991,7 +1981,6 @@ export declare const ILLUSTRATIONS: {
1991
1981
  CALENDAR_BLUE: string;
1992
1982
  CALENDAR_GRAY: string;
1993
1983
  CALENDAR_GREEN: string;
1994
- CALENDAR_PURPLE: string;
1995
1984
  CAUTION: string;
1996
1985
  CHAPTER_10: string;
1997
1986
  CHAPTER_1: string;
@@ -2031,7 +2020,6 @@ export declare const ILLUSTRATIONS: {
2031
2020
  GRADUATE_PINK_FILLED_BG: string;
2032
2021
  GREEN_BALLOON: string;
2033
2022
  GREEN_FACE: string;
2034
- HANDSHAKE: string;
2035
2023
  LEARNED_SHIELD_GRAY: string;
2036
2024
  LEARNED_SHIELD_GREEN: string;
2037
2025
  LEARNT: string;
@@ -2050,7 +2038,6 @@ export declare const ILLUSTRATIONS: {
2050
2038
  MILESTONE_INTRO_2: string;
2051
2039
  MILESTONE_INTRO_3: string;
2052
2040
  MISTAKE: string;
2053
- MONEY: string;
2054
2041
  NODE_ACTIVITY_BG: string;
2055
2042
  NODE_CUSTOM_TEST_BG: string;
2056
2043
  NODE_DOWNLOAD_BG: string;
@@ -2068,7 +2055,6 @@ export declare const ILLUSTRATIONS: {
2068
2055
  NUMBER_4_ORANGE: string;
2069
2056
  ONE_STAR_FILLED: string;
2070
2057
  ORANGE_FACE: string;
2071
- PARENT_AVATAR: string;
2072
2058
  PEOPLE_WITH_ORANGE_FILL: string;
2073
2059
  PLAY: string;
2074
2060
  PLAY_ICON: string;
@@ -2078,6 +2064,7 @@ export declare const ILLUSTRATIONS: {
2078
2064
  PROFICIENT_BADGE: string;
2079
2065
  PROFILE_BOARD: string;
2080
2066
  PUZZLE: string;
2067
+ PUZZLE_DASHBOARD_BANNER: string;
2081
2068
  PUZZLE_PATTERN_BLUE: string;
2082
2069
  PUZZLE_PATTERN_GREEN: string;
2083
2070
  PUZZLE_PATTERN_ORANGE: string;
@@ -2096,7 +2083,6 @@ export declare const ILLUSTRATIONS: {
2096
2083
  STAR_WITH_GREEN_FILL: string;
2097
2084
  STREAK_GREEN: string;
2098
2085
  STREAK_WHITE: string;
2099
- STRIPE_BLURPLE: string;
2100
2086
  TEST_DIFFICULTY_EASY: string;
2101
2087
  TEST_DIFFICULTY_HARD: string;
2102
2088
  TEST_DIFFICULTY_MEDIUM: string;
@@ -2106,7 +2092,6 @@ export declare const ILLUSTRATIONS: {
2106
2092
  TROPHY_BLUE_FILLED: string;
2107
2093
  TROPHY_CIRCLE: string;
2108
2094
  TROPHY_GREEN: string;
2109
- TRUSTPILOT: string;
2110
2095
  TWO_STARS_FILLED: string;
2111
2096
  UP_ARROW: string;
2112
2097
  USER_CROWN_GRID_BACKGROUND: string;
@@ -2639,14 +2624,6 @@ declare interface IOpenImageReviewModalProps {
2639
2624
  image?: string;
2640
2625
  }
2641
2626
 
2642
- declare interface IOTPInputProps {
2643
- length?: number;
2644
- value: string;
2645
- onChange: (val: string) => void;
2646
- error?: string;
2647
- isBusy?: boolean;
2648
- }
2649
-
2650
2627
  declare interface IOTPResendProps {
2651
2628
  onResendOTP: () => void;
2652
2629
  onResendVoiceOTP?: () => void;
@@ -2655,8 +2632,6 @@ declare interface IOTPResendProps {
2655
2632
  disabled?: boolean;
2656
2633
  renderAs?: 'submit' | 'text';
2657
2634
  width?: number | string;
2658
- textButtonColor?: TColorNames;
2659
- size?: 'small' | 'xsmall';
2660
2635
  }
2661
2636
 
2662
2637
  declare interface IOutcomeConfig {
@@ -2694,19 +2669,6 @@ declare interface IPerfectHitsProps {
2694
2669
  value: number;
2695
2670
  }
2696
2671
 
2697
- declare interface IPillButtonProps {
2698
- id: string;
2699
- label: string;
2700
- selected?: boolean;
2701
- disabled?: boolean;
2702
- animatedLabel?: string;
2703
- icon?: string;
2704
- onClick: (val: string) => void;
2705
- tooltip?: string;
2706
- width?: string;
2707
- height?: string;
2708
- }
2709
-
2710
2672
  declare interface IPlaceholder {
2711
2673
  text?: string;
2712
2674
  marks?: string;
@@ -2820,6 +2782,7 @@ declare interface IPreviewWorksheetProps {
2820
2782
  items?: string[];
2821
2783
  onWorksheetLoaded?: (loaded: boolean) => void;
2822
2784
  onUnassign?: () => void;
2785
+ canStartUnassignJourney?: boolean;
2823
2786
  }
2824
2787
 
2825
2788
  export declare interface IProject<T> {
@@ -2911,6 +2874,7 @@ export declare interface IPuzzleCardAssignData {
2911
2874
  node_type: TNodeTypes;
2912
2875
  node_id: string;
2913
2876
  user_node_id: string | null;
2877
+ rewards?: TPuzzleRewards[];
2914
2878
  }
2915
2879
 
2916
2880
  declare interface IPuzzleCardContainerProps {
@@ -2921,7 +2885,12 @@ declare interface IPuzzleCardContainerProps {
2921
2885
  studentId: string;
2922
2886
  onFullyHidden?: () => void;
2923
2887
  onPuzzleClick: () => void;
2924
- onPuzzleAssign?: () => void;
2888
+ }
2889
+
2890
+ declare interface IPuzzleDashboardProps {
2891
+ studentId: string;
2892
+ onBackCLick?: () => void;
2893
+ onCardClick: (userNodeId: string) => void;
2925
2894
  }
2926
2895
 
2927
2896
  export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
@@ -3085,15 +3054,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
3085
3054
  data: Section[];
3086
3055
  }
3087
3056
 
3088
- declare interface ISelectableInfoCardProps {
3089
- id: string;
3090
- title: string;
3091
- description: string;
3092
- icon: string;
3093
- selected: boolean;
3094
- onClick: (val: string) => void;
3095
- }
3096
-
3097
3057
  declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
3098
3058
  }
3099
3059
 
@@ -3228,15 +3188,6 @@ declare interface ISignupMethodsProps {
3228
3188
  loadingProvider: TSocialAuthProvider | null;
3229
3189
  }
3230
3190
 
3231
- declare interface ISignupOptionsProps {
3232
- onEmailSignup: () => void;
3233
- onGoogleSignup: () => void;
3234
- onAppleSignup: () => void;
3235
- onGoToLogin: () => void;
3236
- loadingProvider: TSocialAuthProvider | null;
3237
- title?: string;
3238
- }
3239
-
3240
3191
  export declare interface ISignUpProps {
3241
3192
  circleOnLeapSignedUp: boolean;
3242
3193
  circleOnLeapPremiumEnabled: boolean;
@@ -3299,6 +3250,7 @@ declare interface IStepperProps {
3299
3250
  declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
3300
3251
  value: number;
3301
3252
  blink?: boolean;
3253
+ isInteractive?: boolean;
3302
3254
  }
3303
3255
 
3304
3256
  export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
@@ -3376,8 +3328,6 @@ declare interface ISyncableWebGameProps {
3376
3328
  declare interface ITabItem {
3377
3329
  id: string;
3378
3330
  label: string;
3379
- iconPosition?: 'left' | 'right';
3380
- Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
3381
3331
  }
3382
3332
 
3383
3333
  export declare interface ITable {
@@ -3799,6 +3749,10 @@ declare interface IusePointerSyncProps {
3799
3749
  targetUserId?: string;
3800
3750
  }
3801
3751
 
3752
+ declare interface IUsePuzzleIntroJourney {
3753
+ onJourneyComplete: () => void;
3754
+ }
3755
+
3802
3756
  export declare interface IUserChapterData {
3803
3757
  chapter_code: string;
3804
3758
  chapter_id: string;
@@ -4005,6 +3959,14 @@ export declare interface IWorksheetBehavior {
4005
3959
  * For teacher we don't show review cta.
4006
3960
  */
4007
3961
  canTeacherValidate: boolean;
3962
+ /**
3963
+ * * In case of puzzle worksheet for teacher
3964
+ * * If true,
3965
+ * Teacher validation button will be disabled.
3966
+ * * If false,
3967
+ * Teacher validation button will be active.
3968
+ */
3969
+ canTeacherValidateDisabled?: boolean;
4008
3970
  /**
4009
3971
  * If true, questions will be validated and feedback will be shown.
4010
3972
  */
@@ -4056,6 +4018,10 @@ export declare interface IWorksheetBehavior {
4056
4018
  * If true, the user can unassign the sheet.
4057
4019
  */
4058
4020
  canUnAssign?: boolean;
4021
+ /**
4022
+ * If true, journey will be started.
4023
+ */
4024
+ canStartJourney?: boolean;
4059
4025
  }
4060
4026
 
4061
4027
  declare interface IWorksheetCallbackProps {
@@ -4219,13 +4185,21 @@ export declare enum JOURNEY_ID_STUDENT {
4219
4185
  CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
4220
4186
  HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
4221
4187
  CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
4222
- CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
4188
+ PUZZLE_ATTEMPT_JOURNEY = "PUZZLE_ATTEMPT_JOURNEY",
4189
+ CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
4190
+ PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
4191
+ PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
4223
4192
  }
4224
4193
 
4225
4194
  export declare enum JOURNEY_ID_TEACHER {
4226
4195
  HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
4227
4196
  CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
4228
- CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
4197
+ CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
4198
+ PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
4199
+ PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
4200
+ PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
4201
+ PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
4202
+ PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
4229
4203
  }
4230
4204
 
4231
4205
  export declare const JourneyProvider: FC<IJourneyProviderProps>;
@@ -4248,8 +4222,6 @@ declare const LESSON_TAG_TYPE: {
4248
4222
  readonly DEFAULT: "DEFAULT";
4249
4223
  };
4250
4224
 
4251
- export declare const LinearProgressBar: FC<ILinearProgressBarProps>;
4252
-
4253
4225
  export declare const loadScript: ILoadScript;
4254
4226
 
4255
4227
  export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -4295,14 +4267,12 @@ export declare const LOTTIE: {
4295
4267
  FAMILIAR1X: string;
4296
4268
  FIFTEEN_MIN_CLOCK: string;
4297
4269
  FIVE_MIN_CLOCK: string;
4298
- FLYING_DISK: string;
4299
4270
  GIFT: string;
4300
4271
  GOLD_1: string;
4301
4272
  GOLD_2: string;
4302
4273
  GOLD_3: string;
4303
4274
  GOLF: string;
4304
4275
  GRADE: string;
4305
- GRADUATION_CAP: string;
4306
4276
  HIGH_SCORE_CONFETTI: string;
4307
4277
  HIGH_SCORE_TEXT: string;
4308
4278
  INFINITE_BUTTON_BG: string;
@@ -4313,21 +4283,17 @@ export declare const LOTTIE: {
4313
4283
  LEVELUP_RINGS: string;
4314
4284
  LEVEL_1_ALLSTAR: string;
4315
4285
  LIGHTNING: string;
4316
- LIGHT_BULB: string;
4317
4286
  MAGICWAND: string;
4318
4287
  MAIL: string;
4319
4288
  MECHANICAL_ARM: string;
4320
4289
  MEDAL: string;
4321
4290
  MEDIUM: string;
4322
- MUSCLE: string;
4323
4291
  NUDGE_TAP: string;
4324
4292
  OTP: string;
4325
4293
  PARENT_AVATAR: string;
4326
4294
  PARTY_BALL: string;
4327
4295
  PARTY_POPPER: string;
4328
- PENCIL: string;
4329
4296
  PHONE_NUMBER: string;
4330
- PLUS_SIGN: string;
4331
4297
  POINT100: string;
4332
4298
  POINT10: string;
4333
4299
  POINT15: string;
@@ -4348,12 +4314,14 @@ export declare const LOTTIE: {
4348
4314
  PROFICIENT1X: string;
4349
4315
  PROJECT: string;
4350
4316
  PUZZLE: string;
4351
- RACING_CAR: string;
4317
+ PUZZLE_BLUE_LOTTIE: string;
4318
+ PUZZLE_GREEN_LOTTIE: string;
4319
+ PUZZLE_ORANGE_LOTTIE: string;
4320
+ PUZZLE_PURPLE_LOTTIE: string;
4321
+ PUZZLE_YELLOW_LOTTIE: string;
4352
4322
  RANDOM_MODE_SEGMENT_LOTTIE: string;
4353
4323
  RECAP: string;
4354
- ROCKET: string;
4355
4324
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
4356
- SHOVEL: string;
4357
4325
  SILVER_1: string;
4358
4326
  SILVER_2: string;
4359
4327
  SILVER_3: string;
@@ -4416,8 +4384,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
4416
4384
 
4417
4385
  export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4418
4386
 
4419
- export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4420
-
4421
4387
  export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
4422
4388
 
4423
4389
  export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4571,12 +4537,8 @@ declare interface NumRangeInputProps {
4571
4537
  endPlaceholder?: string;
4572
4538
  }
4573
4539
 
4574
- export declare const OnboardingGuide: () => JSX.Element;
4575
-
4576
4540
  export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
4577
4541
 
4578
- export declare const OTPInput: React.FC<IOTPInputProps>;
4579
-
4580
4542
  export declare type OutcomeStage = keyof typeof STAGES;
4581
4543
 
4582
4544
  export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
@@ -4589,8 +4551,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
4589
4551
 
4590
4552
  export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
4591
4553
 
4592
- export declare const PillButton: FC<IPillButtonProps>;
4593
-
4594
4554
  /**
4595
4555
  ** Global/Platform specific events that needs to be tracked goes here
4596
4556
  ** Naming convention needs to be snake_case
@@ -4600,6 +4560,7 @@ export declare enum PLATFORM_EVENTS_STUDENT {
4600
4560
  CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
4601
4561
  HOMEWORK_COMPLETED = "homework_completed",
4602
4562
  ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
4563
+ PUZZLE_ATTEMPTED = "puzzle_attempted",
4603
4564
  ACTIVITY_STARTED = "activity_started",
4604
4565
  ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
4605
4566
  STREAK_ICON_CLICKED = "streak_icon_clicked",
@@ -4616,7 +4577,9 @@ export declare enum PLATFORM_EVENTS_TEACHER {
4616
4577
  LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
4617
4578
  LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
4618
4579
  LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
4619
- LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
4580
+ LESSON_FEEDBACK_NEXT = "lesson_feedback_next",
4581
+ PUZZLE_UNASSIGNED = "puzzle_unassigned",
4582
+ PUZZLE_REVIEWED = "puzzle_reviewed"
4620
4583
  }
4621
4584
 
4622
4585
  export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -4691,6 +4654,8 @@ declare const PUZZLE_CARDS: "puzzle_cards";
4691
4654
 
4692
4655
  export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
4693
4656
 
4657
+ export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
4658
+
4694
4659
  export declare const PuzzleFeedbackCelebration: FC;
4695
4660
 
4696
4661
  export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4770,8 +4735,6 @@ declare enum SECTION_CODE {
4770
4735
 
4771
4736
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
4772
4737
 
4773
- export declare const SelectableInfoCard: ({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element;
4774
-
4775
4738
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
4776
4739
 
4777
4740
  export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
@@ -4827,12 +4790,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4827
4790
 
4828
4791
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
4829
4792
 
4830
- export declare const SignupHeader: () => JSX.Element;
4831
-
4832
4793
  export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
4833
4794
 
4834
- export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
4835
-
4836
4795
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4837
4796
  export { SketchIcon as ScribbleIcon }
4838
4797
  export { SketchIcon }
@@ -4859,8 +4818,6 @@ export declare const STAGES: {
4859
4818
 
4860
4819
  export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
4861
4820
 
4862
- export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
4863
-
4864
4821
  export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4865
4822
 
4866
4823
  export declare enum State {
@@ -5005,7 +4962,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
5005
4962
 
5006
4963
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
5007
4964
 
5008
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
4965
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
5009
4966
 
5010
4967
  declare type TCallback = (messages: TInclassMessage[]) => void;
5011
4968
 
@@ -5415,6 +5372,21 @@ export declare type TInclassMessage = {
5415
5372
  eventPayload: {
5416
5373
  chapterId: string;
5417
5374
  };
5375
+ } | {
5376
+ eventName: typeof EVENTS.PUZZLE_ASSIGNED;
5377
+ eventPayload: {
5378
+ puzzleId: string;
5379
+ };
5380
+ } | {
5381
+ eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
5382
+ eventPayload: {
5383
+ puzzleId?: string;
5384
+ };
5385
+ } | {
5386
+ eventName: typeof EVENTS.PUZZLE_REVIEWED;
5387
+ eventPayload: {
5388
+ puzzleId: string;
5389
+ };
5418
5390
  } | {
5419
5391
  eventName: 'TEACHER_BADGE';
5420
5392
  eventPayload: {
@@ -6240,6 +6212,21 @@ export declare const useModalParams: IUseModalParams;
6240
6212
 
6241
6213
  export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
6242
6214
 
6215
+ export declare const usePuzzleDashboardJourney: () => {
6216
+ puzzleProfileRef: RefObject<HTMLDivElement>;
6217
+ startJourney: (avatar: IAvatarLayer[]) => void;
6218
+ };
6219
+
6220
+ export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
6221
+ puzzleIconRef: RefObject<HTMLDivElement>;
6222
+ startJourney: () => void;
6223
+ };
6224
+
6225
+ export declare const usePuzzleProgressJourney: () => {
6226
+ puzzleProgressRef: RefObject<HTMLDivElement>;
6227
+ startJourney: () => void;
6228
+ };
6229
+
6243
6230
  export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
6244
6231
 
6245
6232
  export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -6250,6 +6237,11 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
6250
6237
 
6251
6238
  export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
6252
6239
 
6240
+ export declare const useTeacherPuzzleAssignedJourney: () => {
6241
+ puzzleHomeTabRef: RefObject<HTMLDivElement>;
6242
+ startJourney: () => void;
6243
+ };
6244
+
6253
6245
  export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
6254
6246
  onClick: TTrackCTA;
6255
6247
  onResponse: TTrackInput;