@cuemath/leap 3.0.30-j → 3.0.31-beta-0.1

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 (52) hide show
  1. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  2. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  3. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +9 -8
  4. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  5. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +1 -1
  6. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -1
  7. package/dist/features/auth/forgot-password/forgot-password-styled.js +3 -15
  8. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  9. package/dist/features/auth/forgot-password/otp-form/otp-form.js +29 -29
  10. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -1
  11. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +4 -2
  12. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -1
  13. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +15 -13
  14. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -1
  15. package/dist/features/auth/login/social-login-methods/social-login-methods.js +34 -43
  16. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -1
  17. package/dist/features/auth/login/username-password-form/username-password-form.js +21 -22
  18. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -1
  19. package/dist/features/homework/styles.js +5 -4
  20. package/dist/features/homework/styles.js.map +1 -1
  21. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +38 -36
  22. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
  23. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +24 -22
  24. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
  25. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +23 -22
  26. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
  27. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +49 -47
  28. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
  29. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +94 -87
  30. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
  31. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +13 -12
  32. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
  33. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +23 -21
  34. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
  35. package/dist/features/milestone/create/milestone-create-helpers.js +165 -162
  36. package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
  37. package/dist/features/ui/buttons/button/button-styled.js +29 -29
  38. package/dist/features/ui/buttons/button/button-styled.js.map +1 -1
  39. package/dist/index.d.ts +3 -19
  40. package/dist/index.js +49 -53
  41. package/dist/index.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js +0 -21
  44. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js.map +0 -1
  45. package/dist/features/auth/login/login-styled.js +0 -13
  46. package/dist/features/auth/login/login-styled.js.map +0 -1
  47. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js +0 -9
  48. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js.map +0 -1
  49. package/dist/features/hooks/use-device-type.js +0 -25
  50. package/dist/features/hooks/use-device-type.js.map +0 -1
  51. package/dist/features/utils/media.js +0 -16
  52. package/dist/features/utils/media.js.map +0 -1
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { default as R } from "./assets/line-icons/icons/bookmark.js";
14
14
  import { default as N } from "./assets/line-icons/icons/bulb.js";
15
15
  import { default as M } from "./assets/line-icons/icons/bulb2.js";
16
16
  import { default as D } from "./assets/line-icons/icons/calendar.js";
17
- import { default as G } from "./assets/line-icons/icons/check.js";
17
+ import { default as g } from "./assets/line-icons/icons/check.js";
18
18
  import { default as U } from "./assets/line-icons/icons/check2.js";
19
19
  import { default as b } from "./assets/line-icons/icons/clipboard.js";
20
20
  import { default as W } from "./assets/line-icons/icons/clock.js";
@@ -41,7 +41,7 @@ import { default as Re } from "./assets/line-icons/icons/home.js";
41
41
  import { default as Ne } from "./assets/line-icons/icons/image.js";
42
42
  import { default as Me } from "./assets/line-icons/icons/info.js";
43
43
  import { default as De } from "./assets/line-icons/icons/info2.js";
44
- import { default as Ge } from "./assets/line-icons/icons/left.js";
44
+ import { default as ge } from "./assets/line-icons/icons/left.js";
45
45
  import { default as Ue } from "./assets/line-icons/icons/lock.js";
46
46
  import { default as be } from "./assets/line-icons/icons/lock2.js";
47
47
  import { default as We } from "./assets/line-icons/icons/lock3.js";
@@ -67,8 +67,8 @@ import { default as Lo } from "./assets/line-icons/icons/ruler.js";
67
67
  import { default as ko } from "./assets/line-icons/icons/search.js";
68
68
  import { default as Oo } from "./assets/line-icons/icons/sheet.js";
69
69
  import { default as Ho } from "./assets/line-icons/icons/star.js";
70
- import { default as yo } from "./assets/line-icons/icons/skip-colored.js";
71
- import { default as go } from "./assets/line-icons/icons/skip.js";
70
+ import { default as Go } from "./assets/line-icons/icons/skip-colored.js";
71
+ import { default as yo } from "./assets/line-icons/icons/skip.js";
72
72
  import { default as Bo } from "./assets/line-icons/icons/skip2.js";
