@cuemath/leap 3.4.8 → 3.4.9-akm-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.
- package/dist/assets/illustrations/illustrations.js +7 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +3 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +1 -1
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +1 -1
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +31 -16
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +22 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/circle-games/{game-launcher → game-launcher-v2}/api/get-content-for-today/constants.js +1 -1
- package/dist/features/circle-games/game-launcher-v2/api/get-content-for-today/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/api/get-content-for-today/get-circle-home-api.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/card-container-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/card-container.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/constants.js +11 -0
- package/dist/features/circle-games/game-launcher-v2/comps/card-container/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel-styled.js +121 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel.js +106 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/carousel.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/constants.js +9 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge-style.js +20 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge-style.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge.js +17 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-badge.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-single-badge.js +20 -0
- package/dist/features/circle-games/game-launcher-v2/comps/carousel-badge/carousel-single-badge.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card-styled.js +66 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card.js +81 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/circular-game-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/constants.js +8 -0
- package/dist/features/circle-games/game-launcher-v2/comps/circular-game-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/constants.js +6 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content-styled.js +57 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content.js +9 -0
- package/dist/features/circle-games/game-launcher-v2/comps/game-card-content/game-card-content.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/segmented-game-card/constants.js +7 -0
- package/dist/features/circle-games/game-launcher-v2/comps/segmented-game-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/swipable-card/swipeable-card-styled.js +14 -0
- package/dist/features/circle-games/game-launcher-v2/comps/swipable-card/swipeable-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/swipable-card/swipeable-card.js +24 -0
- package/dist/features/circle-games/game-launcher-v2/comps/swipable-card/swipeable-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/infinite-button/infinite-mode-launcher-button.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text-style.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text-types.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/spl-events-text/spl-events-text.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode/table-mode-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode/table-mode.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/table-mode-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-mode-star/table-mode-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-segment-star/table-segment-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/table-segment-star/table-segment-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/tables-card-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/comps/tables-card/tables-card.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/helper.js +94 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/helper.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-analytics-events.js +13 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-analytics-events.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-v2.js +321 -0
- package/dist/features/circle-games/game-launcher-v2/game-launcher-v2.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/helpers.js +8 -0
- package/dist/features/circle-games/game-launcher-v2/helpers.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-game-launcher-journey/constants.js +6 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-game-launcher-journey/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-game-launcher-journey/use-game-launcher-journey.js +160 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-infinite-launcher-journey/constants.js +5 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-infinite-launcher-journey/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +92 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-launcher-journey/constants.js +10 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-launcher-journey/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-launcher-journey/use-table-launcher-journey.js +159 -0
- package/dist/features/circle-games/game-launcher-v2/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -0
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js +13 -10
- package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js +53 -65
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/use-journey/constants.js +7 -5
- package/dist/features/journey/use-journey/constants.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +84 -72
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js +2 -2
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js +2 -2
- package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/constants.js +1 -1
- package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
- package/dist/features/post-game-stats/points/points.js +5 -4
- package/dist/features/post-game-stats/points/points.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats-styled.js +9 -8
- package/dist/features/post-game-stats/post-game-stats-styled.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats.js +107 -105
- package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
- package/dist/features/post-game-stats/score/score-styled.js +2 -2
- package/dist/features/post-game-stats/score/score-styled.js.map +1 -1
- package/dist/features/post-game-stats/streak/constants.js +1 -1
- package/dist/features/post-game-stats/streak/constants.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak-styled.js +2 -2
- package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +14 -13
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/index.d.ts +69 -7
- package/dist/index.js +5 -5
- package/dist/static/accuracy-badge.2e161f00.svg +1 -0
- package/dist/static/clock-badge.0adb4ba6.svg +1 -0
- package/dist/static/daily-work-out-complete.eaffdd2b.json +1 -0
- package/dist/static/down-arrow-badge.f462f615.svg +1 -0
- package/dist/static/green-tick.43b94c3a.svg +1 -0
- package/dist/static/nudge-swipe.3b97c01a.json +1 -0
- package/dist/static/pill-tick.c06f606d.json +1 -0
- package/dist/static/points-badge.96bdecc9.svg +1 -0
- package/dist/static/star-badge.5450c267.svg +1 -0
- package/dist/static/up-arrow-badge.71fe7ad1.svg +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/carat-left.js +0 -26
- package/dist/assets/line-icons/icons/carat-left.js.map +0 -1
- package/dist/assets/line-icons/icons/carat-right.js +0 -26
- package/dist/assets/line-icons/icons/carat-right.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.js +0 -7
- package/dist/features/circle-games/game-launcher/comps/card-container/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js +0 -39
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js +0 -85
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js +0 -12
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js +0 -138
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +0 -105
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/infinite-button/infinite-mode-launcher-button.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text-style.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text-types.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +0 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js +0 -73
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js.map +0 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +0 -1
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js +0 -12
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js.map +0 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +0 -219
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js +0 -8
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +0 -286
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js +0 -10
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js +0 -13
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +0 -137
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js +0 -14
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js +0 -13
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +0 -230
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +0 -1
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/api/get-content-for-today/get-circle-home-api.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/card-container/card-container-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/card-container/card-container.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/infinite-button/infinite-mode-launcher-button.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text-style.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text-types.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/spl-events-text/spl-events-text.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode/table-mode-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode/table-mode.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/constants.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/table-mode-star-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-mode-star/table-mode-star.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-segment-star/table-segment-star-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/table-segment-star/table-segment-star.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/tables-card-styled.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/comps/tables-card/tables-card.js +0 -0
- /package/dist/features/circle-games/{game-launcher → game-launcher-v2}/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import i, { keyframes as r, css as s } from "styled-components";
|
|
2
|
-
import { GAME_LAUNCHER_SIZE as t } from "../../circle-games/game-launcher/comps/card-container/constants.js";
|
|
3
|
-
import { GAME_LAUNCHER_ASSET_PADDING as n } from "../../circle-games/game-launcher/comps/
|
|
2
|
+
import { GAME_LAUNCHER_SIZE as t } from "../../circle-games/game-launcher-v2/comps/card-container/constants.js";
|
|
3
|
+
import { GAME_LAUNCHER_ASSET_PADDING as n } from "../../circle-games/game-launcher-v2/comps/circular-game-card/constants.js";
|
|
4
4
|
import c from "../../ui/text/text.js";
|
|
5
5
|
import { STREAK_TOP_GREEN_SEGMENT_HEIGHT as x, STREAK_CONTAINER_HEIGHT as o } from "./constants.js";
|
|
6
6
|
const m = 50 * 84 / 100, p = r`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streak-styled.js","sources":["../../../../src/features/post-game-stats/streak/streak-styled.tsx"],"sourcesContent":["import styled, { keyframes, css } from 'styled-components';\n\nimport { GAME_LAUNCHER_SIZE } from '../../circle-games/game-launcher/comps/card-container/constants';\nimport { GAME_LAUNCHER_ASSET_PADDING } from '../../circle-games/game-launcher/comps/
|
|
1
|
+
{"version":3,"file":"streak-styled.js","sources":["../../../../src/features/post-game-stats/streak/streak-styled.tsx"],"sourcesContent":["import styled, { keyframes, css } from 'styled-components';\n\nimport { GAME_LAUNCHER_SIZE } from '../../circle-games/game-launcher-v2/comps/card-container/constants';\nimport { GAME_LAUNCHER_ASSET_PADDING } from '../../circle-games/game-launcher-v2/comps/circular-game-card/constants';\nimport Text from '../../ui/text/text';\nimport { STREAK_CONTAINER_HEIGHT, STREAK_TOP_GREEN_SEGMENT_HEIGHT } from './constants';\n\nconst MASK_PADDING = (50 * 84) / 100;\n\nconst fadeIn = keyframes`\n 0%{\n opacity: 0;\n }\n 100%{\n opacity: 1;\n }\n`;\n\nconst fadeOut = keyframes`\n 0%{\n opacity: 1;\n }\n 100%{\n opacity: 0;\n }\n`;\n\nexport const Streak = styled.div`\n height: ${GAME_LAUNCHER_SIZE}px;\n width: ${GAME_LAUNCHER_SIZE}px;\n background: transparent;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n`;\n\nexport const SVGImgContainer = styled.div`\n position: absolute;\n border-radius: ${Math.ceil((GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING) / 2)}px;\n height: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n width: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n z-index: 0;\n`;\n\nexport const StreakLottieView = styled.div`\n height: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n width: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n position: absolute;\n z-index: 2;\n`;\nexport const StreakValueWrapper = styled.div<{\n $duration: number;\n $animationType: 'fadein' | 'fadeout';\n}>`\n position: absolute;\n top: ${STREAK_TOP_GREEN_SEGMENT_HEIGHT}px;\n z-index: 2;\n height: ${STREAK_CONTAINER_HEIGHT}px;\n animation: ${({ $animationType, $duration }) => css`\n ${$animationType === 'fadein' ? fadeIn : fadeOut} ${$duration}ms linear forwards\n `};\n overflow: hidden;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const StreakValueContainer = styled.div<{\n $translate: boolean;\n $translateDuration: number;\n}>`\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: ${STREAK_CONTAINER_HEIGHT * 2}px;\n transition: transform ${({ $translateDuration }) => `${$translateDuration}ms linear`};\n transform: ${({ $translate }) =>\n $translate ? `translateY(-${STREAK_CONTAINER_HEIGHT}px)` : 'translateY(0)'};\n`;\n\nexport const StreakValue = styled(Text)`\n font-size: 123px;\n line-height: 123px;\n text-align: center;\n height: ${STREAK_CONTAINER_HEIGHT}px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nexport const TextWrapper = styled.div<{\n $duration: number;\n $delay: number;\n $animationType: 'fadein' | 'fadeout';\n}>`\n z-index: 2;\n opacity: 0;\n animation: ${({ $animationType, $duration, $delay }) => css`\n ${$animationType === 'fadein' ? fadeIn : fadeOut} ${$duration}ms ${$delay}ms ease forwards\n `};\n transform: translateY(${((GAME_LAUNCHER_SIZE + MASK_PADDING) * 84) / 200 + 25}px);\n`;\n"],"names":["MASK_PADDING","fadeIn","keyframes","fadeOut","Streak","styled","GAME_LAUNCHER_SIZE","SVGImgContainer","GAME_LAUNCHER_ASSET_PADDING","StreakLottieView","StreakValueWrapper","STREAK_TOP_GREEN_SEGMENT_HEIGHT","STREAK_CONTAINER_HEIGHT","$animationType","$duration","css","StreakValueContainer","$translateDuration","$translate","StreakValue","Text","TextWrapper","$delay"],"mappings":";;;;;AAOA,MAAMA,IAAgB,KAAK,KAAM,KAE3BC,IAASC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASTC,IAAUD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASHE,IAASC,EAAO;AAAA,YACjBC,CAAkB;AAAA,WACnBA,CAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQhBC,IAAkBF,EAAO;AAAA;AAAA,mBAEnB,KAAK,MAAMC,IAAqBE,KAA+B,CAAC,CAAC;AAAA,YACxEF,IAAqBE,CAA2B;AAAA,WACjDF,IAAqBE,CAA2B;AAAA;AAAA,GAI9CC,IAAmBJ,EAAO;AAAA,YAC3BC,IAAqBE,CAA2B;AAAA,WACjDF,IAAqBE,CAA2B;AAAA;AAAA;AAAA,GAI9CE,IAAqBL,EAAO;AAAA;AAAA,SAKhCM,CAA+B;AAAA;AAAA,YAE5BC,CAAuB;AAAA,eACpB,CAAC,EAAE,gBAAAC,GAAgB,WAAAC,EAAA,MAAgBC;AAAA,MAC5CF,MAAmB,WAAWZ,IAASE,CAAO,IAAIW,CAAS;AAAA,GAC9D;AAAA;AAAA;AAAA;AAAA;AAAA,GAOUE,IAAuBX,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,YAQ/BO,IAA0B,CAAC;AAAA,0BACb,CAAC,EAAE,oBAAAK,EAAyB,MAAA,GAAGA,CAAkB,WAAW;AAAA,eACvE,CAAC,EAAE,YAAAC,EAAW,MACzBA,IAAa,eAAeN,CAAuB,QAAQ,eAAe;AAAA,GAGjEO,IAAcd,EAAOe,CAAI;AAAA;AAAA;AAAA;AAAA,YAI1BR,CAAuB;AAAA;AAAA;AAAA;AAAA;AAAA,GAOtBS,IAAchB,EAAO;AAAA;AAAA;AAAA,eAOnB,CAAC,EAAE,gBAAAQ,GAAgB,WAAAC,GAAW,QAAAQ,QAAaP;AAAA,MACpDF,MAAmB,WAAWZ,IAASE,CAAO,IAAIW,CAAS,MAAMQ,CAAM;AAAA,GAC1E;AAAA,2BACyBhB,IAAqBN,KAAgB,KAAM,MAAM,EAAE;AAAA;"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { LOTTIE as
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as d } from "react";
|
|
3
|
+
import { LOTTIE as o } from "../../../assets/lottie/lottie.js";
|
|
4
4
|
import p from "../lottie-animation/lottie-animation.js";
|
|
5
5
|
import { NudgeWrapper as f, NudgeLottieContainer as s } from "./nudge-styled.js";
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
o
|
|
14
|
-
|
|
6
|
+
const l = ({
|
|
7
|
+
nudge: r = "click",
|
|
8
|
+
content: e,
|
|
9
|
+
nudgePointerX: i = 0,
|
|
10
|
+
nudgePointerY: m = 0,
|
|
11
|
+
zIndex: n = 100
|
|
12
|
+
}) => /* @__PURE__ */ c(f, { $top: m, $left: i, $zIndex: n, children: [
|
|
13
|
+
/* @__PURE__ */ t(s, { $height: 60, $width: 60, children: /* @__PURE__ */ t(p, { src: r === "click" ? o.NUDGE_TAP : o.NUDGE_SWIPE }) }),
|
|
14
|
+
e
|
|
15
|
+
] }), h = d(l);
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
h as default
|
|
17
18
|
};
|
|
18
19
|
//# sourceMappingURL=nudge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nudge.js","sources":["../../../../src/features/ui/nudge/nudge.tsx"],"sourcesContent":["import { memo, type FC } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport LottieAnimation from '../lottie-animation/lottie-animation';\nimport * as S from './nudge-styled';\nimport type { INudgeProps } from './nudge-types';\n\nconst Nudge: FC<INudgeProps> = ({\n content,\n nudgePointerX = 0,\n nudgePointerY = 0,\n zIndex = 100,\n}) => {\n return (\n <S.NudgeWrapper $top={nudgePointerY} $left={nudgePointerX} $zIndex={zIndex}>\n <S.NudgeLottieContainer $height={60} $width={60}>\n <LottieAnimation src={LOTTIE.NUDGE_TAP} />\n </S.NudgeLottieContainer>\n {content}\n </S.NudgeWrapper>\n );\n};\n\nexport default memo(Nudge);\n"],"names":["Nudge","content","nudgePointerX","nudgePointerY","zIndex","jsxs","S.NudgeWrapper","jsx","S.NudgeLottieContainer","LottieAnimation","LOTTIE","Nudge$1","memo"],"mappings":";;;;;AAOA,MAAMA,IAAyB,CAAC;AAAA,EAC9B,SAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,eAAAC,IAAgB;AAAA,EAChB,QAAAC,IAAS;AACX,MAEI,gBAAAC,EAACC,GAAA,EAAe,MAAMH,GAAe,OAAOD,GAAe,SAASE,GAClE,UAAA;AAAA,EAAA,gBAAAG,EAACC,GAAA,EAAuB,SAAS,IAAI,QAAQ,IAC3C,UAAA,gBAAAD,EAACE,GAAgB,EAAA,
|
|
1
|
+
{"version":3,"file":"nudge.js","sources":["../../../../src/features/ui/nudge/nudge.tsx"],"sourcesContent":["import { memo, type FC } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport LottieAnimation from '../lottie-animation/lottie-animation';\nimport * as S from './nudge-styled';\nimport type { INudgeProps } from './nudge-types';\n\nconst Nudge: FC<INudgeProps> = ({\n nudge = 'click',\n content,\n nudgePointerX = 0,\n nudgePointerY = 0,\n zIndex = 100,\n}) => {\n return (\n <S.NudgeWrapper $top={nudgePointerY} $left={nudgePointerX} $zIndex={zIndex}>\n <S.NudgeLottieContainer $height={60} $width={60}>\n <LottieAnimation src={nudge === 'click' ? LOTTIE.NUDGE_TAP : LOTTIE.NUDGE_SWIPE} />\n </S.NudgeLottieContainer>\n {content}\n </S.NudgeWrapper>\n );\n};\n\nexport default memo(Nudge);\n"],"names":["Nudge","nudge","content","nudgePointerX","nudgePointerY","zIndex","jsxs","S.NudgeWrapper","jsx","S.NudgeLottieContainer","LottieAnimation","LOTTIE","Nudge$1","memo"],"mappings":";;;;;AAOA,MAAMA,IAAyB,CAAC;AAAA,EAC9B,OAAAC,IAAQ;AAAA,EACR,SAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,eAAAC,IAAgB;AAAA,EAChB,QAAAC,IAAS;AACX,MAEI,gBAAAC,EAACC,GAAA,EAAe,MAAMH,GAAe,OAAOD,GAAe,SAASE,GAClE,UAAA;AAAA,EAAA,gBAAAG,EAACC,GAAA,EAAuB,SAAS,IAAI,QAAQ,IAC3C,UAAA,gBAAAD,EAACE,GAAgB,EAAA,KAAKT,MAAU,UAAUU,EAAO,YAAYA,EAAO,YAAa,CAAA,GACnF;AAAA,EACCT;AACH,EAAA,CAAA,GAIWU,IAAAC,EAAKb,CAAK;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import type { Channel } from '@cuemath/cue-message-broker';
|
|
3
3
|
import { ChannelStatus } from '@cuemath/cue-message-broker';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
4
5
|
import { ComponentType } from 'react';
|
|
5
6
|
import type { Config } from '@lottiefiles/dotlottie-web';
|
|
6
7
|
import { Context } from 'react';
|
|
@@ -153,6 +154,7 @@ declare interface BaseProject {
|
|
|
153
154
|
cardLottie: string;
|
|
154
155
|
tutorial: string;
|
|
155
156
|
variant: string;
|
|
157
|
+
displayNameImage: string;
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
export declare const BeltsElementsStickers: NamedExoticComponent<BeltsElementsStickersProps>;
|
|
@@ -673,6 +675,8 @@ declare interface FlexViewProps {
|
|
|
673
675
|
|
|
674
676
|
export declare interface Game extends BaseProject {
|
|
675
677
|
isPlayed: boolean;
|
|
678
|
+
wonToday: number;
|
|
679
|
+
lostToday: number;
|
|
676
680
|
}
|
|
677
681
|
|
|
678
682
|
export declare const GAME_LAUNCHER_ASSET_PADDING: number;
|
|
@@ -681,7 +685,7 @@ export declare const GAME_LAUNCHER_SIZE: number;
|
|
|
681
685
|
|
|
682
686
|
export declare const GameIcon: FC<SVGProps<SVGSVGElement>>;
|
|
683
687
|
|
|
684
|
-
export declare const
|
|
688
|
+
export declare const GameLauncherV2: FC<IGameLauncherProps>;
|
|
685
689
|
|
|
686
690
|
declare enum GENDER {
|
|
687
691
|
MALE = "MALE",
|
|
@@ -983,6 +987,7 @@ declare interface IBaseProject {
|
|
|
983
987
|
card: string;
|
|
984
988
|
variant: string;
|
|
985
989
|
tutorial: string;
|
|
990
|
+
display_name_image?: string;
|
|
986
991
|
}
|
|
987
992
|
|
|
988
993
|
declare interface IBaseSelectInputProps<IDType extends string | number> extends Omit<IBaseInputProps, 'inputElement' | 'size'> {
|
|
@@ -1710,6 +1715,8 @@ declare interface IFirstSessionIntroductionProps {
|
|
|
1710
1715
|
|
|
1711
1716
|
declare interface IGame extends IBaseProject {
|
|
1712
1717
|
played: boolean;
|
|
1718
|
+
won_today: number;
|
|
1719
|
+
lost_today: number;
|
|
1713
1720
|
}
|
|
1714
1721
|
|
|
1715
1722
|
declare interface IGameLauncherProps {
|
|
@@ -2020,7 +2027,12 @@ export declare interface IJourneyContext {
|
|
|
2020
2027
|
* This data is set only the component is mounted.
|
|
2021
2028
|
* And thereafter it is updated when the user completes a journey, through the `endJourney` method.
|
|
2022
2029
|
*/
|
|
2023
|
-
userCompletedJourneyIds: TJourneyId[] | null;
|
|
2030
|
+
userCompletedJourneyIds: (TJourneyId | TTrackingId)[] | null;
|
|
2031
|
+
/**
|
|
2032
|
+
* Function to track views.
|
|
2033
|
+
* @param trackingId - The ID of the view to track.
|
|
2034
|
+
*/
|
|
2035
|
+
trackView: (trackingId: TTrackingId) => void;
|
|
2024
2036
|
}
|
|
2025
2037
|
|
|
2026
2038
|
declare interface IJourneyProviderProps {
|
|
@@ -2232,7 +2244,8 @@ declare interface ILesson extends IBaseProject {
|
|
|
2232
2244
|
session_id: string;
|
|
2233
2245
|
mini_game_identifier: string;
|
|
2234
2246
|
target_questions: number;
|
|
2235
|
-
status: 'pending' | 'completed';
|
|
2247
|
+
status: 'pending' | 'completed' | 'paused';
|
|
2248
|
+
first_attempt?: ILessonFirstAttempt;
|
|
2236
2249
|
}
|
|
2237
2250
|
|
|
2238
2251
|
export declare interface ILessonDataProps {
|
|
@@ -2251,6 +2264,12 @@ export declare interface ILessonDataProps {
|
|
|
2251
2264
|
learnosity_activity_ref: string;
|
|
2252
2265
|
}
|
|
2253
2266
|
|
|
2267
|
+
declare interface ILessonFirstAttempt {
|
|
2268
|
+
points_scored: number;
|
|
2269
|
+
accuracy: number;
|
|
2270
|
+
gross_time_taken: number;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2254
2273
|
declare interface ILessonItemCallbackProps extends Omit<ISheetItemCallbackProps, 'onReset'> {
|
|
2255
2274
|
onReset?: (nodeId: string) => void;
|
|
2256
2275
|
}
|
|
@@ -2283,6 +2302,7 @@ declare interface ILinearProgressBarProps {
|
|
|
2283
2302
|
}
|
|
2284
2303
|
|
|
2285
2304
|
export declare const ILLUSTRATIONS: {
|
|
2305
|
+
ACCURACY_BADGE: string;
|
|
2286
2306
|
ALARM_CLOCK_ORANGE: string;
|
|
2287
2307
|
ALARM_CLOCK_PURPLE: string;
|
|
2288
2308
|
ALIEN_1: string;
|
|
@@ -2321,6 +2341,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2321
2341
|
CIRCLE_CUEMATH_LOGO: string;
|
|
2322
2342
|
CIRCLE_CUEMATH_LOGO_WHITE: string;
|
|
2323
2343
|
CIRCLE_OUTERCIRCLE_BG: string;
|
|
2344
|
+
CLOCK_BADGE: string;
|
|
2324
2345
|
CLOCK_ORANGE: string;
|
|
2325
2346
|
COMMON: string;
|
|
2326
2347
|
COMMUNITY_BULB: string;
|
|
@@ -2331,6 +2352,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2331
2352
|
CUECOIN_GOLD: string;
|
|
2332
2353
|
CUEMATH_APP_QR_CODE: string;
|
|
2333
2354
|
DESKTOP_WITH_PURPLE_FILL: string;
|
|
2355
|
+
DOWN_ARROW_BADGE: string;
|
|
2334
2356
|
DURATION_30MIN_GRAY: string;
|
|
2335
2357
|
DURATION_45MIN_GRAY: string;
|
|
2336
2358
|
DURATION_60MIN_GRAY: string;
|
|
@@ -2348,6 +2370,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2348
2370
|
GRADUATE_PINK_FILLED_BG: string;
|
|
2349
2371
|
GREEN_BALLOON: string;
|
|
2350
2372
|
GREEN_FACE: string;
|
|
2373
|
+
GREEN_TICK: string;
|
|
2351
2374
|
HANDSHAKE: string;
|
|
2352
2375
|
HANDSHAKE_GREEN: string;
|
|
2353
2376
|
HEART_OUTLINED: string;
|
|
@@ -2399,6 +2422,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2399
2422
|
PLATFORM_PURPLE: string;
|
|
2400
2423
|
PLAY: string;
|
|
2401
2424
|
PLAY_ICON: string;
|
|
2425
|
+
POINTS_BADGE: string;
|
|
2402
2426
|
POINTS_SUM: string;
|
|
2403
2427
|
PRACTICED_SHIELD_GREEN: string;
|
|
2404
2428
|
PRACTICED_SHIELD_GREY: string;
|
|
@@ -2422,6 +2446,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2422
2446
|
ROCKET_YELLOW: string;
|
|
2423
2447
|
SCORE: string;
|
|
2424
2448
|
SMILEY: string;
|
|
2449
|
+
STAR_BADGE: string;
|
|
2425
2450
|
STAR_ORANGE: string;
|
|
2426
2451
|
STAR_ORANGE_FILLED: string;
|
|
2427
2452
|
STAR_OUTLINED: string;
|
|
@@ -2443,6 +2468,7 @@ export declare const ILLUSTRATIONS: {
|
|
|
2443
2468
|
TRUSTPILOT: string;
|
|
2444
2469
|
TWO_STARS_FILLED: string;
|
|
2445
2470
|
UP_ARROW: string;
|
|
2471
|
+
UP_ARROW_BADGE: string;
|
|
2446
2472
|
USER_CROWN_GRID_BACKGROUND: string;
|
|
2447
2473
|
USER_DOWN: string;
|
|
2448
2474
|
USER_PIN: string;
|
|
@@ -2959,7 +2985,7 @@ declare interface INodePermissions {
|
|
|
2959
2985
|
export declare const InputStatusIcon: NamedExoticComponent<IInputStatusIconProps>;
|
|
2960
2986
|
|
|
2961
2987
|
export declare interface INudgeProps {
|
|
2962
|
-
nudge: 'click';
|
|
2988
|
+
nudge: 'click' | 'swipe';
|
|
2963
2989
|
content: ReactNode;
|
|
2964
2990
|
nudgePointerX: number;
|
|
2965
2991
|
nudgePointerY: number;
|
|
@@ -3161,6 +3187,7 @@ export declare interface IPostGameStat {
|
|
|
3161
3187
|
export declare interface IPostGameStatsProps {
|
|
3162
3188
|
stats: IPostGameStat[];
|
|
3163
3189
|
show: boolean;
|
|
3190
|
+
offsetY?: number;
|
|
3164
3191
|
onComplete?: () => void;
|
|
3165
3192
|
}
|
|
3166
3193
|
|
|
@@ -3277,6 +3304,7 @@ declare interface IPuzzle extends IBaseProject {
|
|
|
3277
3304
|
question: string;
|
|
3278
3305
|
is_hint_seen: boolean;
|
|
3279
3306
|
solved: boolean;
|
|
3307
|
+
first_attempt?: IPuzzleFirstAttempt;
|
|
3280
3308
|
}
|
|
3281
3309
|
|
|
3282
3310
|
declare interface IPuzzleAppProps {
|
|
@@ -3349,6 +3377,11 @@ declare interface IPuzzleDashboardProps {
|
|
|
3349
3377
|
onCardClick: (userNodeId: string) => void;
|
|
3350
3378
|
}
|
|
3351
3379
|
|
|
3380
|
+
declare interface IPuzzleFirstAttempt {
|
|
3381
|
+
solved_with_hint: boolean;
|
|
3382
|
+
points_scored: number;
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3352
3385
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
|
3353
3386
|
question: string;
|
|
3354
3387
|
askHintPermission?: boolean;
|
|
@@ -3957,6 +3990,8 @@ declare interface ITabsProps {
|
|
|
3957
3990
|
onChange: (tab: string) => void;
|
|
3958
3991
|
tabs: ITabItem[];
|
|
3959
3992
|
background?: TColorNames;
|
|
3993
|
+
selectedTextProps?: ComponentProps<typeof Text_2>;
|
|
3994
|
+
defaultTextProps?: ComponentProps<typeof Text_2>;
|
|
3960
3995
|
}
|
|
3961
3996
|
|
|
3962
3997
|
export declare interface ITabVariantConfig {
|
|
@@ -4793,6 +4828,7 @@ export declare interface IWorksheetResponse {
|
|
|
4793
4828
|
|
|
4794
4829
|
export declare enum JOURNEY_ID_STUDENT {
|
|
4795
4830
|
CIRCLE_ACTIVITIES_INTRO_JOURNEY = "CIRCLE_ACTIVITIES_INTRO_JOURNEY",
|
|
4831
|
+
CIRCLE_ACTIVITIES_INTRO_JOURNEY_V2 = "CIRCLE_ACTIVITIES_INTRO_JOURNEY_V2",
|
|
4796
4832
|
CIRCLE_LEADERBOARD_INTRO_JOURNEY = "CIRCLE_LEADERBOARD_INTRO_JOURNEY",
|
|
4797
4833
|
CIRCLE_POINTS_REWARD_JOURNEY = "CIRCLE_POINTS_REWARD_JOURNEY",
|
|
4798
4834
|
CIRCLE_STREAK_UPDATE_JOURNEY = "CIRCLE_STREAK_UPDATE_JOURNEY",
|
|
@@ -4800,6 +4836,7 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
|
4800
4836
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
|
4801
4837
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
|
4802
4838
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
|
4839
|
+
CIRCLE_LESSONS_K_1_INTRO_JOURNEY_V2 = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY_V2",
|
|
4803
4840
|
PLA_SWITCH_USER_JOURNEY = "PLA_SWITCH_USER_JOURNEY",
|
|
4804
4841
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
|
4805
4842
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
|
@@ -4838,6 +4875,7 @@ export declare interface Lesson extends BaseProject {
|
|
|
4838
4875
|
miniGameIdentifier: string;
|
|
4839
4876
|
targetQuestions: number;
|
|
4840
4877
|
status: TSkillStatus;
|
|
4878
|
+
firstAttempt: LessonFirstAttempt;
|
|
4841
4879
|
}
|
|
4842
4880
|
|
|
4843
4881
|
declare const LESSON_TAG_TYPE: {
|
|
@@ -4845,6 +4883,12 @@ declare const LESSON_TAG_TYPE: {
|
|
|
4845
4883
|
readonly DEFAULT: "DEFAULT";
|
|
4846
4884
|
};
|
|
4847
4885
|
|
|
4886
|
+
export declare interface LessonFirstAttempt {
|
|
4887
|
+
pointsScored: number;
|
|
4888
|
+
accuracy: number;
|
|
4889
|
+
grossTimeTaken: number;
|
|
4890
|
+
}
|
|
4891
|
+
|
|
4848
4892
|
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
|
4849
4893
|
|
|
4850
4894
|
export declare const loadScript: ILoadScript;
|
|
@@ -4883,6 +4927,7 @@ export declare const LOTTIE: {
|
|
|
4883
4927
|
COLOR_3: string;
|
|
4884
4928
|
COMPETITIVE_ARENA: string;
|
|
4885
4929
|
COOL: string;
|
|
4930
|
+
DAILY_WORK_OUT_COMPLETE: string;
|
|
4886
4931
|
DART: string;
|
|
4887
4932
|
DIAMOND: string;
|
|
4888
4933
|
DICE: string;
|
|
@@ -4924,6 +4969,7 @@ export declare const LOTTIE: {
|
|
|
4924
4969
|
MEDAL: string;
|
|
4925
4970
|
MEDIUM: string;
|
|
4926
4971
|
MUSCLE: string;
|
|
4972
|
+
NUDGE_SWIPE: string;
|
|
4927
4973
|
NUDGE_TAP: string;
|
|
4928
4974
|
OTP: string;
|
|
4929
4975
|
PARENT_AVATAR: string;
|
|
@@ -4931,6 +4977,7 @@ export declare const LOTTIE: {
|
|
|
4931
4977
|
PARTY_POPPER: string;
|
|
4932
4978
|
PENCIL: string;
|
|
4933
4979
|
PHONE_NUMBER: string;
|
|
4980
|
+
PILL_TICK: string;
|
|
4934
4981
|
PLUS_SIGN: string;
|
|
4935
4982
|
POINT100: string;
|
|
4936
4983
|
POINT10: string;
|
|
@@ -5283,6 +5330,9 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
|
5283
5330
|
HOMEWORK_COMPLETED = "homework_completed",
|
|
5284
5331
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
|
5285
5332
|
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
|
5333
|
+
WORKOUT_TAB_CLICKED = "workout_tab_clicked",
|
|
5334
|
+
TABLES_TAB_CLICKED = "tables_tab_clicked",
|
|
5335
|
+
INFO_BUTTON_CLICKED = "info_button_clicked",
|
|
5286
5336
|
ACTIVITY_STARTED = "activity_started",
|
|
5287
5337
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
|
5288
5338
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
|
@@ -5360,6 +5410,7 @@ export declare interface Puzzle extends BaseProject {
|
|
|
5360
5410
|
question: string;
|
|
5361
5411
|
isHintSeen: boolean;
|
|
5362
5412
|
solved: boolean;
|
|
5413
|
+
firstAttempt: PuzzleFirstAttempt;
|
|
5363
5414
|
}
|
|
5364
5415
|
|
|
5365
5416
|
export declare const Puzzle2Icon: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -5387,6 +5438,11 @@ export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
|
|
5387
5438
|
|
|
5388
5439
|
export declare const PuzzleFeedbackCelebration: FC;
|
|
5389
5440
|
|
|
5441
|
+
export declare interface PuzzleFirstAttempt {
|
|
5442
|
+
solvedWithHint: boolean;
|
|
5443
|
+
pointsScored: number;
|
|
5444
|
+
}
|
|
5445
|
+
|
|
5390
5446
|
export declare const PuzzleIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5391
5447
|
|
|
5392
5448
|
export declare const PYTHON_NODE_TYPES: {
|
|
@@ -5694,7 +5750,7 @@ declare const TAB_CODES: {
|
|
|
5694
5750
|
|
|
5695
5751
|
export declare const TabComponent: FC<ITabProps>;
|
|
5696
5752
|
|
|
5697
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
|
5753
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background, selectedTextProps, defaultTextProps, }: ITabsProps) => JSX.Element>;
|
|
5698
5754
|
|
|
5699
5755
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
|
5700
5756
|
|
|
@@ -6612,6 +6668,10 @@ declare type TQuestionByQuestionOverviewList = {
|
|
|
6612
6668
|
user_node_id: string;
|
|
6613
6669
|
}[];
|
|
6614
6670
|
|
|
6671
|
+
declare enum TRACKING_ID_STUDENT {
|
|
6672
|
+
INFO_ABOUT_GAME_ACTIVITIES = "INFO_ABOUT_GAME_ACTIVITIES"
|
|
6673
|
+
}
|
|
6674
|
+
|
|
6615
6675
|
declare type TRecommendedChaptersFilter = TRecommendedChaptersQuery & {
|
|
6616
6676
|
chapter_codes?: string[];
|
|
6617
6677
|
};
|
|
@@ -6774,7 +6834,7 @@ declare type TSheetStateProps = 'LOCKED' | 'NOT_STARTED' | 'IN_PROGRESS' | 'FAMI
|
|
|
6774
6834
|
|
|
6775
6835
|
declare type TSheetStates = keyof typeof NODE_CARD_STATES;
|
|
6776
6836
|
|
|
6777
|
-
export declare type TSkillStatus = 'pending' | 'completed';
|
|
6837
|
+
export declare type TSkillStatus = 'pending' | 'completed' | 'paused';
|
|
6778
6838
|
|
|
6779
6839
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
|
6780
6840
|
|
|
@@ -6846,6 +6906,8 @@ export declare type TTrackCTA = (params: {
|
|
|
6846
6906
|
|
|
6847
6907
|
export declare type TTrackEvent = (eventType: string, props: Record<string, unknown>, overrides?: Record<string, unknown>) => void;
|
|
6848
6908
|
|
|
6909
|
+
declare type TTrackingId = TRACKING_ID_STUDENT;
|
|
6910
|
+
|
|
6849
6911
|
export declare type TTrackInput = (params: {
|
|
6850
6912
|
label: string;
|
|
6851
6913
|
value: string | boolean | number;
|
|
@@ -6891,7 +6953,7 @@ export declare type TUserTypes = 'TEACHER' | 'STUDENT';
|
|
|
6891
6953
|
|
|
6892
6954
|
export declare const TutorChangeModal: MemoExoticComponent<() => JSX.Element>;
|
|
6893
6955
|
|
|
6894
|
-
export declare const Tutorial:
|
|
6956
|
+
export declare const Tutorial: ForwardRefExoticComponent<ITutorialProps & RefAttributes<HTMLVideoElement>>;
|
|
6895
6957
|
|
|
6896
6958
|
export declare const TutoringIcon: FC<SVGProps<SVGSVGElement>>;
|
|
6897
6959
|
|
package/dist/index.js
CHANGED
|
@@ -213,8 +213,8 @@ import { checkIfPPTNodeType as Zs } from "./features/chapters/lpar-chapter/utils
|
|
|
213
213
|
import { getActiveSATSheet as Xs } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js";
|
|
214
214
|
import { default as el } from "./features/chapters-v2/chapter-details/chapter-details.js";
|
|
215
215
|
import { invalidateGetChapterDetails as rl } from "./features/chapters-v2/api/chapter.js";
|
|
216
|
-
import { GAME_LAUNCHER_ASSET_PADDING as al } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
|
217
|
-
import { GAME_LAUNCHER_SIZE as sl } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
|
216
|
+
import { GAME_LAUNCHER_ASSET_PADDING as al } from "./features/circle-games/game-launcher-v2/comps/segmented-game-card/constants.js";
|
|
217
|
+
import { GAME_LAUNCHER_SIZE as sl } from "./features/circle-games/game-launcher-v2/comps/card-container/constants.js";
|
|
218
218
|
import { useCircleSounds as ul } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
|
219
219
|
import { CircleSoundKey as ml } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
|
220
220
|
import { useGetLeaderboardDal as xl } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
|
@@ -229,8 +229,8 @@ import { PlayerType as kl } from "./features/circle-games/games/web-view/enums/p
|
|
|
229
229
|
import { IStatsToAwardErrorCode as Nl } from "./features/circle-games/games/web-view/web-view-types.js";
|
|
230
230
|
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as gl } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
|
231
231
|
import { CIRCLE_ACTION_IDS as yl } from "./features/circle-games/enum/circle-action-ids.js";
|
|
232
|
-
import {
|
|
233
|
-
import { useGetCircleHomeDetailsDal as Bl } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
|
232
|
+
import { GameLauncherV2 as Ul } from "./features/circle-games/game-launcher-v2/game-launcher-v2.js";
|
|
233
|
+
import { useGetCircleHomeDetailsDal as Bl } from "./features/circle-games/game-launcher-v2/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
|
234
234
|
import { Leaderboard as zl } from "./features/circle-games/leaderboard/leaderboard.js";
|
|
235
235
|
import { BackgroundImage as wl, CircularSteps as Wl } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
|
236
236
|
import { SplashScreen as Jl } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
|
@@ -482,7 +482,7 @@ export {
|
|
|
482
482
|
sl as GAME_LAUNCHER_SIZE,
|
|
483
483
|
x as GIF,
|
|
484
484
|
yr as GameIcon,
|
|
485
|
-
Ul as
|
|
485
|
+
Ul as GameLauncherV2,
|
|
486
486
|
Ap as GoalCreationConfirmationModal,
|
|
487
487
|
kp as GoalDraftEdit,
|
|
488
488
|
Bp as GoalEdit,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="17" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.49883 4.09883C6.34492 4.09883 4.59883 5.84492 4.59883 7.99883C4.59883 10.1527 6.34492 11.8988 8.49883 11.8988C9.0972 11.8988 9.66323 11.7643 10.1692 11.5241V10.2347L9.88957 9.95513C9.49725 10.2345 9.01729 10.3988 8.49896 10.3988C7.17348 10.3988 6.09896 9.32431 6.09896 7.99883C6.09896 6.67334 7.17348 5.59883 8.49896 5.59883C9.82444 5.59883 10.899 6.67334 10.899 7.99883C10.899 8.51716 10.7346 8.99711 10.4553 9.38944L10.7349 9.66904H12.0242C12.2644 9.16313 12.3988 8.59714 12.3988 7.99883C12.3988 5.84492 10.6527 4.09883 8.49883 4.09883ZM12.8371 9.80995C13.0702 9.25223 13.1988 8.64019 13.1988 7.99883C13.1988 5.40309 11.0946 3.29883 8.49883 3.29883C5.90309 3.29883 3.79883 5.40309 3.79883 7.99883C3.79883 10.5946 5.90309 12.6988 8.49883 12.6988C9.14026 12.6988 9.75236 12.5701 10.3101 12.337L12.5456 14.5725V12.0455H15.0726L12.8371 9.80995ZM12.3648 10.469H10.9692V11.8647L11.7456 12.6411V11.2455H13.1413L12.3648 10.469ZM9.87743 8.81161C10.0182 8.57341 10.099 8.29555 10.099 7.99883C10.099 7.11517 9.38261 6.39883 8.49896 6.39883C7.6153 6.39883 6.89896 7.11517 6.89896 7.99883C6.89896 8.88248 7.6153 9.59883 8.49896 9.59883C8.79568 9.59883 9.07354 9.51805 9.31175 9.3773L8.21612 8.28167L8.7818 7.71598L9.87743 8.81161Z" fill="#B25900"/><path d="M10.099 7.99883C10.099 8.29555 10.0182 8.57341 9.87743 8.81161L8.7818 7.71598L8.21612 8.28167L9.31175 9.3773C9.07354 9.51805 8.79568 9.59883 8.49896 9.59883C7.6153 9.59883 6.89896 8.88248 6.89896 7.99883C6.89896 7.11517 7.6153 6.39883 8.49896 6.39883C9.38261 6.39883 10.099 7.11517 10.099 7.99883Z" fill="#FFB700"/><path d="M4.59883 7.99883C4.59883 5.84492 6.34492 4.09883 8.49883 4.09883C10.6527 4.09883 12.3988 5.84492 12.3988 7.99883C12.3988 8.59714 12.2644 9.16313 12.0242 9.66904H10.7349L10.4553 9.38944C10.7346 8.99711 10.899 8.51716 10.899 7.99883C10.899 6.67334 9.82444 5.59883 8.49896 5.59883C7.17348 5.59883 6.09896 6.67334 6.09896 7.99883C6.09896 9.32431 7.17348 10.3988 8.49896 10.3988C9.01729 10.3988 9.49725 10.2345 9.88957 9.95513L10.1692 10.2347V11.5241C9.66323 11.7643 9.0972 11.8988 8.49883 11.8988C6.34492 11.8988 4.59883 10.1527 4.59883 7.99883Z" fill="#FFB700"/><path d="M11.7456 12.6411L10.9692 11.8647V10.469H12.3648L13.1413 11.2455H11.7456V12.6411Z" fill="#FFB700"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="17" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.36641 7.99974C4.36641 5.71696 6.21696 3.86641 8.49974 3.86641C10.7825 3.86641 12.6331 5.71696 12.6331 7.99974C12.6331 10.2825 10.7825 12.1331 8.49974 12.1331C6.21696 12.1331 4.36641 10.2825 4.36641 7.99974ZM8.49974 3.06641C5.77513 3.06641 3.56641 5.27513 3.56641 7.99974C3.56641 10.7243 5.77513 12.9331 8.49974 12.9331C11.2243 12.9331 13.4331 10.7243 13.4331 7.99974C13.4331 5.27513 11.2243 3.06641 8.49974 3.06641ZM8.91951 4.97329H8.11951V8.26642L10.8361 9.39832L11.1438 8.65986L8.91951 7.73309V4.97329Z" fill="#B25900"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.49974 3.86641C6.21696 3.86641 4.36641 5.71696 4.36641 7.99974C4.36641 10.2825 6.21696 12.1331 8.49974 12.1331C10.7825 12.1331 12.6331 10.2825 12.6331 7.99974C12.6331 5.71696 10.7825 3.86641 8.49974 3.86641ZM8.91951 4.97329H8.11951V8.26642L10.8361 9.39832L11.1438 8.65986L8.91951 7.73309V4.97329Z" fill="#FFB700"/></svg>
|