@cuemath/leap 3.1.46 → 3.1.48-aa0
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/assets/illustrations/illustrations.js +3 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +19 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +12 -12
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +9 -9
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +6 -6
- package/dist/features/auth/login/login-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/constants/index.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +23 -11
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/chapters-v2/utils/node-card-utils.js +50 -34
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +14 -13
- package/dist/features/hooks/use-viewport/use-viewport.js.map +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration-styled.js +10 -0
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration-styled.js.map +1 -0
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +44 -0
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -0
- package/dist/features/puzzles/utils/puzzle-feedback-celebration.js +44 -0
- package/dist/features/puzzles/utils/puzzle-feedback-celebration.js.map +1 -0
- package/dist/features/ui/theme/constants.js +11 -0
- package/dist/features/ui/theme/constants.js.map +1 -0
- package/dist/features/ui/theme/get-device.js +6 -0
- package/dist/features/ui/theme/get-device.js.map +1 -0
- package/dist/features/ui/theme/get-theme.js +25 -23
- package/dist/features/ui/theme/get-theme.js.map +1 -1
- package/dist/features/ui/theme/layout.js +6 -3
- package/dist/features/ui/theme/layout.js.map +1 -1
- package/dist/features/ui/theme/media-queries.js +11 -0
- package/dist/features/ui/theme/media-queries.js.map +1 -0
- package/dist/features/worksheet/worksheet/constants.js +12 -13
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +227 -245
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +163 -162
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +46 -10
- package/dist/index.js +90 -90
- package/dist/static/activity.ca6afed5.json +417 -0
- package/dist/static/cent.3a07ef13.json +5576 -0
- package/dist/static/clap.aa0b824b.json +12684 -0
- package/dist/static/dart.60f73d0f.json +4207 -0
- package/dist/static/diamond.8c91431a.json +6716 -0
- package/dist/static/dice.eb192df8.json +16260 -0
- package/dist/static/download.475e7e15.json +1038 -0
- package/dist/static/golf.55585049.json +2832 -0
- package/dist/static/magicwand.75ac8f1b.json +3879 -0
- package/dist/static/mechanical-arm.7561628e.json +4428 -0
- package/dist/static/medal.782dab23.json +4134 -0
- package/dist/static/node-activity-bg.122f7e01.svg +1 -0
- package/dist/static/node-download-bg.b8367de7.svg +1 -0
- package/dist/static/node-subjective-bg.d6013a16.svg +1 -0
- package/dist/static/party-ball.e19caed6.json +11578 -0
- package/dist/static/party-popper.9f7992e8.json +6416 -0
- package/dist/static/slot-machine.ba8014dd.json +7779 -0
- package/dist/static/subjective.bc5f37fb.json +1177 -0
- package/dist/static/super.7fad19f6.json +3720 -0
- package/dist/static/trophy.a8ea85ef.json +6813 -0
- package/dist/static/victory.2ca41d92.json +9959 -0
- package/package.json +1 -1
- package/dist/features/ui/theme/device.js +0 -5
- package/dist/features/ui/theme/device.js.map +0 -1
- package/dist/features/utils/media.js +0 -16
- package/dist/features/utils/media.js.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sources":["../../../../src/features/ui/theme/device.ts"],"sourcesContent":["import type { TSupportedDevices } from '../types';\n\nexport const getDeviceConfig = (): TSupportedDevices => {\n const MOBILE_WIDTH = 600;\n\n return window.innerWidth <= MOBILE_WIDTH ? 'mobile' : 'desktop';\n};\n"],"names":["getDeviceConfig"],"mappings":"AAEO,MAAMA,IAAkB,MAGtB,OAAO,cAAc,MAAe,WAAW;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
mobile: 480,
|
|
3
|
-
tablet: 760,
|
|
4
|
-
desktop: 920,
|
|
5
|
-
large: 1200,
|
|
6
|
-
xl: 1424
|
|
7
|
-
}, l = (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"), t = {
|
|
8
|
-
minDesktop: `@media (min-width: ${e.desktop}px)`,
|
|
9
|
-
minLarge: `@media (min-width: ${e.large}px)`
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
e as BREAKPOINTS,
|
|
13
|
-
l as getDeviceType,
|
|
14
|
-
t 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 minDesktop: `@media (min-width: ${BREAKPOINTS.desktop}px)`,\n minLarge: `@media (min-width: ${BREAKPOINTS.large}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,YAAY,sBAAsBH,EAAY,OAAO;AAAA,EACrD,UAAU,sBAAsBA,EAAY,KAAK;AACnD;"}
|