73
73
  import { default as vo } from "./assets/line-icons/icons/star2.js";
74
74
  import { default as wo } from "./assets/line-icons/icons/status.js";
@@ -94,7 +94,7 @@ import { default as Rr } from "./assets/line-icons/icons/cuemath-logo.js";
94
94
  import { default as Nr } from "./assets/line-icons/icons/next2.js";
95
95
  import { AutoPlayPermissionProvider as Mr } from "./features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js";
96
96
  import { default as Dr } from "./features/hooks/use-zoom-disable.js";
97
- import { default as Gr } from "./features/hooks/use-force-reload.js";
97
+ import { default as gr } from "./features/hooks/use-force-reload.js";
98
98
  import { default as Ur } from "./features/ui/accordion-section/accordion-section.js";
99
99
  import { default as br } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
100
100
  import { default as Wr } from "./features/ui/context-menu/context-menu.js";
@@ -121,7 +121,7 @@ import { default as Rt } from "./features/ui/layout/flex-view.js";
121
121
  import { default as Nt } from "./features/ui/loader/app-loader/app-loader.js";
122
122
  import { CircularLoader as Mt } from "./features/ui/loader/circular-loader/circular-loader.js";
123
123
  import { default as Dt } from "./features/ui/radio-cards/radio-cards.js";
124
- import { default as Gt } from "./features/ui/section-list/section-list.js";
124
+ import { default as gt } from "./features/ui/section-list/section-list.js";
125
125
  import { default as Ut } from "./features/ui/text/text.js";
126
126
  import { default as bt } from "./features/ui/tag/tag.js";
127
127
  import { default as Wt } from "./features/ui/callout/callout.js";
@@ -147,8 +147,8 @@ import { default as La } from "./features/auth/comps/resend-otp/resend-otp.js";
147
147
  import { default as ka } from "./features/auth/signup/user-type-selector/user-type-selector.js";
148
148
  import { default as Oa } from "./features/auth/signup/claim-user-account/claim-user-account.js";
149
149
  import { default as Ha } from "./features/auth/signup/custom-input-field/grade-input/grade-input.js";
150
- import { default as ya } from "./features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js";
151
- import { default as ga } from "./features/auth/signup/custom-input-field/custom-input-field.js";
150
+ import { default as Ga } from "./features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js";
151
+ import { default as ya } from "./features/auth/signup/custom-input-field/custom-input-field.js";
152
152
  import { default as Ba } from "./features/auth/signup/circular-step-wrapper/circular-step-wrapper.js";
153
153
  import { default as va } from "./features/auth/signup/signup-methods/signup-methods.js";
154
154
  import { default as wa } from "./features/auth/account-selector/account-selector.js";
@@ -174,7 +174,7 @@ import { default as Rf } from "./features/chapters/lpar-chapter/block-section/sa
174
174
  import { checkIfPPTNodeType as Nf } from "./features/chapters/lpar-chapter/utils/index.js";
175
175
  import { default as Mf } from "./features/chapters-v2/chapter-details/chapter-details.js";
176
176
  import { invalidateGetChapterDetails as Df } from "./features/chapters-v2/api/chapter.js";
177
- import { GAME_LAUNCHER_ASSET_PADDING as Gf } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
177
+ import { GAME_LAUNCHER_ASSET_PADDING as gf } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
178
178
  import { GAME_LAUNCHER_SIZE as Uf } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
179
179
  import { useCircleSounds as bf } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
180
180
  import { CircleSoundKey as Wf } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
@@ -200,8 +200,8 @@ import { default as Ls } from "./features/cue-canvas/cue-canvas-provider.js";
200
200
  import { default as ks } from "./features/cue-canvas/toolbar/toolbar.js";
201
201
  import { default as Os } from "./features/cue-canvas/cue-canvas.js";
202
202
  import { default as Hs } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
