@cuemath/leap 2.9.7-rj-1 → 2.9.7-rj-2

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 (24) hide show
  1. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +115 -125
  2. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  3. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +94 -104
  4. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  5. package/dist/features/journey/comps/coachmark/coachmark.js +20 -19
  6. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  7. package/dist/features/journey/use-journey/constants.js +2 -4
  8. package/dist/features/journey/use-journey/constants.js.map +1 -1
  9. package/dist/features/journey/use-journey/journey-styled.js +3 -4
  10. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  11. package/dist/features/ui/constants/z-index.js +2 -1
  12. package/dist/features/ui/constants/z-index.js.map +1 -1
  13. package/dist/features/ui/theme/breakpoints.js +7 -0
  14. package/dist/features/ui/theme/breakpoints.js.map +1 -0
  15. package/dist/features/ui/theme/get-theme.js +20 -18
  16. package/dist/features/ui/theme/get-theme.js.map +1 -1
  17. package/dist/index.d.ts +7 -6
  18. package/dist/index.js +133 -135
  19. package/dist/index.js.map +1 -1
  20. package/package.json +1 -1
  21. package/dist/features/hooks/use-breakpoint/constants.js +0 -7
  22. package/dist/features/hooks/use-breakpoint/constants.js.map +0 -1
  23. package/dist/features/hooks/use-breakpoint/use-breakpoint.js +0 -16
  24. package/dist/features/hooks/use-breakpoint/use-breakpoint.js.map +0 -1
@@ -1,30 +1,32 @@
1
1
  import r from "./arrow-tooltip.js";
2
- import e from "./button.js";
2
+ import { getBreakpointsConfig as e } from "./breakpoints.js";
3
+ import i from "./button.js";
3
4
  import m from "./checkbox.js";
