@cuemath/leap 2.9.9-as2 → 2.9.9-as4
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.
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +75 -78
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +43 -43
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-journey.js +93 -93
- package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +587 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -813,7 +813,7 @@ declare interface IChapterDetails extends IBlockSectionsCallbacks {
|
|
813
813
|
userChapterId: string;
|
814
814
|
studentId: string;
|
815
815
|
onExit?: () => void;
|
816
|
-
startChapterPageJourney?: ({ chapterDetails, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
816
|
+
startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
|
817
817
|
chapterPageRef?: React.RefObject<HTMLDivElement>;
|
818
818
|
bannerRef?: React.RefObject<HTMLDivElement>;
|
819
819
|
coreBlocksRef?: React.RefObject<HTMLDivElement>;
|
@@ -883,8 +883,9 @@ declare interface IChaptersListProps {
|
|
883
883
|
|
884
884
|
declare interface IChapterStartJourneyProps {
|
885
885
|
chapterDetails: IUserChapterData;
|
886
|
+
userChapterId: string;
|
886
887
|
studentId: string;
|
887
|
-
userType:
|
888
|
+
userType: TUserTypes;
|
888
889
|
}
|
889
890
|
|
890
891
|
declare interface IChapterState {
|
@@ -1336,6 +1337,7 @@ export declare interface IHomepageStartJourneyProps {
|
|
1336
1337
|
|
1337
1338
|
declare interface IHomepageStartJourneyProps_2 {
|
1338
1339
|
chapterDetails: IUserChapterData;
|
1340
|
+
userChapterId: string;
|
1339
1341
|
studentId: string;
|
1340
1342
|
userType: TUserTypes;
|
1341
1343
|
}
|
@@ -5285,7 +5287,7 @@ export declare const useChapterPageJourney: () => {
|
|
5285
5287
|
chapterPageRef: RefObject<HTMLDivElement>;
|
5286
5288
|
bannerRef: RefObject<HTMLDivElement>;
|
5287
5289
|
coreBlocksRef: RefObject<HTMLDivElement>;
|
5288
|
-
startJourney: ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => void;
|
5290
|
+
startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
|
5289
5291
|
};
|
5290
5292
|
|
5291
5293
|
export declare const useCircleSounds: () => {
|