203
- import { default as ys } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
204
- import { default as gs } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
203
+ import { default as Gs } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
204
+ import { default as ys } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
205
205
  import { EVENTS as Bs } from "./features/communication/pub-sub/constants.js";
206
206
  import { useInClassActionDispatcher as vs, useInClassActionListener as Ws } from "./features/communication/pub-sub/hooks.js";
207
207
  import { default as Vs } from "./features/trial-session/trial-session.js";
@@ -227,7 +227,7 @@ import { default as Rl } from "./features/milestone/create/comps/confirmation-mo
227
227
  import { default as Nl } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
228
228
  import { default as Ml } from "./features/milestone/create/milestone-create-container.js";
229
229
  import { default as Dl } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
230
- import { default as Gl } from "./features/milestone/outcome/milestone-outcome-container.js";
230
+ import { default as gl } from "./features/milestone/outcome/milestone-outcome-container.js";
231
231
  import { default as Ul } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
232
232
  import { default as bl } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
233
233
  import { default as Wl } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
@@ -251,23 +251,21 @@ import { default as hp } from "./features/recent-chapters/recent-chapters.js";
251
251
  import { SENTRY_DENIED_URLS as Rp, SENTRY_IGNORED_ERRORS as kp } from "./features/sentry/constants/ignored.js";
252
252
  import { default as Op } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
253
253
  import { default as Hp } from "./features/sheet-tools/tool-header/tool-header.js";
254
- import { default as yp } from "./features/sheets/sheets-list/sheets-list.js";
255
- import { default as gp } from "./features/sheets/reference-sheet/reference-sheet.js";
254
+ import { default as Gp } from "./features/sheets/sheets-list/sheets-list.js";
255
+ import { default as yp } from "./features/sheets/reference-sheet/reference-sheet.js";
256
256
  import { WORKSHEET_V3_NODE_TYPES as Bp } from "./features/sheets/utils/is-v3-worksheet.js";
257
257
  import { COMPLETED_SHEET_STATE as vp, NODE_LABELS as Wp, NODE_SUB_GROUP as wp, NODE_TYPE as Vp, PYTHON_NODE_TYPES as Fp, REWARDS_LIST as Yp, SHEET_ACTIONS as Jp, SHEET_ATTEMPT_LOCATION as Qp, SHEET_ATTEMPT_LOCATION_MAP as Kp, SHEET_ATTEMPT_STATE as jp, SHEET_DATA_TYPE as Zp, SHEET_STATE as qp } from "./features/sheets/constants/sheet.js";
258
258
  import { default as Xp } from "./features/student-details/student-details.js";
259
259
  import { default as em } from "./features/utils/load-script.js";