4
- import g, { hues as i } from "./clrs.js";
5
- import n from "./input.js";
6
- import f from "./layout.js";
7
- import p from "./tab.js";
8
- import u from "./text.js";
9
- import x from "./text-button.js";
10
- import { getZIndexConfig as C } from "./z-index.js";
11
- const d = () => {
12
- const t = f(), { gutter: o } = t;
5
+ import g, { hues as n } from "./clrs.js";
6
+ import f from "./input.js";
7
+ import p from "./layout.js";
8
+ import u from "./tab.js";
9
+ import C from "./text.js";
10
+ import s from "./text-button.js";
11
+ import { getZIndexConfig as x } from "./z-index.js";
12
+ const w = () => {
13
+ const t = p(), { gutter: o } = t;
13
14
  return {
14
15
  arrowTooltip: r(),
15
- button: e(o),
16
+ button: i(o),
16
17
  colors: g(),
17
- hues: i,
18
- input: n(o),
18
+ hues: n,
19
+ input: f(o),
19
20
  checkbox: m(o),
20
21
  layout: t,
21
- tab: p(t.gutter),
22
- text: u(),
23
- textButton: x(),
24
- zIndex: C()
22
+ tab: u(t.gutter),
23
+ text: C(),
24
+ textButton: s(),
25
+ zIndex: x(),
26
+ breakpoints: e()
25
27
  };
26
28
  };
27
29
  export {
28
- d as getTheme
30
+ w as getTheme
29
31
  };
30
32
  //# sourceMappingURL=get-theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-theme.js","sources":["../../../../src/features/ui/theme/get-theme.ts"],"sourcesContent":["import type { DefaultTheme } from 'styled-components';\n\nimport getArrowTooltipConfig from './arrow-tooltip';\nimport getButtonConfig from './button';\nimport getCheckboxConfig from './checkbox';\nimport getColors, { hues } from './clrs';\nimport getInputConfig from './input';\nimport getLayout from './layout';\nimport getTabConfig from './tab';\nimport getTextTypes from './text';\nimport getTextButtonConfig from './text-button';\nimport { getZIndexConfig } from './z-index';\n\nconst getTheme: () => DefaultTheme = () => {\n const layout = getLayout();\n const { gutter } = layout;\n\n return {\n arrowTooltip: getArrowTooltipConfig(),\n button: getButtonConfig(gutter),\n colors: getColors(),\n hues: hues,\n input: getInputConfig(gutter),\n checkbox: getCheckboxConfig(gutter),\n layout,\n tab: getTabConfig(layout.gutter),\n text: getTextTypes(),\n textButton: getTextButtonConfig(),\n zIndex: getZIndexConfig(),\n };\n};\n\nexport { getTheme };\n"],"names":["getTheme","layout","getLayout","gutter","getArrowTooltipConfig","getButtonConfig","getColors","hues","getInputConfig","getCheckboxConfig","getTabConfig","getTextTypes","getTextButtonConfig","getZIndexConfig"],"mappings":";;;;;;;;;;AAaA,MAAMA,IAA+B,MAAM;AACzC,QAAMC,IAASC,KACT,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA,IACL,cAAcG,EAAsB;AAAA,IACpC,QAAQC,EAAgBF,CAAM;AAAA,IAC9B,QAAQG,EAAU;AAAA,IAClB,MAAAC;AAAA,IACA,OAAOC,EAAeL,CAAM;AAAA,IAC5B,UAAUM,EAAkBN,CAAM;AAAA,IAClC,QAAAF;AAAA,IACA,KAAKS,EAAaT,EAAO,MAAM;AAAA,IAC/B,MAAMU,EAAa;AAAA,IACnB,YAAYC,EAAoB;AAAA,IAChC,QAAQC,EAAgB;AAAA,EAAA;AAE5B;"}
1
+ {"version":3,"file":"get-theme.js","sources":["../../../../src/features/ui/theme/get-theme.ts"],"sourcesContent":["import type { DefaultTheme } from 'styled-components';\n\nimport getArrowTooltipConfig from './arrow-tooltip';\nimport { getBreakpointsConfig } from './breakpoints';\nimport getButtonConfig from './button';\nimport getCheckboxConfig from './checkbox';\nimport getColors, { hues } from './clrs';\nimport getInputConfig from './input';\nimport getLayout from './layout';\nimport getTabConfig from './tab';\nimport getTextTypes from './text';\nimport getTextButtonConfig from './text-button';\nimport { getZIndexConfig } from './z-index';\n\nconst getTheme: () => DefaultTheme = () => {\n const layout = getLayout();\n const { gutter } = layout;\n\n return {\n arrowTooltip: getArrowTooltipConfig(),\n button: getButtonConfig(gutter),\n colors: getColors(),\n hues: hues,\n input: getInputConfig(gutter),\n checkbox: getCheckboxConfig(gutter),\n layout,\n tab: getTabConfig(layout.gutter),\n text: getTextTypes(),\n textButton: getTextButtonConfig(),\n zIndex: getZIndexConfig(),\n breakpoints: getBreakpointsConfig(),\n };\n};\n\nexport { getTheme };\n"],"names":["getTheme","layout","getLayout","gutter","getArrowTooltipConfig","getButtonConfig","getColors","hues","getInputConfig","getCheckboxConfig","getTabConfig","getTextTypes","getTextButtonConfig","getZIndexConfig","getBreakpointsConfig"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAA+B,MAAM;AACzC,QAAMC,IAASC,KACT,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA,IACL,cAAcG,EAAsB;AAAA,IACpC,QAAQC,EAAgBF,CAAM;AAAA,IAC9B,QAAQG,EAAU;AAAA,IAClB,MAAAC;AAAA,IACA,OAAOC,EAAeL,CAAM;AAAA,IAC5B,UAAUM,EAAkBN,CAAM;AAAA,IAClC,QAAAF;AAAA,IACA,KAAKS,EAAaT,EAAO,MAAM;AAAA,IAC/B,MAAMU,EAAa;AAAA,IACnB,YAAYC,EAAoB;AAAA,IAChC,QAAQC,EAAgB;AAAA,IACxB,aAAaC,EAAqB;AAAA,EAAA;AAEtC;"}
package/dist/index.d.ts CHANGED
@@ -425,6 +425,10 @@ declare enum GENDER {
425
425
 
426
426
  declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
427
427
 
428
+ declare const getBreakpointsConfig: () => {
429
+ MOBILE: number;
430
+ };
431
+
428
432
  declare const getButtonConfig: IGetButtonConfig;
429
433
 
430
434
  declare const getCheckboxConfig: IGetCheckboxConfig;
@@ -2872,6 +2876,7 @@ export declare interface ITheme {
2872
2876
  textButton: ReturnType<typeof getTextButtonConfig>;
2873
2877
  zIndex: ReturnType<typeof getZIndexConfig>;
2874
2878
  checkbox: ReturnType<typeof getCheckboxConfig>;
2879
+ breakpoints: ReturnType<typeof getBreakpointsConfig>;
2875
2880
  }
2876
2881
 
2877
2882
  declare interface ITile {
@@ -2993,7 +2998,7 @@ export declare interface ITutorialProps {
2993
2998
  onCross?: () => void;
2994
2999
  showProgress?: boolean;
2995
3000
  onTutorialPlayedOnce?: () => void;
2996
- isJourneyActive: boolean;
3001
+ isJourneyActive?: boolean;
2997
3002
  }
2998
3003
 
2999
3004
  export declare interface ITutorialRef {
@@ -4973,11 +4978,6 @@ export declare const UpIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4973
4978
 
4974
4979
  export declare const useAutoPlayPermission: () => IAutoPlayPermissionContextType;
4975
4980
 
4976
- export declare const useBreakpoint: () => {
4977
- isMobile: boolean;
4978
- width: number;
4979
- };
4980
-
4981
4981
  export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: string, payload?: Record<string, unknown>) => void, initialCanvasData?: Array<IChannelMessage>) => {
4982
4982
  publishStrokes: ((message: unknown) => boolean) | undefined;
4983
4983
  channelStatus: ChannelStatus | undefined;
@@ -5183,6 +5183,7 @@ declare const ZINDEX: {
5183
5183
  readonly QUESTION_TIPS: -1;
5184
5184
  readonly DESMOS_CALCULATOR: 2;
5185
5185
  readonly GOAL_CHAPTER_SHEETS_MENU: 4;
5186
+ readonly JOURNEY_OVERLAY: 1000;
5186
5187
  };
5187
5188
 
5188
5189
  export { }
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { default as C } from "./assets/line-icons/icons/book-closed.js";
11
11
  import { default as _ } from "./assets/line-icons/icons/book.js";
12
12
  import { default as L } from "./assets/line-icons/icons/book2.js";
13
13
  import { default as R } from "./assets/line-icons/icons/bookmark.js";
14
- import { default as k } from "./assets/line-icons/icons/bulb.js";
14
+ import { default as M } from "./assets/line-icons/icons/bulb.js";
15
15
  import { default as O } from "./assets/line-icons/icons/bulb2.js";
16
16
  import { default as D } from "./assets/line-icons/icons/calendar.js";
17
17
  import { default as y } from "./assets/line-icons/icons/check.js";
@@ -38,7 +38,7 @@ import { default as Ce } from "./assets/line-icons/icons/help.js";
38
38
  import { default as _e } from "./assets/line-icons/icons/highlighter.js";
39
39
  import { default as Le } from "./assets/line-icons/icons/home.js";
40
40
  import { default as Re } from "./assets/line-icons/icons/image.js";
41
- import { default as ke } from "./assets/line-icons/icons/info.js";
41
+ import { default as Me } from "./assets/line-icons/icons/info.js";
42
42
  import { default as Oe } from "./assets/line-icons/icons/info2.js";
43
43
  import { default as De } from "./assets/line-icons/icons/left.js";
44
44
  import { default as ye } from "./assets/line-icons/icons/lock.js";
@@ -65,7 +65,7 @@ import { default as Ao } from "./assets/line-icons/icons/ruler.js";
65
65
  import { default as Po } from "./assets/line-icons/icons/search.js";
66
66
  import { default as No } from "./assets/line-icons/icons/sheet.js";
67
67
  import { default as ho } from "./assets/line-icons/icons/star.js";
68
- import { default as Mo } from "./assets/line-icons/icons/skip.js";
68
+ import { default as ko } from "./assets/line-icons/icons/skip.js";
69
69
  import { default as Ho } from "./assets/line-icons/icons/skip2.js";
70
70
  import { default as Go } from "./assets/line-icons/icons/star2.js";
71
71
  import { default as go } from "./assets/line-icons/icons/striked-eye.js";
@@ -91,7 +91,7 @@ import { AutoPlayPermissionProvider as Cr } from "./features/hooks/use-auto-play
91
91
  import { default as _r } from "./features/hooks/use-zoom-disable.js";
92
92
  import { default as Lr } from "./features/hooks/use-force-reload.js";
93
93
  import { default as Rr } from "./features/ui/accordion-section/accordion-section.js";
94
- import { default as kr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
94
+ import { default as Mr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
95
95
  import { default as Or } from "./features/ui/context-menu/context-menu.js";
96
96
  import { default as Dr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
97
97
  import { default as yr } from "./features/ui/nudge/nudge.js";
@@ -118,7 +118,7 @@ import { CircularLoader as Ct } from "./features/ui/loader/circular-loader/circu
118
118
  import { default as _t } from "./features/ui/radio-cards/radio-cards.js";
119
119
  import { default as Lt } from "./features/ui/section-list/section-list.js";
120
120
  import { default as Rt } from "./features/ui/text/text.js";
121
- import { default as kt } from "./features/ui/tag/tag.js";
121
+ import { default as Mt } from "./features/ui/tag/tag.js";
122
122
  import { default as Ot } from "./features/ui/callout/callout.js";
123
123
  import { default as Dt, useUIContext as Gt } from "./features/ui/context/context.js";
124
124
  import { default as gt } from "./features/ui/context/use-tracking-context.js";
@@ -145,7 +145,7 @@ import { checkIfPPTNodeType as Aa } from "./features/chapters/lpar-chapter/utils
145
145
  import { GAME_LAUNCHER_ASSET_PADDING as Pa } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
146
146
  import { GAME_LAUNCHER_SIZE as Na } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
147
147
  import { useCircleSounds as ha } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
148
- import { CircleSoundKey as Ma } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
148
+ import { CircleSoundKey as ka } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
149
149
  import { useGetLeaderboardDal as Ha } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
150
150
  import { ELeaderboardType as Ga } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
151
151
  import { StreakReductionLocalStorageUtil as ga } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
@@ -171,73 +171,72 @@ import { default as Af } from "./features/cue-canvas/hooks/use-canvas-sync-broke
171
171
  import { default as Pf } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
172
172
  import { default as Nf } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
173
173
  import { EVENTS as hf } from "./features/communication/pub-sub/constants.js";
174
- import { useInClassActionDispatcher as Mf, useInClassActionListener as Of } from "./features/communication/pub-sub/hooks.js";
174
+ import { useInClassActionDispatcher as kf, useInClassActionListener as Of } from "./features/communication/pub-sub/hooks.js";
175
175
  import { default as Df } from "./features/trial-session/trial-session.js";
176
176
  import { EClassTimeAlertLevel as yf } from "./features/trial-session/trial-session-types.js";
177
177
  import { useClassTimeAlerts as Bf } from "./features/trial-session/hooks/use-class-time-alerts.js";
178
178
  import { default as Uf } from "./features/talk-meter/talk-meter.js";
179
179
  import { default as Wf } from "./features/extra-practice/extra-practice.js";
180
180
  import { useAutoPlayPermission as wf } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
181
- import { useBreakpoint as Qf } from "./features/hooks/use-breakpoint/use-breakpoint.js";
182
- import { JOURNEY_ID_STUDENT as Ff } from "./features/journey/journey-id/journey-id-student.js";
183
- import { useJourney as jf } from "./features/journey/use-journey/use-journey.js";
184
- import { useGetEligibleJourneysViaRoute as qf } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
185
- import { JourneyProvider as Xf } from "./features/journey/use-journey/journey-context-provider.js";
186
- import { IndicatorType as es } from "./features/journey/use-journey/constants.js";
187
- import { Coachmark as rs } from "./features/journey/comps/coachmark/coachmark.js";
188
- import { default as as } from "./features/maintenance/maintenance.js";
189
- import { default as ss } from "./features/milestone/create/submit-modal/submit-modal.js";
190
- import { default as ps } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
191
- import { default as us } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
192
- import { default as ds } from "./features/milestone/create/milestone-create-container.js";
193
- import { default as cs } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
194
- import { default as is } from "./features/milestone/outcome/milestone-outcome-container.js";
195
- import { default as Es } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
196
- import { default as Cs } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
197
- import { default as _s } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
198
- import { default as Ls } from "./features/milestone/edit/goal-edit-container.js";
199
- import { default as Rs } from "./features/milestone/edit/milestone-edit-container.js";
200
- import { default as ks } from "./features/milestone/milestone-list-container/milestone-list-container.js";
201
- import { default as Os } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
202
- import { default as Ds } from "./features/milestone/start/milestone-start.js";
203
- import { default as ys } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
204
- import { default as Bs } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
205
- import { ACHIEVEMENT_ACTIONS as Us, STAGES as vs } from "./features/milestone/outcome/milestone-outcome-constants.js";
206
- import { invalidateMilestonesData as Vs, useGetAllMilestonesdata as ws } from "./features/milestone/milestone-list-container/api/get-milestones.js";
207
- import { invalidateTestHelpData as Qs, useGetTestHelpData as Ks } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
208
- import { invalidateMilestoneResources as Js, useGetMilestoneResources as js } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
209
- import { default as qs } from "./features/pointer-sync/pointer.js";
210
- import { default as Xs } from "./features/pointer-sync/hooks/use-pointer-sync.js";
211
- import { DigitalMeter as el } from "./features/post-game-stats/digital-meter/digital-meter.js";
212
- import { EPostGameStat as rl } from "./features/post-game-stats/enums/post-game-stats-enum.js";
213
- import { PostGameStats as al } from "./features/post-game-stats/post-game-stats.js";
214
- import { SENTRY_DENIED_URLS as sl, SENTRY_IGNORED_ERRORS as ll } from "./features/sentry/constants/ignored.js";
215
- import { default as ml } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
216
- import { default as xl } from "./features/sheet-tools/tool-header/tool-header.js";
217
- import { default as nl } from "./features/sheets/sheets-list/sheets-list.js";
218
- import { default as Il } from "./features/sheets/reference-sheet/reference-sheet.js";
219
- import { WORKSHEET_V3_NODE_TYPES as Tl } from "./features/sheets/utils/is-v3-worksheet.js";
220
- import { COMPLETED_SHEET_STATE as Sl, NODE_LABELS as Cl, NODE_SUB_GROUP as Al, NODE_TYPE as _l, PYTHON_NODE_TYPES as Pl, REWARDS_LIST as Ll, SHEET_ACTIONS as Nl, SHEET_ATTEMPT_LOCATION as Rl, SHEET_ATTEMPT_LOCATION_MAP as hl, SHEET_ATTEMPT_STATE as kl, SHEET_DATA_TYPE as Ml, SHEET_STATE as Ol } from "./features/sheets/constants/sheet.js";
221
- import { default as Dl } from "./features/student-details/student-details.js";
222
- import { default as yl } from "./features/utils/load-script.js";
223
- import { ACTION_BAR_HEIGHT as Bl, QUESTIONS_GAP as bl, QUESTION_WIDTH as Ul, TOP_NAVIGATION_HEIGHT as vl } from "./features/worksheet/worksheet/constants.js";
224
- import { isOkayTypeQuestion as Vl } from "./features/worksheet/worksheet/worksheet-helpers.js";
225
- import { default as Yl } from "./features/worksheet/worksheet/worksheet-container.js";
226
- import { default as Kl } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
227
- import { default as Jl } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
228
- import { default as Zl } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
229
- import { default as zl } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
230
- import { default as $l } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
231
- import { default as op } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
181
+ import { JOURNEY_ID_STUDENT as Qf } from "./features/journey/journey-id/journey-id-student.js";
182
+ import { useJourney as Ff } from "./features/journey/use-journey/use-journey.js";
183
+ import { useGetEligibleJourneysViaRoute as jf } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
184
+ import { JourneyProvider as qf } from "./features/journey/use-journey/journey-context-provider.js";
185
+ import { IndicatorType as Xf } from "./features/journey/use-journey/constants.js";
186
+ import { Coachmark as es } from "./features/journey/comps/coachmark/coachmark.js";
187
+ import { default as rs } from "./features/maintenance/maintenance.js";
188
+ import { default as as } from "./features/milestone/create/submit-modal/submit-modal.js";
189
+ import { default as ss } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
190
+ import { default as ps } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
191
+ import { default as us } from "./features/milestone/create/milestone-create-container.js";
192
+ import { default as ds } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
193
+ import { default as cs } from "./features/milestone/outcome/milestone-outcome-container.js";
194
+ import { default as is } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
195
+ import { default as Es } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
196
+ import { default as Cs } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
197
+ import { default as _s } from "./features/milestone/edit/goal-edit-container.js";
198
+ import { default as Ls } from "./features/milestone/edit/milestone-edit-container.js";
199
+ import { default as Rs } from "./features/milestone/milestone-list-container/milestone-list-container.js";
200
+ import { default as Ms } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
201
+ import { default as Os } from "./features/milestone/start/milestone-start.js";
202
+ import { default as Ds } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
203
+ import { default as ys } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
204
+ import { ACHIEVEMENT_ACTIONS as Bs, STAGES as bs } from "./features/milestone/outcome/milestone-outcome-constants.js";
205
+ import { invalidateMilestonesData as vs, useGetAllMilestonesdata as Ws } from "./features/milestone/milestone-list-container/api/get-milestones.js";
206
+ import { invalidateTestHelpData as ws, useGetTestHelpData as Ys } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
207
+ import { invalidateMilestoneResources as Ks, useGetMilestoneResources as Fs } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
208
+ import { default as js } from "./features/pointer-sync/pointer.js";
209
+ import { default as qs } from "./features/pointer-sync/hooks/use-pointer-sync.js";
210
+ import { DigitalMeter as Xs } from "./features/post-game-stats/digital-meter/digital-meter.js";
211
+ import { EPostGameStat as el } from "./features/post-game-stats/enums/post-game-stats-enum.js";
212
+ import { PostGameStats as rl } from "./features/post-game-stats/post-game-stats.js";
213
+ import { SENTRY_DENIED_URLS as al, SENTRY_IGNORED_ERRORS as fl } from "./features/sentry/constants/ignored.js";
214
+ import { default as ll } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
215
+ import { default as ml } from "./features/sheet-tools/tool-header/tool-header.js";
216
+ import { default as xl } from "./features/sheets/sheets-list/sheets-list.js";
217
+ import { default as nl } from "./features/sheets/reference-sheet/reference-sheet.js";
218
+ import { WORKSHEET_V3_NODE_TYPES as Il } from "./features/sheets/utils/is-v3-worksheet.js";
219
+ import { COMPLETED_SHEET_STATE as Tl, NODE_LABELS as El, NODE_SUB_GROUP as Sl, NODE_TYPE as Cl, PYTHON_NODE_TYPES as Al, REWARDS_LIST as _l, SHEET_ACTIONS as Pl, SHEET_ATTEMPT_LOCATION as Ll, SHEET_ATTEMPT_LOCATION_MAP as Nl, SHEET_ATTEMPT_STATE as Rl, SHEET_DATA_TYPE as hl, SHEET_STATE as Ml } from "./features/sheets/constants/sheet.js";
220
+ import { default as Ol } from "./features/student-details/student-details.js";
221
+ import { default as Dl } from "./features/utils/load-script.js";
222
+ import { ACTION_BAR_HEIGHT as yl, QUESTIONS_GAP as gl, QUESTION_WIDTH as Bl, TOP_NAVIGATION_HEIGHT as bl } from "./features/worksheet/worksheet/constants.js";
223
+ import { isOkayTypeQuestion as vl } from "./features/worksheet/worksheet/worksheet-helpers.js";
224
+ import { default as Vl } from "./features/worksheet/worksheet/worksheet-container.js";
225
+ import { default as Yl } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
226
+ import { default as Kl } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
227
+ import { default as Jl } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
228
+ import { default as Zl } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
229
+ import { default as zl } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
230
+ import { default as $l } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
232
231
  export {
233
- Us as ACHIEVEMENT_ACTIONS,
232
+ Bs as ACHIEVEMENT_ACTIONS,
234
233
  Rr as AccordionSection,
235
- Es as AchievementNotShareReasonModal,
236
- Cs as AchievementShareInstructionModal,
234
+ is as AchievementNotShareReasonModal,
235
+ Es as AchievementShareInstructionModal,
237
236
  d as AlertIcon,
238
237
  Et as AppLoader,
239
238
  Qr as ArcButton,
240
- kr as ArrowTooltip,
239
+ Mr as ArrowTooltip,
241
240
  Cr as AutoPlayPermissionProvider,
242
241
  Vt as Avatar,
243
242
  rr as Back2Icon,
@@ -250,16 +249,16 @@ export {
250
249
  _ as BookIcon,
251
250
  R as BookmarkIcon,
252
251
  O as Bulb2Icon,
253
- k as BulbIcon,
252
+ M as BulbIcon,
254
253
  Br as Button,
255
254
  $a as CIRCLE_ACTION_IDS,
256
255
  za as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
257
- Sl as COMPLETED_SHEET_STATE,
256
+ Tl as COMPLETED_SHEET_STATE,
258
257
  D as CalendarIcon,
259
258
  Ot as Callout,
260
259
  pt as CascadingSelectInput,
261
260
  xa as Chapter,
262
- us as ChapterClearanceConfirmationModal,
261
+ ps as ChapterClearanceConfirmationModal,
263
262
  na as ChaptersList,
264
263
  cr as ChatIcon,
265
264
  B as Check2Icon,
@@ -269,14 +268,14 @@ export {
269
268
  pr as ChevronDownIcon,
270
269
  sr as ChevronLeftIcon,
271
270
  ar as ChevronRightIcon,
272
- Ma as CircleSoundKey,
271
+ ka as CircleSoundKey,
273
272
  Ct as CircularLoader,
274
273
  pf as CircularSteps,
275
274
  Ur as Clickable,
276
275
  U as ClipboardIcon,
277
276
  w as Clock2Icon,
278
277
  W as ClockIcon,
279
- rs as Coachmark,
278
+ es as Coachmark,
280
279
  Q as CodeIcon,
281
280
  Or as ContextMenu,
282
281
  F as CopyIcon,
@@ -288,23 +287,23 @@ export {
288
287
  q as CueRocket,
289
288
  ir as CuemathLogo,
290
289
  X as DashArrowIcon,
291
- ml as DesmosCalculator,
292
- el as DigitalMeter,
290
+ ll as DesmosCalculator,
291
+ Xs as DigitalMeter,
293
292
  ee as DownIcon,
294
293
  re as DraftIcon,
295
294
  ae as DragIcon,
296
295
  yf as EClassTimeAlertLevel,
297
296
  Ga as ELeaderboardType,
298
- Bs as EPResourceAssign,
299
- rl as EPostGameStat,
297
+ ys as EPResourceAssign,
298
+ el as EPostGameStat,
300
299
  hf as EVENTS,
301
300
  pe as Edit2Icon,
302
301
  se as EditIcon,
303
- _s as EditMilestoneModal,
302
+ Cs as EditMilestoneModal,
304
303
  ue as EditStarIcon,
305
304
  de as EraserIcon,
306
305
  Fr as Error,
307
- xl as ExpandableHeader,
306
+ ml as ExpandableHeader,
308
307
  Wf as ExtraPractice,
309
308
  ie as Eye2Icon,
310
309
  ce as EyeIcon,
@@ -313,9 +312,9 @@ export {
313
312
  Na as GAME_LAUNCHER_SIZE,
314
313
  ur as GameIcon,
315
314
  of as GameLauncher,
316
- ps as GoalCreationConfirmationModal,
317
- cs as GoalDraftEdit,
318
- Ls as GoalEdit,
315
+ ss as GoalCreationConfirmationModal,
316
+ ds as GoalDraftEdit,
317
+ _s as GoalEdit,
319
318
  at as GooglePlacesSearchInput,
320
319
  r as GradeSelector,
321
320
  Ee as HandIcon,
@@ -327,42 +326,42 @@ export {
327
326
  Za as IStatsToAwardErrorCode,
328
327
  Wr as IconButton,
329
328
  Re as ImageIcon,
330
- es as IndicatorType,
329
+ Xf as IndicatorType,
331
330
  Oe as Info2Icon,
332
- ke as InfoIcon,
333
- Ff as JOURNEY_ID_STUDENT,
334
- Xf as JourneyProvider,
331
+ Me as InfoIcon,
332
+ Qf as JOURNEY_ID_STUDENT,
333
+ qf as JourneyProvider,
335
334
  u as LOTTIE,
336
335
  Ia as LPARChapter,
337
336
  Ta as LPARMilestoneChapter,
338
337
  ff as Leaderboard,
339
- zl as LearnosityPreloader,
338
+ Zl as LearnosityPreloader,
340
339
  De as LeftIcon,
341
340
  Be as Lock2Icon,
342
341
  ye as LockIcon,
343
- as as Maintenance,
344
- Os as MilestoneActionWidget,
345
- ds as MilestoneCreate,
346
- Rs as MilestoneEdit,
347
- ks as MilestoneList,
348
- is as MilestoneOutcome,
349
- Ds as MilestoneStart,
342
+ rs as Maintenance,
343
+ Ms as MilestoneActionWidget,
344
+ us as MilestoneCreate,
345
+ Ls as MilestoneEdit,
346
+ Rs as MilestoneList,
347
+ cs as MilestoneOutcome,
348
+ Os as MilestoneStart,
350
349
  We as Minus2Icon,
351
350
  Ue as MinusIcon,
352
351
  we as MistakeIcon,
353
352
  Qe as Mobile,
354
353
  Fe as MoreVerticalIcon,
355
354
  ma as MultiTabBlocker,
356
- Cl as NODE_LABELS,
357
- Al as NODE_SUB_GROUP,
358
- _l as NODE_TYPE,
355
+ El as NODE_LABELS,
356
+ Sl as NODE_SUB_GROUP,
357
+ Cl as NODE_TYPE,
359
358
  Er as Next2Icon,
360
359
  je as NextIcon,
361
360
  yr as Nudge,
362
361
  ut as NumRangeInput,
363
362
  oa as PLATFORM_EVENTS_STUDENT,
364
363
  ta as PLATFORM_EVENTS_TEACHER,
365
- Pl as PYTHON_NODE_TYPES,
364
+ Al as PYTHON_NODE_TYPES,
366
365
  qe as PencilIcon,
367
366
  dt as PercentileInput,
368
367
  $t as PerfectHits,
@@ -372,32 +371,32 @@ export {
372
371
  so as Plus2Icon,
373
372
  ao as PlusIcon,
374
373
  Xe as PointerIcon,
375
- al as PostGameStats,
374
+ rl as PostGameStats,
376
375
  po as PracticeIcon,
377
- Kl as PreviewWorksheet,
376
+ Yl as PreviewWorksheet,
378
377
  uo as ProgressIcon,
379
378
  Va as ProjectOutcome,
380
379
  Ka as ProjectType,
381
380
  no as QuestionIcon,
382
381
  Io as QuestionLetterIcon,
383
- Ll as REWARDS_LIST,
382
+ _l as REWARDS_LIST,
384
383
  _t as RadioCard,
385
384
  Xr as RadioInput,
386
385
  To as RedoIcon,
387
- Il as ReferenceSheet,
388
- qs as RemotePeerPointer,
386
+ nl as ReferenceSheet,
387
+ js as RemotePeerPointer,
389
388
  So as RightIcon,
390
389
  Ao as RulerIcon,
391
390
  Sa as SATSheetSummary,
392
- sl as SENTRY_DENIED_URLS,
393
- ll as SENTRY_IGNORED_ERRORS,
394
- Nl as SHEET_ACTIONS,
395
- Rl as SHEET_ATTEMPT_LOCATION,
396
- hl as SHEET_ATTEMPT_LOCATION_MAP,
397
- kl as SHEET_ATTEMPT_STATE,
398
- Ml as SHEET_DATA_TYPE,
399
- Ol as SHEET_STATE,
400
- vs as STAGES,
391
+ al as SENTRY_DENIED_URLS,
392
+ fl as SENTRY_IGNORED_ERRORS,
393
+ Pl as SHEET_ACTIONS,
394
+ Ll as SHEET_ATTEMPT_LOCATION,
395
+ Nl as SHEET_ATTEMPT_LOCATION_MAP,
396
+ Rl as SHEET_ATTEMPT_STATE,
397
+ hl as SHEET_DATA_TYPE,
398
+ Ml as SHEET_STATE,
399
+ bs as STAGES,
401
400
  $o as ScribbleIcon,
402
401
  Po as SearchIcon,
403
402
  rt as SearchableSelectInput,
@@ -405,14 +404,14 @@ export {
405
404
  et as SelectInput,
406
405
  ct as SelectionCards,
407
406
  Zt as Separator,
408
- Zl as SheetError,
407
+ Jl as SheetError,
409
408
  No as SheetIcon,
410
- nl as SheetList,
411
- Jl as SheetLocked,
409
+ xl as SheetList,
410
+ Kl as SheetLocked,
412
411
  df as SignUp,
413
412
  er as SketchIcon,
414
413
  Ho as Skip2Icon,
415
- Mo as SkipIcon,
414
+ ko as SkipIcon,
416
415
  uf as SplashScreen,
417
416
  Go as Star2Icon,
418
417
  ho as StarIcon,
@@ -420,13 +419,13 @@ export {
420
419
  Jt as StreakIcon,
421
420
  ga as StreakReductionLocalStorageUtil,
422
421
  go as StrikedEyeIcon,
423
- Dl as StudentDetails,
424
- ss as SubmitMilestoneModal,
422
+ Ol as StudentDetails,
423
+ as as SubmitMilestoneModal,
425
424
  bo as SwitchIcon,
426
425
  Kt as TabComponent,
427
- kt as Tag,
426
+ Mt as Tag,
428
427
  Uf as TalkMeter,
429
- ys as TestsCreation,
428
+ Ds as TestsCreation,
430
429
  Rt as Text,
431
430
  wr as TextButton,
432
431
  st as TextInput,
@@ -444,45 +443,44 @@ export {
444
443
  Zo as UserIcon,
445
444
  zt as Video,
446
445
  fa as WHITELIST_EVENTS,
447
- Bl as WORKSHEET_ACTION_BAR_HEIGHT,
448
- bl as WORKSHEET_QUESTIONS_GAP,
449
- Ul as WORKSHEET_QUESTION_WIDTH,
450
- vl as WORKSHEET_TOP_NAVIGATION_HEIGHT,
451
- Tl as WORKSHEET_V3_NODE_TYPES,
446
+ yl as WORKSHEET_ACTION_BAR_HEIGHT,
447
+ gl as WORKSHEET_QUESTIONS_GAP,
448
+ Bl as WORKSHEET_QUESTION_WIDTH,
449
+ bl as WORKSHEET_TOP_NAVIGATION_HEIGHT,
450
+ Il as WORKSHEET_V3_NODE_TYPES,
452
451
  va as WebView,
453
452
  Ya as WebViewEvent,
454
- Yl as Worksheet,
453
+ Vl as Worksheet,
455
454
  Aa as checkIfPPTNodeType,
456
455
  vt as getTheme,
457
- Js as invalidateMilestoneResources,
458
- Vs as invalidateMilestonesData,
459
- Qs as invalidateTestHelpData,
460
- Vl as isOkayTypeQuestion,
461
- yl as loadScript,
456
+ Ks as invalidateMilestoneResources,
457
+ vs as invalidateMilestonesData,
458
+ ws as invalidateTestHelpData,
459
+ vl as isOkayTypeQuestion,
460
+ Dl as loadScript,
462
461
  wf as useAutoPlayPermission,
463
- Qf as useBreakpoint,
464
462
  Af as useCanvasSyncBroker,
465
463
  ha as useCircleSounds,
466
464
  Bf as useClassTimeAlerts,
467
465
  bt as useContextMenuClickHandler,
468
466
  Lr as useForceReload,
469
- ws as useGetAllMilestonesdata,
467
+ Ws as useGetAllMilestonesdata,
470
468
  tf as useGetCircleHomeDetailsDal,
471
- qf as useGetEligibleJourneysViaRoute,
469
+ jf as useGetEligibleJourneysViaRoute,
472
470
  Ha as useGetLeaderboardDal,
473
- js as useGetMilestoneResources,
474
- Ks as useGetTestHelpData,
475
- Mf as useInClassActionDispatcher,
471
+ Fs as useGetMilestoneResources,
472
+ Ys as useGetTestHelpData,
473
+ kf as useInClassActionDispatcher,
476
474
  Of as useInClassActionListener,
477
475
  Pf as useInClassMessageBroker,
478
- $l as useIsLearnosityLoaded,
476
+ zl as useIsLearnosityLoaded,
479
477
  la as useIsTabBlocked,
480
- jf as useJourney,
481
- Xs as usePointerSync,
478
+ Ff as useJourney,
479
+ qs as usePointerSync,
482
480
  gt as useTrackingContext,
483
481
  Nf as useTrialSessionMessageBroker,
484
482
  Gt as useUIContext,
485
- op as useWorksheetLayout,
483
+ $l as useWorksheetLayout,
486
484
  _r as useZoomDisable
487
485
  };
488
486
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "2.9.7-rj-1",
3
+ "version": "2.9.7-rj-2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,7 +0,0 @@
1
- const o = {
2
- MOBILE: 600
3
- };
4
- export {
5
- o as BREAKPOINTS
6
- };
7
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/features/hooks/use-breakpoint/constants.ts"],"sourcesContent":["export const BREAKPOINTS = {\n MOBILE: 600,\n};\n"],"names":["BREAKPOINTS"],"mappings":"AAAO,MAAMA,IAAc;AAAA,EACzB,QAAQ;AACV;"}
@@ -1,16 +0,0 @@
1
- import { useState as t, useEffect as o } from "react";
2
- import { BREAKPOINTS as r } from "./constants.js";
3
- const w = () => {
4
- const [e, n] = t(typeof window < "u" ? window.innerWidth : 0);
5
- return o(() => {
6
- const i = () => n(window.innerWidth);
7
- return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
8
- }, []), {
9
- isMobile: e < r.MOBILE,
10
- width: e
11
- };
12
- };
13
- export {
14
- w as useBreakpoint
15
- };
16
- //# sourceMappingURL=use-breakpoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-breakpoint.js","sources":["../../../../src/features/hooks/use-breakpoint/use-breakpoint.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { BREAKPOINTS } from './constants';\n\nexport const useBreakpoint = () => {\n const [width, setWidth] = useState<number>(typeof window !== 'undefined' ? window.innerWidth : 0);\n\n useEffect(() => {\n const handleResize = () => setWidth(window.innerWidth);\n\n window.addEventListener('resize', handleResize);\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n return {\n isMobile: width < BREAKPOINTS.MOBILE,\n width,\n };\n};\n"],"names":["useBreakpoint","width","setWidth","useState","useEffect","handleResize","BREAKPOINTS"],"mappings":";;AAIO,MAAMA,IAAgB,MAAM;AAC3B,QAAA,CAACC,GAAOC,CAAQ,IAAIC,EAAiB,OAAO,SAAW,MAAc,OAAO,aAAa,CAAC;AAEhG,SAAAC,EAAU,MAAM;AACd,UAAMC,IAAe,MAAMH,EAAS,OAAO,UAAU;AAE9C,kBAAA,iBAAiB,UAAUG,CAAY,GAEvC,MAAM,OAAO,oBAAoB,UAAUA,CAAY;AAAA,EAChE,GAAG,CAAE,CAAA,GAEE;AAAA,IACL,UAAUJ,IAAQK,EAAY;AAAA,IAC9B,OAAAL;AAAA,EAAA;AAEJ;"}