260
- import { media as rm } from "./features/utils/media.js";
261
- import { ACTION_BAR_HEIGHT as am, QUESTIONS_GAP as fm, QUESTION_WIDTH as sm, TOP_NAVIGATION_HEIGHT as lm } from "./features/worksheet/worksheet/constants.js";
262
- import { isOkayTypeQuestion as mm } from "./features/worksheet/worksheet/worksheet-helpers.js";
263
- import { default as dm } from "./features/worksheet/worksheet/worksheet-container.js";
264
- import { default as nm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
265
- import { default as Im } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
266
- import { default as Tm } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
267
- import { default as Em } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
268
- import { default as Am } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
269
- import { default as Pm } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
270
- import { default as Lm } from "./features/hooks/use-device-type.js";
260
+ import { ACTION_BAR_HEIGHT as rm, QUESTIONS_GAP as tm, QUESTION_WIDTH as am, TOP_NAVIGATION_HEIGHT as fm } from "./features/worksheet/worksheet/constants.js";
261
+ import { isOkayTypeQuestion as lm } from "./features/worksheet/worksheet/worksheet-helpers.js";
262
+ import { default as mm } from "./features/worksheet/worksheet/worksheet-container.js";
263
+ import { default as dm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
264
+ import { default as nm } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
265
+ import { default as Im } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
266
+ import { default as Tm } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
267
+ import { default as Em } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
268
+ import { default as Am } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
271
269
  export {
272
270
  rp as ACHIEVEMENT_ACTIONS,
273
271
  tf as AUTH_TABS,
@@ -309,7 +307,7 @@ export {
309
307
  Cf as ChaptersList,
310
308
  hr as ChatIcon,
311
309
  U as Check2Icon,
312
- G as CheckIcon,
310
+ g as CheckIcon,
313
311
  at as CheckboxInput,
314
312
  st as CheckboxInputList,
315
313
  Sr as ChevronDownIcon,
@@ -335,9 +333,9 @@ export {
335
333
  Ls as CueCanvasProvider,
336
334
  q as CueRocket,
337
335
  Rr as CuemathLogo,
338
- ga as CustomInputField,
336
+ ya as CustomInputField,
339
337
  X as DashArrowIcon,
340
- ya as DatePickerInput,
338
+ Ga as DatePickerInput,
341
339
  Op as DesmosCalculator,
342
340
  Sp as DigitalMeter,
343
341
  ee as DownIcon,
@@ -360,7 +358,7 @@ export {
360
358
  ie as Eye2Icon,
361
359
  ce as EyeIcon,
362
360
  Rt as FlexView,
363
- Gf as GAME_LAUNCHER_ASSET_PADDING,
361
+ gf as GAME_LAUNCHER_ASSET_PADDING,
364
362
  Uf as GAME_LAUNCHER_SIZE,
365
363
  Cr as GameIcon,
366
364
  xs as GameLauncher,
@@ -393,8 +391,8 @@ export {
393
391
  _f as LPARChapter,
394
392
  hf as LPARMilestoneChapter,
395
393
  is as Leaderboard,
396
- Em as LearnosityPreloader,
397
- Ge as LeftIcon,
394
+ Tm as LearnosityPreloader,
395
+ ge as LeftIcon,
398
396
  be as Lock2Icon,
399
397
  We as Lock3Icon,
400
398
  Ue as LockIcon,
@@ -403,7 +401,7 @@ export {
403
401
  Ml as MilestoneCreate,
404
402
  Yl as MilestoneEdit,
405
403
  Ql as MilestoneList,
406
- Gl as MilestoneOutcome,
404
+ gl as MilestoneOutcome,
407
405
  ql as MilestoneStart,
408
406
  Ye as Minus2Icon,
409
407
  Ve as MinusIcon,
@@ -434,7 +432,7 @@ export {
434
432
  ro as PointerIcon,
435
433
  _p as PostGameStats,
436
434
  no as PracticeIcon,
437
- nm as PreviewWorksheet,
435
+ dm as PreviewWorksheet,
438
436
  Io as ProgressIcon,
439
437
  Xf as ProjectOutcome,
440
438
  rs as ProjectType,
@@ -445,7 +443,7 @@ export {
445
443
  pt as RadioInput,
446
444
  hp as RecentChapters,
447
445
  Ao as RedoIcon,
448
- gp as ReferenceSheet,
446
+ yp as ReferenceSheet,
449
447
  cp as RemotePeerPointer,
450
448
  La as ResendOTP,
451
449
  $a as ResetPasswordForm,
@@ -464,20 +462,20 @@ export {
464
462
  mr as ScribbleIcon,
465
463
  ko as SearchIcon,
466
464
  xt as SearchableSelectInput,
467
- Gt as SectionList,
465
+ gt as SectionList,
468
466
  ut as SelectInput,
469
467
  ht as SelectionCards,
470
468
  fa as Separator,
471
- Tm as SheetError,
469
+ Im as SheetError,
472
470
  Oo as SheetIcon,
473
- yp as SheetList,
474
- Im as SheetLocked,
471
+ Gp as SheetList,
472
+ nm as SheetLocked,
475
473
  Ps as SignUp,
476
474
  va as SignupMethods,
477
475
  ur as SketchIcon,
478
476
  Bo as Skip2Icon,
479
- yo as SkipColoredIcon,
480
- go as SkipIcon,
477
+ Go as SkipColoredIcon,
478
+ yo as SkipIcon,
481
479
  Ja as SocialAccountNotFound,
482
480
  Fa as SocialLoginMethods,
483
481
  As as SplashScreen,
@@ -517,14 +515,14 @@ export {
517
515
  Ka as UsernamePasswordForm,
518
516
  la as Video,
519
517
  df as WHITELIST_EVENTS,
520
- am as WORKSHEET_ACTION_BAR_HEIGHT,
521
- fm as WORKSHEET_QUESTIONS_GAP,
522
- sm as WORKSHEET_QUESTION_WIDTH,
523
- lm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
518
+ rm as WORKSHEET_ACTION_BAR_HEIGHT,
519
+ tm as WORKSHEET_QUESTIONS_GAP,
520
+ am as WORKSHEET_QUESTION_WIDTH,
521
+ fm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
524
522
  Bp as WORKSHEET_V3_NODE_TYPES,
525
523
  qf as WebView,
526
524
  es as WebViewEvent,
527
- dm as Worksheet,
525
+ mm as Worksheet,
528
526
  Nf as checkIfPPTNodeType,
529
527
  Zt as getTheme,
530
528
  Df as invalidateGetChapterDetails,
@@ -532,17 +530,15 @@ export {
532
530
  dp as invalidateMilestoneResources,
533
531
  fp as invalidateMilestonesData,
534
532
  pp as invalidateTestHelpData,
535
- mm as isOkayTypeQuestion,
533
+ lm as isOkayTypeQuestion,
536
534
  em as loadScript,
537
- rm as media,
538
535
  rl as useAutoPlayPermission,
539
536
  Hs as useCanvasSyncBroker,
540
537
  Cl as useChapterPageJourney,
541
538
  bf as useCircleSounds,
542
539
  Qs as useClassTimeAlerts,
543
540
  Kt as useContextMenuClickHandler,
544
- Lm as useDeviceType,
545
- Gr as useForceReload,
541
+ gr as useForceReload,
546
542
  sp as useGetAllMilestonesdata,
547
543
  cs as useGetCircleHomeDetailsDal,
548
544
  ul as useGetEligibleJourneysViaRoute,
@@ -552,15 +548,15 @@ export {
552
548
  Sl as useHomePageJourney,
553
549
  vs as useInClassActionDispatcher,
554
550
  Ws as useInClassActionListener,
555
- ys as useInClassMessageBroker,
556
- Am as useIsLearnosityLoaded,
551
+ Gs as useInClassMessageBroker,
552
+ Em as useIsLearnosityLoaded,
557
553
  nf as useIsTabBlocked,
558
554
  pl as useJourney,
559
555
  ip as usePointerSync,
560
556
  Jt as useTrackingContext,
561
- gs as useTrialSessionMessageBroker,
557
+ ys as useTrialSessionMessageBroker,
562
558
  Ft as useUIContext,
563
- Pm as useWorksheetLayout,
559
+ Am as useWorksheetLayout,
564
560
  Dr as useZoomDisable
565
561
  };
566
562
  //# 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": "3.0.30-j",
3
+ "version": "3.0.31-beta-0.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,21 +0,0 @@
1
- import o from "styled-components";
2
- import n from "../../../ui/layout/flex-view.js";
3
- import { media as t } from "../../../utils/media.js";
4
- const d = o(n)`
5
- min-height: 100vh;
6
- `, m = o(n)`
7
- overflow: hidden;
8
- ${t.down919} {
9
- width: 100%;
10
- }
11
- `, p = o(n)`
12
- ${t.down919} {
13
- display: none;
14
- }
15
- `;
16
- export {
17
- d as Container,
18
- m as ContentWrapper,
19
- p as RightPanel
20
- };
21
- //# sourceMappingURL=auth-page-layout-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-page-layout-styled.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport { media } from '../../../utils/media';\n\nexport const Container = styled(FlexView)`\n min-height: 100vh;\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n overflow: hidden;\n ${media.down919} {\n width: 100%;\n }\n`;\n\nexport const RightPanel = styled(FlexView)`\n ${media.down919} {\n display: none;\n }\n`;\n"],"names":["Container","styled","FlexView","ContentWrapper","media","RightPanel"],"mappings":";;;AAKa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAiBF,EAAOC,CAAQ;AAAA;AAAA,IAEzCE,EAAM,OAAO;AAAA;AAAA;AAAA,GAKJC,IAAaJ,EAAOC,CAAQ;AAAA,IACrCE,EAAM,OAAO;AAAA;AAAA;AAAA;"}
@@ -1,13 +0,0 @@
1
- import t from "styled-components";
2
- import o from "../../ui/buttons/button/button.js";
3
- const i = t.form`
4
- max-width: 336px;
5
- width: 100%;
6
- `;
7
- t(o)`
8
- max-width: 160px;
9
- `;
10
- export {
11
- i as FormContainer
12
- };
13
- //# sourceMappingURL=login-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-styled.js","sources":["../../../../src/features/auth/login/login-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\n\nconst FormContainer = styled.form`\n max-width: 336px;\n width: 100%;\n`;\n\nconst ButtonWrapper = styled(Button)`\n max-width: 160px;\n`;\n\nexport { FormContainer, ButtonWrapper };\n"],"names":["FormContainer","styled","Button"],"mappings":";;AAIA,MAAMA,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAKPA,EAAOC,CAAM;AAAA;AAAA;"}
@@ -1,9 +0,0 @@
1
- import r from "styled-components";
2
- import o from "../../../ui/layout/flex-view.js";
3
- const e = r(o)`
4
- max-width: 336px;
5
- `;
6
- export {
7
- e as Wrapper
8
- };
9
- //# sourceMappingURL=social-login-methods-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"social-login-methods-styled.js","sources":["../../../../../src/features/auth/login/social-login-methods/social-login-methods-styled.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Wrapper = styled(FlexView)`\n max-width: 336px;\n`;\n"],"names":["Wrapper","styled","FlexView"],"mappings":";;AAIa,MAAAA,IAAUC,EAAOC,CAAQ;AAAA;AAAA;"}
@@ -1,25 +0,0 @@
1
- import { useState as n, useEffect as o } from "react";
2
- import { getDeviceType as r } from "../utils/media.js";
3
- const d = () => {
4
- const [i, s] = n(() => window.innerWidth);
5
- o(() => {
6
- function t() {
7
- s(window.innerWidth);
8
- }
9
- return window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
10
- }, []);
11
- const e = r(i);
12
- return {
13
- width: i,
14
- isMobile: e === "mobile",
15
- isTablet: e === "tablet",
16
- isDesktop: e === "desktop",
17
- isLarge: e === "large",
18
- isXL: e === "xl",
19
- deviceType: e
20
- };
21
- }, p = d;
22
- export {
23
- p as default
24
- };
25
- //# sourceMappingURL=use-device-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-device-type.js","sources":["../../../src/features/hooks/use-device-type.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { getDeviceType } from '../utils/media';\n\ninterface IUseDeviceTypeReturn {\n width: number;\n isMobile: boolean;\n isTablet: boolean;\n isDesktop: boolean;\n isLarge: boolean;\n isXL: boolean;\n deviceType: 'mobile' | 'tablet' | 'desktop' | 'large' | 'xl';\n}\n\nconst useDeviceType = (): IUseDeviceTypeReturn => {\n const [width, setWidth] = useState(() => window.innerWidth);\n\n useEffect(() => {\n function handleResize() {\n setWidth(window.innerWidth);\n }\n\n window.addEventListener('resize', handleResize);\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n const deviceType = getDeviceType(width);\n\n return {\n width,\n isMobile: deviceType === 'mobile',\n isTablet: deviceType === 'tablet',\n isDesktop: deviceType === 'desktop',\n isLarge: deviceType === 'large',\n isXL: deviceType === 'xl',\n deviceType,\n };\n};\n\nexport default useDeviceType;\n"],"names":["useDeviceType","width","setWidth","useState","useEffect","handleResize","deviceType","getDeviceType","useDeviceType$1"],"mappings":";;AAcA,MAAMA,IAAgB,MAA4B;AAChD,QAAM,CAACC,GAAOC,CAAQ,IAAIC,EAAS,MAAM,OAAO,UAAU;AAE1D,EAAAC,EAAU,MAAM;AACd,aAASC,IAAe;AACtB,MAAAH,EAAS,OAAO,UAAU;AAAA,IAC5B;AAEO,kBAAA,iBAAiB,UAAUG,CAAY,GAEvC,MAAM,OAAO,oBAAoB,UAAUA,CAAY;AAAA,EAChE,GAAG,CAAE,CAAA;AAEC,QAAAC,IAAaC,EAAcN,CAAK;AAE/B,SAAA;AAAA,IACL,OAAAA;AAAA,IACA,UAAUK,MAAe;AAAA,IACzB,UAAUA,MAAe;AAAA,IACzB,WAAWA,MAAe;AAAA,IAC1B,SAASA,MAAe;AAAA,IACxB,MAAMA,MAAe;AAAA,IACrB,YAAAA;AAAA,EAAA;AAEJ,GAEAE,IAAeR;"}
@@ -1,16 +0,0 @@
1
- const e = {
2
- mobile: 480,
3
- tablet: 760,
4
- desktop: 920,
5
- large: 1200,
6
- xl: 1424
7
- }, t = (r) => r < e.mobile || r >= e.mobile && r < e.tablet ? "mobile" : r >= e.tablet && r < e.desktop ? "tablet" : r >= e.desktop && r < e.large ? "desktop" : r >= e.large && r < e.xl ? "large" : (r >= e.xl, "xl"), l = {
8
- up920: `@media (min-width: ${e.desktop}px)`,
9
- down919: `@media (max-width: ${e.desktop - 1}px)`
10
- };
11
- export {
12
- e as BREAKPOINTS,
13
- t as getDeviceType,
14
- l as media
15
- };
16
- //# sourceMappingURL=media.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.js","sources":["../../../src/features/utils/media.ts"],"sourcesContent":["export const BREAKPOINTS = {\n mobile: 480,\n tablet: 760,\n desktop: 920,\n large: 1200,\n xl: 1424,\n};\nexport type TDeviceType = 'mobile' | 'tablet' | 'desktop' | 'large' | 'xl';\n\nexport const getDeviceType = (width: number): TDeviceType => {\n if (width < BREAKPOINTS.mobile) return 'mobile';\n\n if (width >= BREAKPOINTS.mobile && width < BREAKPOINTS.tablet) return 'mobile';\n\n if (width >= BREAKPOINTS.tablet && width < BREAKPOINTS.desktop) return 'tablet';\n\n if (width >= BREAKPOINTS.desktop && width < BREAKPOINTS.large) return 'desktop';\n\n if (width >= BREAKPOINTS.large && width < BREAKPOINTS.xl) return 'large';\n\n if (width >= BREAKPOINTS.xl) return 'xl';\n\n return 'xl';\n};\n\nexport const media = {\n up920: `@media (min-width: ${BREAKPOINTS.desktop}px)`,\n down919: `@media (max-width: ${BREAKPOINTS.desktop - 1}px)`,\n};\n"],"names":["BREAKPOINTS","getDeviceType","width","media"],"mappings":"AAAO,MAAMA,IAAc;AAAA,EACzB,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AAAA,EACP,IAAI;AACN,GAGaC,IAAgB,CAACC,MACxBA,IAAQF,EAAY,UAEpBE,KAASF,EAAY,UAAUE,IAAQF,EAAY,SAAe,WAElEE,KAASF,EAAY,UAAUE,IAAQF,EAAY,UAAgB,WAEnEE,KAASF,EAAY,WAAWE,IAAQF,EAAY,QAAc,YAElEE,KAASF,EAAY,SAASE,IAAQF,EAAY,KAAW,WAE7DE,KAASF,EAAY,IAAW,OAKzBG,IAAQ;AAAA,EACnB,OAAO,sBAAsBH,EAAY,OAAO;AAAA,EAChD,SAAS,sBAAsBA,EAAY,UAAU,CAAC;AACxD;"}