@cuemath/leap 2.8.61-rj-12 → 2.8.61-rj-13
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/line-icons/icons/alert.js +3 -3
- package/dist/assets/line-icons/icons/alert.js.map +1 -1
- package/dist/assets/line-icons/icons/back.js +4 -4
- package/dist/assets/line-icons/icons/back.js.map +1 -1
- package/dist/assets/line-icons/icons/back2.js +3 -3
- package/dist/assets/line-icons/icons/back2.js.map +1 -1
- package/dist/assets/line-icons/icons/bin.js +8 -8
- package/dist/assets/line-icons/icons/bin.js.map +1 -1
- package/dist/assets/line-icons/icons/bin2.js +4 -4
- package/dist/assets/line-icons/icons/bin2.js.map +1 -1
- package/dist/assets/line-icons/icons/book-closed.js +3 -3
- package/dist/assets/line-icons/icons/book-closed.js.map +1 -1
- package/dist/assets/line-icons/icons/book.js +4 -4
- package/dist/assets/line-icons/icons/book.js.map +1 -1
- package/dist/assets/line-icons/icons/book2.js +3 -3
- package/dist/assets/line-icons/icons/book2.js.map +1 -1
- package/dist/assets/line-icons/icons/bookmark-stroke-icon.js.map +1 -1
- package/dist/assets/line-icons/icons/bookmark.js +2 -2
- package/dist/assets/line-icons/icons/bookmark.js.map +1 -1
- package/dist/assets/line-icons/icons/bulb.js +8 -8
- package/dist/assets/line-icons/icons/bulb.js.map +1 -1
- package/dist/assets/line-icons/icons/bulb2.js +3 -3
- package/dist/assets/line-icons/icons/bulb2.js.map +1 -1
- package/dist/assets/line-icons/icons/calculator.js.map +1 -1
- package/dist/assets/line-icons/icons/calendar.js +3 -3
- package/dist/assets/line-icons/icons/calendar.js.map +1 -1
- package/dist/assets/line-icons/icons/carat-left.js.map +1 -1
- package/dist/assets/line-icons/icons/carat-right.js.map +1 -1
- package/dist/assets/line-icons/icons/chat.js +4 -4
- package/dist/assets/line-icons/icons/chat.js.map +1 -1
- package/dist/assets/line-icons/icons/check.js +4 -4
- package/dist/assets/line-icons/icons/check.js.map +1 -1
- package/dist/assets/line-icons/icons/check2.js +3 -3
- package/dist/assets/line-icons/icons/check2.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-down.js +6 -6
- package/dist/assets/line-icons/icons/chevron-down.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-left.js +4 -4
- package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-right.js +6 -6
- package/dist/assets/line-icons/icons/chevron-right.js.map +1 -1
- package/dist/assets/line-icons/icons/circle-back.js.map +1 -1
- package/dist/assets/line-icons/icons/clear-all.js.map +1 -1
- package/dist/assets/line-icons/icons/clipboard.js +5 -5
- package/dist/assets/line-icons/icons/clipboard.js.map +1 -1
- package/dist/assets/line-icons/icons/clock.js +3 -3
- package/dist/assets/line-icons/icons/clock.js.map +1 -1
- package/dist/assets/line-icons/icons/clock2.js +5 -5
- package/dist/assets/line-icons/icons/clock2.js.map +1 -1
- package/dist/assets/line-icons/icons/closed-eye.js.map +1 -1
- package/dist/assets/line-icons/icons/code.js +3 -3
- package/dist/assets/line-icons/icons/code.js.map +1 -1
- package/dist/assets/line-icons/icons/copy.js +4 -4
- package/dist/assets/line-icons/icons/copy.js.map +1 -1
- package/dist/assets/line-icons/icons/cross.js +4 -4
- package/dist/assets/line-icons/icons/cross.js.map +1 -1
- package/dist/assets/line-icons/icons/cue-rocket.js +2 -2
- package/dist/assets/line-icons/icons/cue-rocket.js.map +1 -1
- package/dist/assets/line-icons/icons/cuemath-logo.js +2 -2
- package/dist/assets/line-icons/icons/cuemath-logo.js.map +1 -1
- package/dist/assets/line-icons/icons/cursor.js.map +1 -1
- package/dist/assets/line-icons/icons/dash-arrow.js +3 -3
- package/dist/assets/line-icons/icons/dash-arrow.js.map +1 -1
- package/dist/assets/line-icons/icons/down.js +2 -2
- package/dist/assets/line-icons/icons/down.js.map +1 -1
- package/dist/assets/line-icons/icons/download.js.map +1 -1
- package/dist/assets/line-icons/icons/draft.js +4 -4
- package/dist/assets/line-icons/icons/draft.js.map +1 -1
- package/dist/assets/line-icons/icons/drag.js +3 -3
- package/dist/assets/line-icons/icons/drag.js.map +1 -1
- package/dist/assets/line-icons/icons/edit-star.js +5 -5
- package/dist/assets/line-icons/icons/edit-star.js.map +1 -1
- package/dist/assets/line-icons/icons/edit.js +5 -5
- package/dist/assets/line-icons/icons/edit.js.map +1 -1
- package/dist/assets/line-icons/icons/edit2.js +2 -2
- package/dist/assets/line-icons/icons/edit2.js.map +1 -1
- package/dist/assets/line-icons/icons/equation.js.map +1 -1
- package/dist/assets/line-icons/icons/eraser.js +3 -3
- package/dist/assets/line-icons/icons/eraser.js.map +1 -1
- package/dist/assets/line-icons/icons/eye.js +4 -4
- package/dist/assets/line-icons/icons/eye.js.map +1 -1
- package/dist/assets/line-icons/icons/eye2.js +2 -2
- package/dist/assets/line-icons/icons/eye2.js.map +1 -1
- package/dist/assets/line-icons/icons/game.js +3 -3
- package/dist/assets/line-icons/icons/game.js.map +1 -1
- package/dist/assets/line-icons/icons/hand.js +2 -2
- package/dist/assets/line-icons/icons/hand.js.map +1 -1
- package/dist/assets/line-icons/icons/help.js +3 -3
- package/dist/assets/line-icons/icons/help.js.map +1 -1
- package/dist/assets/line-icons/icons/highlighter.js +4 -4
- package/dist/assets/line-icons/icons/highlighter.js.map +1 -1
- package/dist/assets/line-icons/icons/home.js +3 -3
- package/dist/assets/line-icons/icons/home.js.map +1 -1
- package/dist/assets/line-icons/icons/image.js +3 -3
- package/dist/assets/line-icons/icons/image.js.map +1 -1
- package/dist/assets/line-icons/icons/info.js +3 -3
- package/dist/assets/line-icons/icons/info.js.map +1 -1
- package/dist/assets/line-icons/icons/info2.js +3 -3
- package/dist/assets/line-icons/icons/info2.js.map +1 -1
- package/dist/assets/line-icons/icons/left.js +3 -3
- package/dist/assets/line-icons/icons/left.js.map +1 -1
- package/dist/assets/line-icons/icons/lock.js +3 -3
- package/dist/assets/line-icons/icons/lock.js.map +1 -1
- package/dist/assets/line-icons/icons/lock2.js +2 -2
- package/dist/assets/line-icons/icons/lock2.js.map +1 -1
- package/dist/assets/line-icons/icons/minus.js +2 -2
- package/dist/assets/line-icons/icons/minus.js.map +1 -1
- package/dist/assets/line-icons/icons/minus2.js +3 -3
- package/dist/assets/line-icons/icons/minus2.js.map +1 -1
- package/dist/assets/line-icons/icons/mistake.js +3 -3
- package/dist/assets/line-icons/icons/mistake.js.map +1 -1
- package/dist/assets/line-icons/icons/mobile.js +3 -3
- package/dist/assets/line-icons/icons/mobile.js.map +1 -1
- package/dist/assets/line-icons/icons/more-vertical.js +3 -3
- package/dist/assets/line-icons/icons/more-vertical.js.map +1 -1
- package/dist/assets/line-icons/icons/next.js +5 -5
- package/dist/assets/line-icons/icons/next.js.map +1 -1
- package/dist/assets/line-icons/icons/next2.js +4 -4
- package/dist/assets/line-icons/icons/next2.js.map +1 -1
- package/dist/assets/line-icons/icons/pan.js.map +1 -1
- package/dist/assets/line-icons/icons/pencil.js +3 -3
- package/dist/assets/line-icons/icons/pencil.js.map +1 -1
- package/dist/assets/line-icons/icons/play.js +5 -5
- package/dist/assets/line-icons/icons/play.js.map +1 -1
- package/dist/assets/line-icons/icons/play2.js +5 -5
- package/dist/assets/line-icons/icons/play2.js.map +1 -1
- package/dist/assets/line-icons/icons/plus.js +4 -4
- package/dist/assets/line-icons/icons/plus.js.map +1 -1
- package/dist/assets/line-icons/icons/plus2.js +3 -3
- package/dist/assets/line-icons/icons/plus2.js.map +1 -1
- package/dist/assets/line-icons/icons/pointer.js +2 -2
- package/dist/assets/line-icons/icons/pointer.js.map +1 -1
- package/dist/assets/line-icons/icons/practice.js +2 -2
- package/dist/assets/line-icons/icons/practice.js.map +1 -1
- package/dist/assets/line-icons/icons/progress.js +3 -3
- package/dist/assets/line-icons/icons/progress.js.map +1 -1
- package/dist/assets/line-icons/icons/question-letter.js +3 -3
- package/dist/assets/line-icons/icons/question-letter.js.map +1 -1
- package/dist/assets/line-icons/icons/question.js +5 -5
- package/dist/assets/line-icons/icons/question.js.map +1 -1
- package/dist/assets/line-icons/icons/redo.js +4 -4
- package/dist/assets/line-icons/icons/redo.js.map +1 -1
- package/dist/assets/line-icons/icons/right.js +3 -3
- package/dist/assets/line-icons/icons/right.js.map +1 -1
- package/dist/assets/line-icons/icons/ruler.js +3 -3
- package/dist/assets/line-icons/icons/ruler.js.map +1 -1
- package/dist/assets/line-icons/icons/scribble.js.map +1 -1
- package/dist/assets/line-icons/icons/search.js +3 -3
- package/dist/assets/line-icons/icons/search.js.map +1 -1
- package/dist/assets/line-icons/icons/sheet.js +9 -9
- package/dist/assets/line-icons/icons/sheet.js.map +1 -1
- package/dist/assets/line-icons/icons/sketch.js +4 -4
- package/dist/assets/line-icons/icons/sketch.js.map +1 -1
- package/dist/assets/line-icons/icons/skip.js +6 -6
- package/dist/assets/line-icons/icons/skip.js.map +1 -1
- package/dist/assets/line-icons/icons/skip2.js +4 -4
- package/dist/assets/line-icons/icons/skip2.js.map +1 -1
- package/dist/assets/line-icons/icons/square-dots.js.map +1 -1
- package/dist/assets/line-icons/icons/star.js +3 -3
- package/dist/assets/line-icons/icons/star.js.map +1 -1
- package/dist/assets/line-icons/icons/star2.js +3 -3
- package/dist/assets/line-icons/icons/star2.js.map +1 -1
- package/dist/assets/line-icons/icons/striked-eye.js +4 -4
- package/dist/assets/line-icons/icons/striked-eye.js.map +1 -1
- package/dist/assets/line-icons/icons/switch-icon.js +4 -4
- package/dist/assets/line-icons/icons/switch-icon.js.map +1 -1
- package/dist/assets/line-icons/icons/text-icon.js.map +1 -1
- package/dist/assets/line-icons/icons/tick.js +2 -2
- package/dist/assets/line-icons/icons/tick.js.map +1 -1
- package/dist/assets/line-icons/icons/tri-dots.js.map +1 -1
- package/dist/assets/line-icons/icons/tri2-dots.js.map +1 -1
- package/dist/assets/line-icons/icons/trophy.js +3 -3
- package/dist/assets/line-icons/icons/trophy.js.map +1 -1
- package/dist/assets/line-icons/icons/tutoring.js +4 -4
- package/dist/assets/line-icons/icons/tutoring.js.map +1 -1
- package/dist/assets/line-icons/icons/undo.js +4 -4
- package/dist/assets/line-icons/icons/undo.js.map +1 -1
- package/dist/assets/line-icons/icons/unlock.js +4 -4
- package/dist/assets/line-icons/icons/unlock.js.map +1 -1
- package/dist/assets/line-icons/icons/up.js +3 -3
- package/dist/assets/line-icons/icons/up.js.map +1 -1
- package/dist/assets/line-icons/icons/upload.js.map +1 -1
- package/dist/assets/line-icons/icons/user.js +3 -3
- package/dist/assets/line-icons/icons/user.js.map +1 -1
- package/dist/assets/line-icons/icons/user2.js +2 -2
- package/dist/assets/line-icons/icons/user2.js.map +1 -1
- package/dist/assets/line-icons/icons/zoom-in.js.map +1 -1
- package/dist/assets/line-icons/icons/zoom-out.js.map +1 -1
- package/dist/constants/country.js.map +1 -1
- package/dist/features/blockers/multi-tab-blocker/multi-tab-blocker-context.js.map +1 -1
- package/dist/features/blockers/multi-tab-blocker/multi-tab-blocker.js +14 -14
- package/dist/features/blockers/multi-tab-blocker/multi-tab-blocker.js.map +1 -1
- package/dist/features/blockers/multi-tab-blocker/use-is-tab-blocked.js +2 -2
- package/dist/features/blockers/multi-tab-blocker/use-is-tab-blocked.js.map +1 -1
- package/dist/features/chapters/api/chapter.js.map +1 -1
- package/dist/features/chapters/chapter/chapter.js +20 -20
- package/dist/features/chapters/chapter/chapter.js.map +1 -1
- package/dist/features/chapters/chapter/comps/chapter-banner/chapter-banner-styled.js.map +1 -1
- package/dist/features/chapters/chapter/comps/chapter-banner/chapter-banner.js.map +1 -1
- package/dist/features/chapters/chapter/comps/core-lessons/core-lessons-styled.js.map +1 -1
- package/dist/features/chapters/chapter/comps/core-lessons/core-lessons.js.map +1 -1
- package/dist/features/chapters/chapter/comps/supplementary-resources/supplementary-resources-styled.js.map +1 -1
- package/dist/features/chapters/chapter/comps/supplementary-resources/supplementary-resources.js.map +1 -1
- package/dist/features/chapters/chapter/comps/supplementary-resources/utils.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapters-list.js +13 -13
- package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/block-section-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/block-section.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/chapter-block/chapter-block-action.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/chapter-block/chapter-block-header.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/chapter-block/chapter-block-utils.js +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/chapter-block/chapter-block-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/chapter-block/chapter-block.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js +4 -4
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js +15 -15
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/student-actions/student-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/context-menu-helper/context-menu-helper-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/context-menu-helper/menu-element.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/reward-n-actions-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/reward-n-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js +2 -2
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/sheet-item-icon.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/sheet-item-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/comps/chapter-progress.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/comps/tab-section.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/constants/index.js +5 -22
- package/dist/features/chapters/lpar-chapter/constants/index.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/constants/puzzle-card.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/lpar-chapter-banner/chapter-banner.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/lpar-chapter-banner/lpar-chapter-banner-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/lpar-chapter-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/lpar-chapter.js +26 -26
- package/dist/features/chapters/lpar-chapter/lpar-chapter.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-card/cue-coins.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-card/puzzle-card-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-card/puzzle-card.js +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-card/puzzle-card.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-section-utils.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/puzzle-section/puzzle-section.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/utils/index.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/block-section.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/chapter-block/chapter-block.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/sheet-item/rewards-n-actions/rewards-n-actions.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/sheet-item/rewards-n-actions/student-actions.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/sheet-item/sheet-info.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/block-section/sheet-item/sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/extra-practice-section/extra-practice-section.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js +21 -21
- package/dist/features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/puzzle-section/puzzle-card-util.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/puzzle-section/puzzle-card.js +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/puzzle-section/puzzle-card.js.map +1 -1
- package/dist/features/chapters/lpar-milestone-chapter/puzzle-section/puzzle-section.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +10 -10
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +6 -6
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +4 -4
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +47 -38
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +37 -37
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/banner/banner-styled.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/banner/banner.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/info-bar/info-bar.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/leaderboard-item/leaderboard-item.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/navigation-button/navigation-button.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/progress-item/progress-item.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/progress-list-item/progress-list-item.js +1 -1
- package/dist/features/circle-games/leaderboard/comps/progress-list-item/progress-list-item.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/streak-reduction-infobar/streak-reduction-infobar.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/timer/timer.js.map +1 -1
- package/dist/features/circle-games/leaderboard/comps/with-grade/with-grade.js.map +1 -1
- package/dist/features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js.map +1 -1
- package/dist/features/circle-games/leaderboard/hooks/use-intersection-observer/use-intersection-observer.tsx.js.map +1 -1
- package/dist/features/circle-games/leaderboard/hooks/use-timer/use-timer.js.map +1 -1
- package/dist/features/circle-games/leaderboard/leaderboard.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/select-user-grade/select-user-grade.js +3 -3
- package/dist/features/circle-games/sign-up/comp/select-user-grade/select-user-grade.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/select-user-grade/select-user-grade.styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen-styled.js +1 -1
- package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/dal/create-user-dal/create-user-dal.js.map +1 -1
- package/dist/features/circle-games/sign-up/dal/update-user-dal/update-user-dal.js.map +1 -1
- package/dist/features/circle-games/sign-up/dal/validate-username-dal/validate-username-dal.js.map +1 -1
- package/dist/features/circle-games/sign-up/helper.js.map +1 -1
- package/dist/features/circle-games/sign-up/sign-up.js +8 -8
- package/dist/features/circle-games/sign-up/sign-up.js.map +1 -1
- package/dist/features/circle-games/utils/streak-reduction-localstorage-util.js.map +1 -1
- package/dist/features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js +18 -18
- package/dist/features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js.map +1 -1
- package/dist/features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js +11 -11
- package/dist/features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js.map +1 -1
- package/dist/features/communication/pub-sub/core.js.map +1 -1
- package/dist/features/communication/pub-sub/hooks.js +1 -1
- package/dist/features/communication/pub-sub/hooks.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-context.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-core.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-helpers.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-provider.js +8 -8
- package/dist/features/cue-canvas/cue-canvas-provider.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas.js +28 -28
- package/dist/features/cue-canvas/cue-canvas.js.map +1 -1
- package/dist/features/cue-canvas/cue-cavas-styled.js +29 -29
- package/dist/features/cue-canvas/cue-cavas-styled.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +14 -14
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-cue-canvas-actions.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-height-extender.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/color-palette.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/color-picker-menu.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/grid-menu.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/icon-map.js +7 -7
- package/dist/features/cue-canvas/toolbar/pen-tool-menu.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/tool.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/toolbar.js +8 -8
- package/dist/features/cue-canvas/toolbar/toolbar.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/whiteboard-toolbar.js.map +1 -1
- package/dist/features/extra-practice/extra-practice.js +21 -21
- package/dist/features/extra-practice/extra-practice.js.map +1 -1
- package/dist/features/extra-practice/list/list-constants.js.map +1 -1
- package/dist/features/extra-practice/list/list-styled.js.map +1 -1
- package/dist/features/extra-practice/list/list.js.map +1 -1
- package/dist/features/hooks/use-audio-player.js.map +1 -1
- package/dist/features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js +3 -3
- package/dist/features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js.map +1 -1
- package/dist/features/hooks/use-drag-helper.js.map +1 -1
- package/dist/features/hooks/use-force-reload.js +7 -7
- package/dist/features/hooks/use-force-reload.js.map +1 -1
- package/dist/features/hooks/use-is-unmounted.js.map +1 -1
- package/dist/features/hooks/use-lazy-ref.js.map +1 -1
- package/dist/features/hooks/use-previous.js.map +1 -1
- package/dist/features/hooks/use-zoom-disable.js +3 -3
- package/dist/features/hooks/use-zoom-disable.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-get-eligible-journeys-via-route.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +69 -71
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/user-journey-api/user-journey-api.js +3 -3
- package/dist/features/maintenance/maintenance.js +5 -5
- package/dist/features/maintenance/maintenance.js.map +1 -1
- package/dist/features/milestone/constants.js +11 -15
- package/dist/features/milestone/constants.js.map +1 -1
- package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
- package/dist/features/milestone/create/api/milestone-bulk.js.map +1 -1
- package/dist/features/milestone/create/api/milestone-submit.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/search-chapter/search-chapters.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/selected-chapters/selected-chapter-item.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/selected-chapters/selected-chapters-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/selected-chapters/selected-chapters.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/selected-chapters/tags-render.js.map +1 -1
- package/dist/features/milestone/create/comps/body-layout/body-layout.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/category-card.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-selection.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/use-chapter-list-update.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-selectors.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
- package/dist/features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js +9 -9
- package/dist/features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js.map +1 -1
- package/dist/features/milestone/create/comps/confirmation-modals/goal-creation-confirmation-utils.js.map +1 -1
- package/dist/features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js +14 -14
- package/dist/features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector-view.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js.map +1 -1
- package/dist/features/milestone/create/comps/info-points/info-points.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress/milestone-progress.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/milestone/create/comps/test-type-step/category-component-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/test-type-step/category-component.js.map +1 -1
- package/dist/features/milestone/create/comps/test-type-step/test-type-step-constants.js.map +1 -1
- package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
- package/dist/features/milestone/create/comps/test-type-step/test-type-utils.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-constants.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-container.js +25 -25
- package/dist/features/milestone/create/milestone-create-container.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-form-tree.js +2 -2
- package/dist/features/milestone/create/milestone-create-form-tree.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-helpers.js +3 -3
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-hooks.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-styled.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +19 -20
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/create/styled-comps/progressive-loader.js +1 -1
- package/dist/features/milestone/create/styled-comps/progressive-loader.js.map +1 -1
- package/dist/features/milestone/create/submit-modal/submit-modal.js +9 -9
- package/dist/features/milestone/create/submit-modal/submit-modal.js.map +1 -1
- package/dist/features/milestone/create/submit-modal/submit-with-plan-modal/submit-with-plan-modal-styled.js.map +1 -1
- package/dist/features/milestone/create/submit-modal/submit-with-plan-modal/submit-with-plan-modal.js.map +1 -1
- package/dist/features/milestone/create/submit-modal/use-submit-milestone.js.map +1 -1
- package/dist/features/milestone/create/utils/index.js.map +1 -1
- package/dist/features/milestone/edit/comps/delete-milestone/confirm-delete.js.map +1 -1
- package/dist/features/milestone/edit/comps/delete-milestone/styled.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/edit-milestone.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +43 -44
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/edit/comps/milestone-edit-loader/milestone-edit-loader-styled.js.map +1 -1
- package/dist/features/milestone/edit/comps/milestone-edit-loader/milestone-edit-loader.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +27 -27
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +21 -21
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-helpers.js +3 -3
- package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +23 -23
- package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-helpers.js.map +1 -1
- package/dist/features/milestone/hooks/use-submit-goal-creation.js.map +1 -1
- package/dist/features/milestone/milestone-action-widget/milestone-action-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-action-widget/milestone-action-widget.js +15 -15
- package/dist/features/milestone/milestone-action-widget/milestone-action-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/filter-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-loader/milestone-loader.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/use-goal-draft-publish.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +2 -2
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/no-active-milestone/no-active-milestone.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +21 -21
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/added-resource-and-filters.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/api/lpar-resource-assign.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item-styled.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/filter-item/filter-item.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/comps/resource-item/resource-item.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/no-resource-screen.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resource-items/resource-items.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign-styled.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +39 -39
- package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-assign/utils.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-selection.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/difficulty-and-duration-selection/difficulty-and-duration-selection.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/difficulty-and-duration-selection/test-radio-card/test-card-lottie-animation.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/difficulty-and-duration-selection/test-radio-card/test-radio-card-styled.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/difficulty-and-duration-selection/test-radio-card/test-radio-card.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +28 -28
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/utils/index.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -1
- package/dist/features/milestone/outcome/api/milestone-achievement.js +3 -3
- package/dist/features/milestone/outcome/api/milestone-outcome.js.map +1 -1
- package/dist/features/milestone/outcome/comps/achievement/achievement-constants.js.map +1 -1
- package/dist/features/milestone/outcome/comps/achievement/achievement-container-styled.js.map +1 -1
- package/dist/features/milestone/outcome/comps/achievement/achievement-container.js +3 -3
- package/dist/features/milestone/outcome/comps/achievement/achievement-container.js.map +1 -1
- package/dist/features/milestone/outcome/comps/achievement/reason-submit-modal.js +13 -13
- package/dist/features/milestone/outcome/comps/achievement/reason-submit-modal.js.map +1 -1
- package/dist/features/milestone/outcome/comps/achievement/share-instructions-modal.js +20 -20
- package/dist/features/milestone/outcome/comps/achievement/share-instructions-modal.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/dynamic-input-handler.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/input-descriptor.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/input-handler.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/milestone-outcome-collection-container.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-collection-helper.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-form/outcome-form-helpers.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-form/outcome-form.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-styled.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/rank-inputs/index.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/score-marks-input/index.js.map +1 -1
- package/dist/features/milestone/outcome/comps/past-milestone/past-milestone-container.js.map +1 -1
- package/dist/features/milestone/outcome/comps/past-milestone/past-milestone-form.js.map +1 -1
- package/dist/features/milestone/outcome/comps/past-milestone/past-milestone-styled.js.map +1 -1
- package/dist/features/milestone/outcome/comps/past-milestone/question.js.map +1 -1
- package/dist/features/milestone/outcome/milestone-outcome-container.js +23 -23
- package/dist/features/milestone/outcome/milestone-outcome-container.js.map +1 -1
- package/dist/features/milestone/outcome/milestone-outcome-styled.js.map +1 -1
- package/dist/features/milestone/outcome/outcome-helpers.js.map +1 -1
- package/dist/features/milestone/start/milestone-start.js +3 -3
- package/dist/features/milestone/start/milestone-start.js.map +1 -1
- package/dist/features/pointer-sync/hooks/use-pointer-sync.js +13 -13
- package/dist/features/pointer-sync/hooks/use-pointer-sync.js.map +1 -1
- package/dist/features/pointer-sync/pointer.js +7 -7
- package/dist/features/pointer-sync/pointer.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js +5 -5
- package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy-utils.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy.js +3 -3
- package/dist/features/post-game-stats/accuracy/accuracy.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js +1 -1
- package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock.js +3 -3
- package/dist/features/post-game-stats/clock/clock.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js +12 -13
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +11 -11
- 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 +7 -7
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/helper.js.map +1 -1
- package/dist/features/post-game-stats/number-count-animation/number-count-animation.js.map +1 -1
- package/dist/features/post-game-stats/points/points.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak-styled.js +5 -5
- package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak.js +1 -1
- package/dist/features/post-game-stats/streak/streak.js.map +1 -1
- package/dist/features/sheet-tools/desmos-calculator/desmos-calculator-styled.js.map +1 -1
- package/dist/features/sheet-tools/desmos-calculator/desmos-calculator.js +13 -13
- package/dist/features/sheet-tools/desmos-calculator/desmos-calculator.js.map +1 -1
- package/dist/features/sheet-tools/tool-header/tool-header-styled.js.map +1 -1
- package/dist/features/sheet-tools/tool-header/tool-header.js +14 -14
- package/dist/features/sheet-tools/tool-header/tool-header.js.map +1 -1
- package/dist/features/sheets/comps/sheet-button/index.js.map +1 -1
- package/dist/features/sheets/comps/sheet-button/styled.js.map +1 -1
- package/dist/features/sheets/comps/sheet-button/variant.js.map +1 -1
- package/dist/features/sheets/constants/sheet.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/context-menu-helper/context-menu-helper-styled.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/context-menu-helper/menu-element-styled.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/context-menu-helper/menu-element.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/context-menu-helper/target-element.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-styled.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-utils.js +4 -3
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-utils.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-view.js.map +1 -1
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item.js.map +1 -1
- package/dist/features/sheets/lessons-list/lessons-list.js.map +1 -1
- package/dist/features/sheets/reference-sheet/reference-sheet.js +14 -14
- package/dist/features/sheets/reference-sheet/reference-sheet.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element-styled.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/context-menu-helper/menu-element.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/resource-item.js +3 -3
- package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/utils.js.map +1 -1
- package/dist/features/sheets/resources-list/resources-list.js.map +1 -1
- package/dist/features/sheets/resources-list/styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/context-menu-helper/menu-element/menu-element.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/context-menu-helper/target-element/target-element.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/reward-n-actions-styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/reward-n-actions-utils.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/reward-n-actions.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +0 -2
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/sheet-item-icon.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/sheet-item-styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/sheet-item-tag.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/sheet-item-utils.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/sheet-item.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheets-list.js +15 -15
- package/dist/features/sheets/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/student-details/class-details/class-details-utils.js.map +1 -1
- package/dist/features/student-details/class-details/class-details.js.map +1 -1
- package/dist/features/student-details/student-details-styled.js.map +1 -1
- package/dist/features/student-details/student-details-utils.js.map +1 -1
- package/dist/features/student-details/student-details.js +17 -17
- package/dist/features/student-details/student-details.js.map +1 -1
- package/dist/features/student-details/wins-preview/wins-preview-styled.js.map +1 -1
- package/dist/features/student-details/wins-preview/wins-preview.js.map +1 -1
- package/dist/features/talk-meter/helper.js.map +1 -1
- package/dist/features/talk-meter/hooks/use-talk-meter.js.map +1 -1
- package/dist/features/talk-meter/ripple/index.js +1 -1
- package/dist/features/talk-meter/ripple/index.js.map +1 -1
- package/dist/features/talk-meter/talk-meter-styled.js +1 -1
- package/dist/features/talk-meter/talk-meter-styled.js.map +1 -1
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js +12 -14
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js.map +1 -1
- package/dist/features/talk-meter/talk-meter.js +23 -23
- package/dist/features/talk-meter/talk-meter.js.map +1 -1
- package/dist/features/trial-session/api/course-stream.js.map +1 -1
- package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js.map +1 -1
- package/dist/features/trial-session/comps/about-cuemath/index.js.map +1 -1
- package/dist/features/trial-session/comps/additional-info/additional-info.js.map +1 -1
- package/dist/features/trial-session/comps/av-panels/student-av-panel/student-av-panel.js.map +1 -1
- package/dist/features/trial-session/comps/av-panels/teacher-av-panel/teacher-av-panel.js.map +1 -1
- package/dist/features/trial-session/comps/background-grid/background-grid-styled.js.map +1 -1
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js.map +1 -1
- package/dist/features/trial-session/comps/background-grid/background-grid.js.map +1 -1
- package/dist/features/trial-session/comps/class-preference/class-preference.js.map +1 -1
- package/dist/features/trial-session/comps/clock/clock.js.map +1 -1
- package/dist/features/trial-session/comps/communication-slide/index.js.map +1 -1
- package/dist/features/trial-session/comps/countdown-progress-bar/countdown-progress-bar.js.map +1 -1
- package/dist/features/trial-session/comps/cue-tips/cues/cues-styled.js +6 -6
- package/dist/features/trial-session/comps/cue-tips/cues/index.js.map +1 -1
- package/dist/features/trial-session/comps/cue-tips/tips/index.js.map +1 -1
- package/dist/features/trial-session/comps/cue-tips/tips/tips-styled.js.map +1 -1
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/learning-plan/learning-plan-styled.js.map +1 -1
- package/dist/features/trial-session/comps/learning-plan/use-learning-plan-scroll-sync.js.map +1 -1
- package/dist/features/trial-session/comps/learning-session/learning-session-constants.js.map +1 -1
- package/dist/features/trial-session/comps/learning-session/learning-session-styled.js.map +1 -1
- package/dist/features/trial-session/comps/learning-session/learning-session.js.map +1 -1
- package/dist/features/trial-session/comps/navigation-bar/index.js.map +1 -1
- package/dist/features/trial-session/comps/navigation-bar/navigation-bar-styled.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information-styled.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information.js.map +1 -1
- package/dist/features/trial-session/comps/pricing/board-comp.js.map +1 -1
- package/dist/features/trial-session/comps/pricing/pricing-styled.js.map +1 -1
- package/dist/features/trial-session/comps/pricing/pricing.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals-view.js.map +1 -1
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-insights/session-insights.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview-utils.js.map +1 -1
- package/dist/features/trial-session/comps/session-overview/session-overview.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/report-card.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +3 -3
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/slide-header/index.js.map +1 -1
- package/dist/features/trial-session/comps/solutions/index.js.map +1 -1
- package/dist/features/trial-session/comps/solutions/solutions.styled.js +5 -5
- package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js +3 -3
- package/dist/features/trial-session/comps/student-feedback/student-feedback.js.map +1 -1
- package/dist/features/trial-session/comps/student-info/student-info-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-info/student-info.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js +7 -7
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile-utils.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-constants.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/test-prep/test-prep.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game-launch-screen/trial-circle-game-launch-screen.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
- package/dist/features/trial-session/context/trial-session-context.js.map +1 -1
- package/dist/features/trial-session/helper.js.map +1 -1
- package/dist/features/trial-session/hooks/use-class-time-alerts.js.map +1 -1
- package/dist/features/trial-session/hooks/use-left-panel-button-state.js.map +1 -1
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/left-panel/index.js.map +1 -1
- package/dist/features/trial-session/right-panel/index.js.map +1 -1
- package/dist/features/trial-session/right-panel/right-panel-styled.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/trial-session/trial-session.js +6 -6
- package/dist/features/trial-session/trial-session.js.map +1 -1
- package/dist/features/ui/accordion-section/accordion-section.js +13 -13
- package/dist/features/ui/accordion-section/accordion-section.js.map +1 -1
- package/dist/features/ui/arc-button/arc-button.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +20 -21
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-util.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +14 -14
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/avatar/avatar-types.js +5 -5
- package/dist/features/ui/avatar/avatar.js +11 -11
- package/dist/features/ui/avatar/avatar.js.map +1 -1
- package/dist/features/ui/avatar/layers/base/variant-1.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-1.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-10.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-11.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-12.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-13.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-14.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-15.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-16.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-17.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-18.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-2.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-3.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-4.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-5.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-6.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-7.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-8.js.map +1 -1
- package/dist/features/ui/avatar/layers/eyes/variant-9.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-1.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-10.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-2.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-3.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-4.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-5.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-6.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-7.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-8.js.map +1 -1
- package/dist/features/ui/avatar/layers/hair/variant-9.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-1.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-10.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-11.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-12.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-13.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-14.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-15.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-16.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-17.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-18.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-2.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-3.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-4.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-5.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-6.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-7.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-8.js.map +1 -1
- package/dist/features/ui/avatar/layers/mouth/variant-9.js.map +1 -1
- package/dist/features/ui/buttons/button/button-styled.js.map +1 -1
- package/dist/features/ui/buttons/button/button.js +25 -25
- package/dist/features/ui/buttons/button/button.js.map +1 -1
- package/dist/features/ui/buttons/clickable/clickable.js +9 -9
- package/dist/features/ui/buttons/clickable/clickable.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button-styled.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button.js +14 -14
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/buttons/text-button/text-button-styled.js.map +1 -1
- package/dist/features/ui/buttons/text-button/text-button.js +19 -19
- package/dist/features/ui/buttons/text-button/text-button.js.map +1 -1
- package/dist/features/ui/callout/callout.js +10 -10
- package/dist/features/ui/callout/callout.js.map +1 -1
- package/dist/features/ui/context/context.js.map +1 -1
- package/dist/features/ui/context/use-tracking-context.js +2 -2
- package/dist/features/ui/context/use-tracking-context.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +13 -13
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/error/error.js +11 -11
- package/dist/features/ui/error/error.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector-styled.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-tab.js.map +1 -1
- package/dist/features/ui/hooks/use-click-handler.js.map +1 -1
- package/dist/features/ui/hooks/use-context-menu-click-handler.js +17 -17
- package/dist/features/ui/hooks/use-context-menu-click-handler.js.map +1 -1
- package/dist/features/ui/hooks/use-response-handler.js.map +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/base-select-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/base-select-input.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-option/select-option.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-section/select-section-styled.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js.map +1 -1
- package/dist/features/ui/inputs/cascading-select-input/cascading-select-input.js +23 -23
- package/dist/features/ui/inputs/cascading-select-input/cascading-select-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input/checkbox-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js +20 -20
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +16 -16
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/inputs/google-places-search-input/google-places-search-input.js +6 -6
- package/dist/features/ui/inputs/google-places-search-input/google-places-search-input.js.map +1 -1
- package/dist/features/ui/inputs/num-range-input/num-range-input.js +4 -4
- package/dist/features/ui/inputs/num-range-input/num-range-input.js.map +1 -1
- package/dist/features/ui/inputs/percentile-input/percentile-input.js +21 -21
- package/dist/features/ui/inputs/percentile-input/percentile-input.js.map +1 -1
- package/dist/features/ui/inputs/percentile-input/percentile-styled.js.map +1 -1
- package/dist/features/ui/inputs/radio-input/radio-input.js +14 -14
- package/dist/features/ui/inputs/radio-input/radio-input.js.map +1 -1
- package/dist/features/ui/inputs/radio-input/radio-option/radio-option-styled.js.map +1 -1
- package/dist/features/ui/inputs/radio-input/radio-option/radio-option.js.map +1 -1
- package/dist/features/ui/inputs/searchable-input/searchable-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/searchable-input/searchable-input.js +3 -3
- package/dist/features/ui/inputs/searchable-input/searchable-input.js.map +1 -1
- package/dist/features/ui/inputs/searchable-select-input/searchable-select-input.js +17 -17
- package/dist/features/ui/inputs/searchable-select-input/searchable-select-input.js.map +1 -1
- package/dist/features/ui/inputs/searchable-select-input/use-filtered-options.js.map +1 -1
- package/dist/features/ui/inputs/select-input/select-input.js +3 -3
- package/dist/features/ui/inputs/select-input/select-input.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +33 -33
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/layout/flex-view.js +23 -23
- package/dist/features/ui/layout/flex-view.js.map +1 -1
- package/dist/features/ui/loader/app-loader/app-loader.js +3 -3
- package/dist/features/ui/loader/app-loader/app-loader.js.map +1 -1
- package/dist/features/ui/lottie-animation/helper.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +9 -9
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/features/ui/perfect-hits/perfect-hits-helpers.js +1 -1
- package/dist/features/ui/perfect-hits/perfect-hits-helpers.js.map +1 -1
- package/dist/features/ui/perfect-hits/perfect-hits-styled.js +1 -1
- package/dist/features/ui/perfect-hits/perfect-hits.js.map +1 -1
- package/dist/features/ui/radio-cards/radio-card-option/radio-card-option-styled.js.map +1 -1
- package/dist/features/ui/radio-cards/radio-card-option/radio-card-option.js.map +1 -1
- package/dist/features/ui/radio-cards/radio-cards.js +15 -15
- package/dist/features/ui/radio-cards/radio-cards.js.map +1 -1
- package/dist/features/ui/section-list/section-list.js +9 -9
- package/dist/features/ui/section-list/section-list.js.map +1 -1
- package/dist/features/ui/selection-cards/selection-card-option/selection-card-option-styled.js.map +1 -1
- package/dist/features/ui/selection-cards/selection-card-option/selection-card-option.js.map +1 -1
- package/dist/features/ui/selection-cards/selection-cards.js +18 -18
- package/dist/features/ui/selection-cards/selection-cards.js.map +1 -1
- package/dist/features/ui/separator/separator.js +6 -6
- package/dist/features/ui/separator/separator.js.map +1 -1
- package/dist/features/ui/stepper/stepper-styled.js.map +1 -1
- package/dist/features/ui/stepper/stepper.js +7 -7
- package/dist/features/ui/stepper/stepper.js.map +1 -1
- package/dist/features/ui/streak-icon/streak-icon.js +14 -14
- package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
- package/dist/features/ui/superscript/superscript.js.map +1 -1
- package/dist/features/ui/tab/tab-styled.js.map +1 -1
- package/dist/features/ui/tab/tab.js +17 -17
- package/dist/features/ui/tab/tab.js.map +1 -1
- package/dist/features/ui/tag/tag-styled.js.map +1 -1
- package/dist/features/ui/tag/tag.js +4 -4
- package/dist/features/ui/tag/tag.js.map +1 -1
- package/dist/features/ui/text/text.js +23 -24
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/ui/theme/checkbox.js.map +1 -1
- package/dist/features/ui/theme/get-theme.js.map +1 -1
- package/dist/features/ui/theme/input.js.map +1 -1
- package/dist/features/ui/theme/layout.js.map +1 -1
- package/dist/features/ui/theme/tab.js.map +1 -1
- package/dist/features/ui/theme/text-button.js.map +1 -1
- package/dist/features/ui/theme/text.js.map +1 -1
- package/dist/features/ui/time-left-timeline/time-left-timeline-styled.js.map +1 -1
- package/dist/features/ui/time-left-timeline/time-left-timeline.js +16 -16
- package/dist/features/ui/time-left-timeline/time-left-timeline.js.map +1 -1
- package/dist/features/ui/timers/countdown-timer/countdown-timer.js +15 -15
- package/dist/features/ui/timers/countdown-timer/countdown-timer.js.map +1 -1
- package/dist/features/ui/video/index.js +3 -3
- package/dist/features/ui/video/index.js.map +1 -1
- package/dist/features/ui/video/styled.js.map +1 -1
- package/dist/features/utils/load-script.js +9 -9
- package/dist/features/utils/load-script.js.map +1 -1
- package/dist/features/utils/utils.js.map +1 -1
- package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js +25 -25
- package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js.map +1 -1
- package/dist/features/worksheet/learnosity-preloader/use-download-script.js.map +1 -1
- package/dist/features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js +2 -2
- package/dist/features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js.map +1 -1
- package/dist/features/worksheet/user-pointer-pin/hooks/use-user-location.js.map +1 -1
- package/dist/features/worksheet/user-pointer-pin/user-pin.js.map +1 -1
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-create-imperative-handle.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-get-active-question-id.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-learnosity-append.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-learnosity.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-s3-helper.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-time-on-questions.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-data-helper.js.map +1 -1
- package/dist/features/worksheet/worksheet/question-tips.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/exit-ticket-intervention.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/exit-ticket-review-available.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/exit-ticket-review.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/exit-ticket-student-submission.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/optional-items-assignment.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/blockers/optional-items-skip.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-blocker/worksheet-blocker.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-container.js +17 -17
- package/dist/features/worksheet/worksheet/worksheet-container.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +4 -4
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-navigation/worksheet-item-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-number/worksheet-item-number-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-item-number/worksheet-item-number.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-navigation-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-section-navigation/worksheet-section-navigation.js +2 -2
- package/dist/features/worksheet/worksheet/worksheet-navigation/worksheet-section-navigation/worksheet-section-navigation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-permissions/error.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-permissions/sheet-locked.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/header/header-tags.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/header/header.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/header/validated-animation.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/question-backdrop/question-backdrop-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/question-backdrop/question-backdrop.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/subjective-feedback.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/subjective-review.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/subjective-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/system-intros/advanced-practice-intro.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/system-intros/basic-practice-intro.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/system-intros/exit-ticket-intro.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/system-intros/regular-practice-intro.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/scribble-switch.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/use-handler-callbacks.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-summary/worksheet-questions-summary-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-summary/worksheet-questions-summary.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/navigator.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/sidebar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/worksheet-sidebar-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +4 -4
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-summary/worksheet-summary.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-summary-controller/worksheet-summary-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +5 -5
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/api/get-preview-worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +16 -16
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +16 -16
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/helpers/date-time.js.map +1 -1
- package/dist/helpers/get-device-details.js.map +1 -1
- package/dist/helpers/label-text.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +481 -481
- package/dist/node_modules/@cuemath/analytics-v2/dist/constants.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -2
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
- package/dist/node_modules/date-fns/addDays.js.map +1 -1
- package/dist/node_modules/date-fns/addMonths.js.map +1 -1
- package/dist/node_modules/date-fns/constructNow.js.map +1 -1
- package/dist/node_modules/date-fns/eachMonthOfInterval.js.map +1 -1
- package/dist/node_modules/date-fns/format.js.map +1 -1
- package/dist/node_modules/date-fns/getDefaultOptions.js.map +1 -1
- package/dist/node_modules/date-fns/getISODay.js.map +1 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/isAfter.js.map +1 -1
- package/dist/node_modules/date-fns/lastDayOfMonth.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/Parser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/Setter.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -1
- package/dist/node_modules/date-fns/parse/_lib/utils.js.map +1 -1
- package/dist/node_modules/date-fns/parse.js.map +1 -1
- package/dist/node_modules/date-fns/setDay.js.map +1 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -1
- package/dist/node_modules/date-fns/transpose.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/esm/index.js +174 -133
- package/dist/node_modules/fast-equals/dist/esm/index.js.map +1 -1
- package/dist/node_modules/filter-obj/index.js.map +1 -1
- package/dist/node_modules/humanize-plus/dist/humanize.js.map +1 -1
- package/dist/node_modules/lodash.debounce/index.js.map +1 -1
- package/dist/node_modules/lodash.isequal/index.js +1 -1
- package/dist/node_modules/lodash.isequal/index.js.map +1 -1
- package/dist/node_modules/lodash.throttle/index.js.map +1 -1
- package/dist/node_modules/query-string/base.js.map +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -1
- package/dist/node_modules/split-on-first/index.js.map +1 -1
- package/dist/node_modules/ua-parser-js/src/ua-parser.js +3 -3
- package/dist/node_modules/ua-parser-js/src/ua-parser.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/package.json +1 -1
@@ -1,29 +1,29 @@
|
|
1
1
|
import I from "styled-components";
|
2
2
|
const J = (i, p) => {
|
3
|
-
const { $gutter:
|
3
|
+
const { $gutter: a, $gutterX: n, $gap: o, $gapX: $ } = i;
|
4
4
|
let e = 0, r = 0;
|
5
|
-
return
|
6
|
-
},
|
5
|
+
return a ? e = a : n && (e = n * p), o ? r = o : $ && (r = $ * p), `${r}px ${e}px`;
|
6
|
+
}, L = I.div(
|
7
7
|
({
|
8
8
|
theme: i,
|
9
9
|
$position: p,
|
10
|
-
$flexDirection:
|
11
|
-
$inherit:
|
10
|
+
$flexDirection: a = "column",
|
11
|
+
$inherit: n,
|
12
12
|
$flexWrap: o = !1,
|
13
13
|
$flexGap: $,
|
14
14
|
$flexGapX: e,
|
15
15
|
$flexRowGap: r,
|
16
16
|
$flexRowGapX: s,
|
17
17
|
$flexColumnGap: x,
|
18
|
-
$flexColumnGapX:
|
19
|
-
$gutter:
|
20
|
-
$gutterX:
|
21
|
-
$gap:
|
22
|
-
$gapX:
|
18
|
+
$flexColumnGapX: d,
|
19
|
+
$gutter: k,
|
20
|
+
$gutterX: z = 0,
|
21
|
+
$gap: F,
|
22
|
+
$gapX: V = 0,
|
23
23
|
$marginBottom: g,
|
24
|
-
$marginBottomX:
|
24
|
+
$marginBottomX: f,
|
25
25
|
$width: l,
|
26
|
-
$widthX:
|
26
|
+
$widthX: c,
|
27
27
|
$height: u,
|
28
28
|
$heightX: y,
|
29
29
|
$alignSelf: q,
|
@@ -37,27 +37,27 @@ const J = (i, p) => {
|
|
37
37
|
$hidden: H = !1,
|
38
38
|
$flex: v
|
39
39
|
}) => {
|
40
|
-
const { layout: t, colors:
|
40
|
+
const { layout: t, colors: j } = i;
|
41
41
|
return `
|
42
42
|
${p ? `position: ${p};` : ""}
|
43
43
|
display: flex;
|
44
44
|
${H ? "display: none;" : ""}
|
45
45
|
flex-wrap: ${o ? "wrap" : "nowrap"};
|
46
|
-
${
|
47
|
-
flex-direction: ${
|
48
|
-
padding: ${J({ $gutter:
|
46
|
+
${n ? "flex-grow: 1; flex-shrink: 1;" : ""}
|
47
|
+
flex-direction: ${a};
|
48
|
+
padding: ${J({ $gutter: k, $gutterX: z, $gap: F, $gapX: V }, t.gutter)};
|
49
49
|
margin-bottom: ${g ? `${g}` : "initial"}${typeof g == "number" ? "px" : ""};
|
50
|
-
${
|
50
|
+
${f ? `margin-bottom: ${f * t.gutter}px;` : ""}
|
51
51
|
align-self: ${q || "auto"};
|
52
52
|
align-items: ${A || "normal"};
|
53
53
|
justify-content: ${D || "flex-start"};
|
54
|
-
background-color: ${m ?
|
54
|
+
background-color: ${m ? j[m] : "transparent"};
|
55
55
|
border-radius: ${typeof w == "number" ? w : 0}px;
|
56
56
|
${P ? `border-radius: ${P * t.gutter}px;` : ""}
|
57
|
-
${b ? `border: 1px solid ${
|
57
|
+
${b ? `border: 1px solid ${j[b]};` : ""}
|
58
58
|
opacity: ${E};
|
59
59
|
width: ${l ? `${l}` : "auto"}${typeof l == "number" ? "px" : ""};
|
60
|
-
${
|
60
|
+
${c ? `width: ${c * t.gutter}px;` : ""}
|
61
61
|
height: ${u ? `${u}` : "auto"}${typeof u == "number" ? "px" : ""};
|
62
62
|
${y ? `height: ${y * t.gutter}px;` : ""}
|
63
63
|
${$ ? `gap: ${$}px;` : ""}
|
@@ -65,12 +65,12 @@ const J = (i, p) => {
|
|
65
65
|
${r ? `row-gap: ${r}px;` : ""}
|
66
66
|
${s ? `row-gap: ${s * t.gutter}px;` : ""}
|
67
67
|
${x ? `column-gap: ${x}px;` : ""}
|
68
|
-
${
|
68
|
+
${d ? `column-gap: ${d * t.gutter}px;` : ""}
|
69
69
|
${v ? `flex: ${v};` : ""}
|
70
70
|
`;
|
71
71
|
}
|
72
|
-
)
|
72
|
+
);
|
73
73
|
export {
|
74
|
-
|
74
|
+
L as default
|
75
75
|
};
|
76
76
|
//# sourceMappingURL=flex-view.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"flex-view.js","sources":["../../../../src/features/ui/layout/flex-view.tsx"],"sourcesContent":["import type { TColorNames } from '../types';\nimport type { HTMLAttributes } from 'react';\n\nimport styled from 'styled-components';\n\ntype TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;\n\ninterface IGetPadding {\n (\n options: {\n $gutter?: number;\n $gutterX?: number;\n $gap?: number;\n $gapX?: number;\n },\n gutter: number,\n ): string;\n}\n\nconst getPadding: IGetPadding = (options, gutter) => {\n const { $gutter, $gutterX, $gap, $gapX } = options;\n let horizontalPadding = 0;\n let verticalPadding = 0;\n\n if ($gutter) {\n horizontalPadding = $gutter;\n } else if ($gutterX) {\n horizontalPadding = $gutterX * gutter;\n }\n\n if ($gap) {\n verticalPadding = $gap;\n } else if ($gapX) {\n verticalPadding = $gapX * gutter;\n }\n\n return `${verticalPadding}px ${horizontalPadding}px`;\n};\n\nexport interface FlexViewProps {\n $position?: TStyleAttrubutes['position'];\n $inherit?: boolean;\n $gutter?: number;\n $gutterX?: number;\n $gap?: number;\n $gapX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $flexWrap?: boolean;\n $flexGap?: number;\n $flexGapX?: number;\n $flexRowGap?: number;\n $flexRowGapX?: number;\n $flexColumnGap?: number;\n $flexColumnGapX?: number;\n $width?: number | string;\n $widthX?: number;\n $height?: number | string;\n $heightX?: number;\n $flexDirection?: TStyleAttrubutes['flexDirection'];\n $alignSelf?: TStyleAttrubutes['alignSelf'];\n $alignItems?: TStyleAttrubutes['alignItems'];\n $justifyContent?: TStyleAttrubutes['justifyContent'];\n $background?: TColorNames;\n $borderRadius?: number;\n $borderRadiusX?: number;\n $borderColor?: TColorNames;\n $opacity?: number;\n $hidden?: boolean;\n $flex?: number;\n}\n\nconst FlexView = styled.div<FlexViewProps>(\n ({\n theme,\n $position,\n $flexDirection = 'column',\n $inherit,\n $flexWrap = false,\n $flexGap,\n $flexGapX,\n $flexRowGap,\n $flexRowGapX,\n $flexColumnGap,\n $flexColumnGapX,\n $gutter,\n $gutterX = 0,\n $gap,\n $gapX = 0,\n $marginBottom,\n $marginBottomX,\n $width,\n $widthX,\n $height,\n $heightX,\n $alignSelf,\n $alignItems,\n $justifyContent,\n $background,\n $borderColor,\n $borderRadius,\n $borderRadiusX,\n $opacity = 1,\n $hidden = false,\n $flex,\n }) => {\n const { layout, colors } = theme;\n\n return `\n ${$position ? `position: ${$position};` : ''}\n display: flex;\n ${$hidden ? 'display: none;' : ''}\n flex-wrap: ${$flexWrap ? 'wrap' : 'nowrap'};\n ${$inherit ? 'flex-grow: 1; flex-shrink: 1;' : ''}\n flex-direction: ${$flexDirection};\n padding: ${getPadding({ $gutter, $gutterX, $gap, $gapX }, layout.gutter)};\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n align-self: ${$alignSelf || 'auto'};\n align-items: ${$alignItems || 'normal'};\n justify-content: ${$justifyContent || 'flex-start'};\n background-color: ${$background ? colors[$background] : 'transparent'};\n border-radius: ${typeof $borderRadius === 'number' ? $borderRadius : 0}px;\n ${$borderRadiusX ? `border-radius: ${$borderRadiusX * layout.gutter}px;` : ''}\n ${$borderColor ? `border: 1px solid ${colors[$borderColor]};` : ''}\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n height: ${$height ? `${$height}` : 'auto'}${typeof $height === 'number' ? 'px' : ''};\n ${$heightX ? `height: ${$heightX * layout.gutter}px;` : ''}\n ${$flexGap ? `gap: ${$flexGap}px;` : ''}\n ${$flexGapX ? `gap: ${$flexGapX * layout.gutter}px;` : ''}\n ${$flexRowGap ? `row-gap: ${$flexRowGap}px;` : ''}\n ${$flexRowGapX ? `row-gap: ${$flexRowGapX * layout.gutter}px;` : ''}\n ${$flexColumnGap ? `column-gap: ${$flexColumnGap}px;` : ''}\n ${$flexColumnGapX ? `column-gap: ${$flexColumnGapX * layout.gutter}px;` : ''}\n ${$flex ? `flex: ${$flex};` : ''}\n `;\n },\n);\n\nexport default FlexView;\n"],"names":["getPadding","options","gutter","$gutter","$gutterX","$gap","$gapX","horizontalPadding","verticalPadding","FlexView","styled","theme","$position","$flexDirection","$inherit","$flexWrap","$flexGap","$flexGapX","$flexRowGap","$flexRowGapX","$flexColumnGap","$flexColumnGapX","$marginBottom","$marginBottomX","$width","$widthX","$height","$heightX","$alignSelf","$alignItems","$justifyContent","$background","$borderColor","$borderRadius","$borderRadiusX","$opacity","$hidden","$flex","layout","colors"
|
1
|
+
{"version":3,"file":"flex-view.js","sources":["../../../../src/features/ui/layout/flex-view.tsx"],"sourcesContent":["import type { TColorNames } from '../types';\nimport type { HTMLAttributes } from 'react';\n\nimport styled from 'styled-components';\n\ntype TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;\n\ninterface IGetPadding {\n (\n options: {\n $gutter?: number;\n $gutterX?: number;\n $gap?: number;\n $gapX?: number;\n },\n gutter: number,\n ): string;\n}\n\nconst getPadding: IGetPadding = (options, gutter) => {\n const { $gutter, $gutterX, $gap, $gapX } = options;\n let horizontalPadding = 0;\n let verticalPadding = 0;\n\n if ($gutter) {\n horizontalPadding = $gutter;\n } else if ($gutterX) {\n horizontalPadding = $gutterX * gutter;\n }\n\n if ($gap) {\n verticalPadding = $gap;\n } else if ($gapX) {\n verticalPadding = $gapX * gutter;\n }\n\n return `${verticalPadding}px ${horizontalPadding}px`;\n};\n\nexport interface FlexViewProps {\n $position?: TStyleAttrubutes['position'];\n $inherit?: boolean;\n $gutter?: number;\n $gutterX?: number;\n $gap?: number;\n $gapX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $flexWrap?: boolean;\n $flexGap?: number;\n $flexGapX?: number;\n $flexRowGap?: number;\n $flexRowGapX?: number;\n $flexColumnGap?: number;\n $flexColumnGapX?: number;\n $width?: number | string;\n $widthX?: number;\n $height?: number | string;\n $heightX?: number;\n $flexDirection?: TStyleAttrubutes['flexDirection'];\n $alignSelf?: TStyleAttrubutes['alignSelf'];\n $alignItems?: TStyleAttrubutes['alignItems'];\n $justifyContent?: TStyleAttrubutes['justifyContent'];\n $background?: TColorNames;\n $borderRadius?: number;\n $borderRadiusX?: number;\n $borderColor?: TColorNames;\n $opacity?: number;\n $hidden?: boolean;\n $flex?: number;\n}\n\nconst FlexView = styled.div<FlexViewProps>(\n ({\n theme,\n $position,\n $flexDirection = 'column',\n $inherit,\n $flexWrap = false,\n $flexGap,\n $flexGapX,\n $flexRowGap,\n $flexRowGapX,\n $flexColumnGap,\n $flexColumnGapX,\n $gutter,\n $gutterX = 0,\n $gap,\n $gapX = 0,\n $marginBottom,\n $marginBottomX,\n $width,\n $widthX,\n $height,\n $heightX,\n $alignSelf,\n $alignItems,\n $justifyContent,\n $background,\n $borderColor,\n $borderRadius,\n $borderRadiusX,\n $opacity = 1,\n $hidden = false,\n $flex,\n }) => {\n const { layout, colors } = theme;\n\n return `\n ${$position ? `position: ${$position};` : ''}\n display: flex;\n ${$hidden ? 'display: none;' : ''}\n flex-wrap: ${$flexWrap ? 'wrap' : 'nowrap'};\n ${$inherit ? 'flex-grow: 1; flex-shrink: 1;' : ''}\n flex-direction: ${$flexDirection};\n padding: ${getPadding({ $gutter, $gutterX, $gap, $gapX }, layout.gutter)};\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n align-self: ${$alignSelf || 'auto'};\n align-items: ${$alignItems || 'normal'};\n justify-content: ${$justifyContent || 'flex-start'};\n background-color: ${$background ? colors[$background] : 'transparent'};\n border-radius: ${typeof $borderRadius === 'number' ? $borderRadius : 0}px;\n ${$borderRadiusX ? `border-radius: ${$borderRadiusX * layout.gutter}px;` : ''}\n ${$borderColor ? `border: 1px solid ${colors[$borderColor]};` : ''}\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n height: ${$height ? `${$height}` : 'auto'}${typeof $height === 'number' ? 'px' : ''};\n ${$heightX ? `height: ${$heightX * layout.gutter}px;` : ''}\n ${$flexGap ? `gap: ${$flexGap}px;` : ''}\n ${$flexGapX ? `gap: ${$flexGapX * layout.gutter}px;` : ''}\n ${$flexRowGap ? `row-gap: ${$flexRowGap}px;` : ''}\n ${$flexRowGapX ? `row-gap: ${$flexRowGapX * layout.gutter}px;` : ''}\n ${$flexColumnGap ? `column-gap: ${$flexColumnGap}px;` : ''}\n ${$flexColumnGapX ? `column-gap: ${$flexColumnGapX * layout.gutter}px;` : ''}\n ${$flex ? `flex: ${$flex};` : ''}\n `;\n },\n);\n\nexport default FlexView;\n"],"names":["getPadding","options","gutter","$gutter","$gutterX","$gap","$gapX","horizontalPadding","verticalPadding","FlexView","styled","theme","$position","$flexDirection","$inherit","$flexWrap","$flexGap","$flexGapX","$flexRowGap","$flexRowGapX","$flexColumnGap","$flexColumnGapX","$marginBottom","$marginBottomX","$width","$widthX","$height","$heightX","$alignSelf","$alignItems","$justifyContent","$background","$borderColor","$borderRadius","$borderRadiusX","$opacity","$hidden","$flex","layout","colors"],"mappings":";AAmBA,MAAMA,IAA0B,CAACC,GAASC,MAAW;AACnD,QAAM,EAAE,SAAAC,GAAS,UAAAC,GAAU,MAAAC,GAAM,OAAAC,EAAU,IAAAL;AAC3C,MAAIM,IAAoB,GACpBC,IAAkB;AAEtB,SAAIL,IACkBI,IAAAJ,IACXC,MACTG,IAAoBH,IAAWF,IAG7BG,IACgBG,IAAAH,IACTC,MACTE,IAAkBF,IAAQJ,IAGrB,GAAGM,CAAe,MAAMD,CAAiB;AAClD,GAmCME,IAAWC,EAAO;AAAA,EACtB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,gBAAAC,IAAiB;AAAA,IACjB,UAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,SAAAlB;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,MAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,eAAAgB;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,YAAAC;AAAA,IACA,aAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC,IAAU;AAAA,IACV,OAAAC;AAAA,EAAA,MACI;AACE,UAAA,EAAE,QAAAC,GAAQ,QAAAC,EAAA,IAAW5B;AAEpB,WAAA;AAAA,QACHC,IAAY,aAAaA,CAAS,MAAM,EAAE;AAAA;AAAA,QAE1CwB,IAAU,mBAAmB,EAAE;AAAA,mBACpBrB,IAAY,SAAS,QAAQ;AAAA,QACxCD,IAAW,kCAAkC,EAAE;AAAA,wBAC/BD,CAAc;AAAA,iBACrBb,EAAW,EAAE,SAAAG,GAAS,UAAAC,GAAU,MAAAC,GAAM,OAAAC,EAAM,GAAGgC,EAAO,MAAM,CAAC;AAAA,uBACvDhB,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBe,EAAO,MAAM,QAAQ,EAAE;AAAA,oBAC/DV,KAAc,MAAM;AAAA,qBACnBC,KAAe,QAAQ;AAAA,yBACnBC,KAAmB,YAAY;AAAA,0BAC9BC,IAAcQ,EAAOR,CAAW,IAAI,aAAa;AAAA,uBACpD,OAAOE,KAAkB,WAAWA,IAAgB,CAAC;AAAA,QACpEC,IAAiB,kBAAkBA,IAAiBI,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EN,IAAe,qBAAqBO,EAAOP,CAAY,CAAC,MAAM,EAAE;AAAA,iBACvDG,CAAQ;AAAA,eACVX,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUa,EAAO,MAAM,QAAQ,EAAE;AAAA,gBAC7CZ,IAAU,GAAGA,CAAO,KAAK,MAAM,GAAG,OAAOA,KAAY,WAAW,OAAO,EAAE;AAAA,QACjFC,IAAW,WAAWA,IAAWW,EAAO,MAAM,QAAQ,EAAE;AAAA,QACxDtB,IAAW,QAAQA,CAAQ,QAAQ,EAAE;AAAA,QACrCC,IAAY,QAAQA,IAAYqB,EAAO,MAAM,QAAQ,EAAE;AAAA,QACvDpB,IAAc,YAAYA,CAAW,QAAQ,EAAE;AAAA,QAC/CC,IAAe,YAAYA,IAAemB,EAAO,MAAM,QAAQ,EAAE;AAAA,QACjElB,IAAiB,eAAeA,CAAc,QAAQ,EAAE;AAAA,QACxDC,IAAkB,eAAeA,IAAkBiB,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC1ED,IAAQ,SAASA,CAAK,MAAM,EAAE;AAAA;AAAA,EAAA;AAGtC;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
import
|
3
|
-
const
|
2
|
+
import i from "../../layout/flex-view.js";
|
3
|
+
const a = ({ width: t, height: r }) => /* @__PURE__ */ e(i, { $alignItems: "center", $justifyContent: "center", $width: t, $height: r, children: /* @__PURE__ */ e("div", { className: "app-loader", children: "Load ng" }) });
|
4
4
|
export {
|
5
|
-
|
5
|
+
a as default
|
6
6
|
};
|
7
7
|
//# sourceMappingURL=app-loader.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app-loader.js","sources":["../../../../../src/features/ui/loader/app-loader/app-loader.tsx"],"sourcesContent":["import type { FC } from 'react';\n\nimport FlexView from '../../layout/flex-view';\n\ninterface IAppLoaderProps {\n width?: string | number;\n height?: string | number;\n}\n\nconst AppLoader: FC<IAppLoaderProps> = ({ width, height }) => {\n return (\n <FlexView $alignItems=\"center\" $justifyContent=\"center\" $width={width} $height={height}>\n <div className=\"app-loader\">Load ng</div>\n </FlexView>\n );\n};\n\nexport default AppLoader;\n"],"names":["AppLoader","width","height","jsx","FlexView"
|
1
|
+
{"version":3,"file":"app-loader.js","sources":["../../../../../src/features/ui/loader/app-loader/app-loader.tsx"],"sourcesContent":["import type { FC } from 'react';\n\nimport FlexView from '../../layout/flex-view';\n\ninterface IAppLoaderProps {\n width?: string | number;\n height?: string | number;\n}\n\nconst AppLoader: FC<IAppLoaderProps> = ({ width, height }) => {\n return (\n <FlexView $alignItems=\"center\" $justifyContent=\"center\" $width={width} $height={height}>\n <div className=\"app-loader\">Load ng</div>\n </FlexView>\n );\n};\n\nexport default AppLoader;\n"],"names":["AppLoader","width","height","jsx","FlexView"],"mappings":";;AASA,MAAMA,IAAiC,CAAC,EAAE,OAAAC,GAAO,QAAAC,QAE5C,gBAAAC,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAAS,QAAQH,GAAO,SAASC,GAC9E,UAAC,gBAAAC,EAAA,OAAA,EAAI,WAAU,cAAa,oBAAY,CAAA,GAC1C;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAEa,MAAAA,IAAc,OAAOC,MAAqD;AACrF,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,
|
1
|
+
{"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAEa,MAAAA,IAAc,OAAOC,MAAqD;AACrF,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,KAAM,CAAA,EACtB,MAAM,MAAM,IAAI;AAAA,WACZC,GAAO;AAEN,YAAA,IAAI,qCAAqCA,CAAK;AAAA,EAAA;AAGjD,SAAAF;AACT;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationItem, AnimationSegment } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: AnimationSegment, forceFlag?: boolean) => {\n if (animationInstance.current) {\n animationInstance.current.playSegments(segments, forceFlag);\n }\n },\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","useEffect","animationData","fetchLottie","lottie","entry","_a","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,
|
1
|
+
{"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationItem, AnimationSegment } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: AnimationSegment, forceFlag?: boolean) => {\n if (animationInstance.current) {\n animationInstance.current.playSegments(segments, forceFlag);\n }\n },\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","useEffect","animationData","fetchLottie","lottie","entry","_a","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EAAA,IACER,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MAAwB;AACjE,QAAIJ,EAAkB,WACFA,EAAA,QAAQ,aAAaG,GAAUC,CAAS;AAAA,MAC5D;AAAA,IACF;AAAA,IAEF,CAAA;AAAA,EACF,GAEAC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYhB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUQ,EAAO,cAAc;AAAA,QAC/C,WAAWV,EAAU;AAAA,QACrB,eAAAQ;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGZ;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACQ,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBC,IAAAV,EAAkB,YAAlB,QAAAU,EAA2B,UAE3BC,IAAAX,EAAkB,YAAlB,QAAAW,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MACjB,GAEIb,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFiB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IAAA;AAAA,EAE1D,GAEc,GAEP,MAAM;;AACX,IAAIZ,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFa,IAAAT,EAAqB,YAArB,QAAAS,EAA8B,eAEhCV,EAAkB,QAAQ,QAAQ;AAAA,EAEtC,IACC,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDmB,GAAS,EAAA,KAAKf,GAAW,QAAQN,GAAO,SAASC,GAAQ;AACnE,CAAC,GAEcqB,IAAAC,EAAK5B,CAAe;"}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { LOTTIE as
|
3
|
-
import
|
4
|
-
import { NudgeWrapper as p, NudgeLottieContainer as
|
5
|
-
const
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
2
|
+
import { LOTTIE as n } from "../../../assets/lottie/lottie.js";
|
3
|
+
import d from "../lottie-animation/lottie-animation.js";
|
4
|
+
import { NudgeWrapper as p, NudgeLottieContainer as f } from "./nudge-styled.js";
|
5
|
+
const $ = ({
|
6
6
|
content: r,
|
7
7
|
nudgePointerX: e = 0,
|
8
8
|
nudgePointerY: o = 0,
|
9
9
|
zIndex: i = 100
|
10
|
-
}) => /* @__PURE__ */
|
11
|
-
/* @__PURE__ */ t(
|
10
|
+
}) => /* @__PURE__ */ m(p, { $top: o, $left: e, $zIndex: i, children: [
|
11
|
+
/* @__PURE__ */ t(f, { $height: 64, $width: 64, children: /* @__PURE__ */ t(d, { src: n.NUDGE_TAP }) }),
|
12
12
|
r
|
13
|
-
] })
|
13
|
+
] });
|
14
14
|
export {
|
15
|
-
|
15
|
+
$ as default
|
16
16
|
};
|
17
17
|
//# sourceMappingURL=nudge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nudge.js","sources":["../../../../src/features/ui/nudge/nudge.tsx"],"sourcesContent":["import type { INudgeProps } from './nudge-types';\n\nimport React from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport LottieAnimation from '../lottie-animation/lottie-animation';\nimport * as S from './nudge-styled';\n\nconst Nudge: React.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={64} $width={64}>\n <LottieAnimation src={LOTTIE.NUDGE_TAP} />\n </S.NudgeLottieContainer>\n {content}\n </S.NudgeWrapper>\n );\n};\n\nexport default Nudge;\n"],"names":["Nudge","content","nudgePointerX","nudgePointerY","zIndex","jsxs","S.NudgeWrapper","jsx","S.NudgeLottieContainer","LottieAnimation","LOTTIE"
|
1
|
+
{"version":3,"file":"nudge.js","sources":["../../../../src/features/ui/nudge/nudge.tsx"],"sourcesContent":["import type { INudgeProps } from './nudge-types';\n\nimport React from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport LottieAnimation from '../lottie-animation/lottie-animation';\nimport * as S from './nudge-styled';\n\nconst Nudge: React.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={64} $width={64}>\n <LottieAnimation src={LOTTIE.NUDGE_TAP} />\n </S.NudgeLottieContainer>\n {content}\n </S.NudgeWrapper>\n );\n};\n\nexport default Nudge;\n"],"names":["Nudge","content","nudgePointerX","nudgePointerY","zIndex","jsxs","S.NudgeWrapper","jsx","S.NudgeLottieContainer","LottieAnimation","LOTTIE"],"mappings":";;;;AAQA,MAAMA,IAA+B,CAAC;AAAA,EACpC,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,KAAKC,EAAO,UAAA,CAAW,EAC1C,CAAA;AAAA,EACCT;AAAA,GACH;"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { LOTTIE as o } from "../../../assets/lottie/lottie.js";
|
2
2
|
import { fetchLottie as a } from "../lottie-animation/helper.js";
|
3
|
-
import {
|
3
|
+
import { TIERS as e, RANGE_SIZE as t } from "./constants.js";
|
4
4
|
const s = {
|
5
5
|
bronze_1: o.BRONZE_1,
|
6
6
|
bronze_2: o.BRONZE_2,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"perfect-hits-helpers.js","sources":["../../../../src/features/ui/perfect-hits/perfect-hits-helpers.ts"],"sourcesContent":["import { LOTTIE } from '../../../assets/lottie/lottie';\nimport { fetchLottie } from '../lottie-animation/helper';\nimport { RANGE_SIZE, TIERS } from './constants';\n\ntype AnimationData = Record<string, unknown>;\n\nconst animationFilesMap: Record<string, string> = {\n bronze_1: LOTTIE.BRONZE_1,\n bronze_2: LOTTIE.BRONZE_2,\n bronze_3: LOTTIE.BRONZE_3,\n silver_1: LOTTIE.SILVER_1,\n silver_2: LOTTIE.SILVER_2,\n silver_3: LOTTIE.SILVER_3,\n gold_1: LOTTIE.GOLD_1,\n gold_2: LOTTIE.GOLD_2,\n gold_3: LOTTIE.GOLD_3,\n color_1: LOTTIE.COLOR_1,\n color_2: LOTTIE.COLOR_2,\n color_3: LOTTIE.COLOR_3,\n};\n\n/**\n * [0-4] => bronze_1\n * [5-9] => silver_1\n * [10-14] => gold_1\n * [15-19] => color_1\n * [20-24] => bronze_2\n * [25-29] => silver_2\n * [30-34] => gold_2\n * [35-39] => color_2\n * [40-44] => bronze_3\n * [45-49] => silver_3\n * [50-54] => gold_3\n * [55-59] => color_3\n * [>60] => color_3\n */\n\nasync function getAnimationFile(num: number): Promise<AnimationData | null> {\n const setNumber = num >= RANGE_SIZE * 12 ? 3 : Math.floor(num / (TIERS.length * RANGE_SIZE)) + 1;\n\n const tierIndex = Math.floor((num % (TIERS.length * RANGE_SIZE)) / RANGE_SIZE);\n const tier = num >= RANGE_SIZE * 12 ? 'color' : TIERS[tierIndex];\n const fileName = `${tier}_${setNumber}`;\n\n const loadAnimationPath = animationFilesMap[fileName];\n\n if (loadAnimationPath) {\n try {\n const lottieModule = await fetchLottie(loadAnimationPath);\n\n return lottieModule;\n } catch (error) {\n return null;\n }\n }\n\n return null;\n}\n\nexport { getAnimationFile, RANGE_SIZE };\n"],"names":["animationFilesMap","LOTTIE","getAnimationFile","num","setNumber","RANGE_SIZE","TIERS","tierIndex","fileName","loadAnimationPath","fetchLottie"],"mappings":";;;AAMA,MAAMA,IAA4C;AAAA,EAChD,UAAUC,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,SAASA,EAAO;AAAA,EAChB,SAASA,EAAO;AAAA,EAChB,SAASA,EAAO;AAClB;AAkBA,eAAeC,EAAiBC,GAA4C;AACpE,QAAAC,IAAYD,KAAOE,IAAa,KAAK,IAAI,KAAK,MAAMF,KAAOG,EAAM,SAASD,EAAW,IAAI,GAEzFE,IAAY,KAAK,MAAOJ,KAAOG,EAAM,SAASD,KAAeA,CAAU,GAEvEG,IAAW,GADJL,KAAOE,IAAa,KAAK,UAAUC,EAAMC,CAAS,CACvC,IAAIH,CAAS,IAE/BK,IAAoBT,EAAkBQ,CAAQ;AAEpD,MAAIC;AACE,QAAA;AAGK,aAFc,MAAMC,EAAYD,CAAiB;AAAA,YAG1C;AACP,aAAA;AAAA,
|
1
|
+
{"version":3,"file":"perfect-hits-helpers.js","sources":["../../../../src/features/ui/perfect-hits/perfect-hits-helpers.ts"],"sourcesContent":["import { LOTTIE } from '../../../assets/lottie/lottie';\nimport { fetchLottie } from '../lottie-animation/helper';\nimport { RANGE_SIZE, TIERS } from './constants';\n\ntype AnimationData = Record<string, unknown>;\n\nconst animationFilesMap: Record<string, string> = {\n bronze_1: LOTTIE.BRONZE_1,\n bronze_2: LOTTIE.BRONZE_2,\n bronze_3: LOTTIE.BRONZE_3,\n silver_1: LOTTIE.SILVER_1,\n silver_2: LOTTIE.SILVER_2,\n silver_3: LOTTIE.SILVER_3,\n gold_1: LOTTIE.GOLD_1,\n gold_2: LOTTIE.GOLD_2,\n gold_3: LOTTIE.GOLD_3,\n color_1: LOTTIE.COLOR_1,\n color_2: LOTTIE.COLOR_2,\n color_3: LOTTIE.COLOR_3,\n};\n\n/**\n * [0-4] => bronze_1\n * [5-9] => silver_1\n * [10-14] => gold_1\n * [15-19] => color_1\n * [20-24] => bronze_2\n * [25-29] => silver_2\n * [30-34] => gold_2\n * [35-39] => color_2\n * [40-44] => bronze_3\n * [45-49] => silver_3\n * [50-54] => gold_3\n * [55-59] => color_3\n * [>60] => color_3\n */\n\nasync function getAnimationFile(num: number): Promise<AnimationData | null> {\n const setNumber = num >= RANGE_SIZE * 12 ? 3 : Math.floor(num / (TIERS.length * RANGE_SIZE)) + 1;\n\n const tierIndex = Math.floor((num % (TIERS.length * RANGE_SIZE)) / RANGE_SIZE);\n const tier = num >= RANGE_SIZE * 12 ? 'color' : TIERS[tierIndex];\n const fileName = `${tier}_${setNumber}`;\n\n const loadAnimationPath = animationFilesMap[fileName];\n\n if (loadAnimationPath) {\n try {\n const lottieModule = await fetchLottie(loadAnimationPath);\n\n return lottieModule;\n } catch (error) {\n return null;\n }\n }\n\n return null;\n}\n\nexport { getAnimationFile, RANGE_SIZE };\n"],"names":["animationFilesMap","LOTTIE","getAnimationFile","num","setNumber","RANGE_SIZE","TIERS","tierIndex","fileName","loadAnimationPath","fetchLottie"],"mappings":";;;AAMA,MAAMA,IAA4C;AAAA,EAChD,UAAUC,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,UAAUA,EAAO;AAAA,EACjB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,SAASA,EAAO;AAAA,EAChB,SAASA,EAAO;AAAA,EAChB,SAASA,EAAO;AAClB;AAkBA,eAAeC,EAAiBC,GAA4C;AACpE,QAAAC,IAAYD,KAAOE,IAAa,KAAK,IAAI,KAAK,MAAMF,KAAOG,EAAM,SAASD,EAAW,IAAI,GAEzFE,IAAY,KAAK,MAAOJ,KAAOG,EAAM,SAASD,KAAeA,CAAU,GAEvEG,IAAW,GADJL,KAAOE,IAAa,KAAK,UAAUC,EAAMC,CAAS,CACvC,IAAIH,CAAS,IAE/BK,IAAoBT,EAAkBQ,CAAQ;AAEpD,MAAIC;AACE,QAAA;AAGK,aAFc,MAAMC,EAAYD,CAAiB;AAAA,YAG1C;AACP,aAAA;AAAA,IAAA;AAIJ,SAAA;AACT;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"perfect-hits.js","sources":["../../../../src/features/ui/perfect-hits/perfect-hits.tsx"],"sourcesContent":["import type { IPerfectHitsProps, TTextAnimationType } from './perfect-hits-types';\n\nimport lottieWeb, { type AnimationItem } from 'lottie-web';\nimport { memo, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { RANGE_SIZE, getAnimationFile } from './perfect-hits-helpers';\nimport { Wrapper, AnimatedText, AnimationContainer } from './perfect-hits-styled';\n\nconst PerfectHits: React.FC<IPerfectHitsProps> = ({ value }) => {\n const lottieContainer = useRef<HTMLDivElement | null>(null);\n const lottieInstance = useRef<AnimationItem | null>(null);\n const [textAnimationType, setTextAnimationType] = useState<TTextAnimationType>('reveal');\n const [displayValue, setDisplayValue] = useState(value ?? 0);\n\n const playAnimation = useCallback(\n (num: number) => {\n const isLevelChanged = num % RANGE_SIZE === 0;\n\n if (isLevelChanged && lottieInstance.current) {\n lottieInstance.current.playSegments([84, 117], true);\n lottieInstance.current.addEventListener('complete', async () => {\n if (lottieContainer.current) {\n lottieInstance.current?.destroy();\n const nextAnimationData = await getAnimationFile(num);\n\n if (nextAnimationData) {\n const nextInstance = lottieWeb.loadAnimation({\n container: lottieContainer.current,\n renderer: 'svg',\n loop: false,\n autoplay: false,\n animationData: nextAnimationData,\n });\n\n lottieInstance.current = nextInstance;\n lottieInstance.current.playSegments([0, 36], true);\n }\n }\n });\n } else {\n lottieInstance.current?.playSegments([36, 83], true);\n }\n },\n [lottieInstance],\n );\n\n const initializeAnimation = useCallback(async (num: number) => {\n const animationData = await getAnimationFile(num);\n\n if (animationData && lottieContainer.current) {\n const instance = lottieWeb.loadAnimation({\n container: lottieContainer.current,\n renderer: 'svg',\n loop: false,\n autoplay: false,\n animationData,\n });\n\n lottieInstance.current = instance;\n\n lottieInstance.current.goToAndStop(36, true);\n }\n }, []);\n\n useEffect(() => {\n return () => {\n if (lottieInstance.current) {\n lottieInstance.current.destroy();\n }\n };\n }, []);\n\n useEffect(() => {\n let timeoutId: NodeJS.Timeout | null = null;\n\n if (value > 0 && lottieInstance.current) {\n playAnimation(value);\n setTextAnimationType('disappear');\n timeoutId = setTimeout(() => {\n setDisplayValue(value);\n setTextAnimationType('reveal');\n }, 1200);\n } else if (!lottieInstance.current && value >= 0) {\n setDisplayValue(value);\n initializeAnimation(value);\n }\n\n return () => {\n if (timeoutId) clearTimeout(timeoutId);\n };\n }, [value, playAnimation, initializeAnimation]);\n\n return (\n <Wrapper $flexDirection=\"row\" $alignItems=\"center\" $justifyContent=\"center\">\n <AnimatedText $renderAs=\"h4\" $color=\"YELLOW_4\" $animationType={textAnimationType}>\n {displayValue}\n </AnimatedText>\n\n <AnimationContainer ref={lottieContainer} $width={90} $height={55} />\n </Wrapper>\n );\n};\n\nexport default memo(PerfectHits);\n"],"names":["PerfectHits","value","lottieContainer","useRef","lottieInstance","textAnimationType","setTextAnimationType","useState","displayValue","setDisplayValue","playAnimation","useCallback","num","RANGE_SIZE","_a","nextAnimationData","getAnimationFile","nextInstance","lottieWeb","initializeAnimation","animationData","instance","useEffect","timeoutId","Wrapper","jsx","AnimatedText","AnimationContainer","perfectHits","memo"],"mappings":";;;;;;AAQA,MAAMA,IAA2C,CAAC,EAAE,OAAAC,QAAY;AACxD,QAAAC,IAAkBC,EAA8B,IAAI,GACpDC,IAAiBD,EAA6B,IAAI,GAClD,CAACE,GAAmBC,CAAoB,IAAIC,EAA6B,QAAQ,GACjF,CAACC,GAAcC,CAAe,IAAIF,EAASN,KAAS,CAAC,GAErDS,IAAgBC;AAAA,IACpB,CAACC,MAAgB;;AAGX,MAFmBA,IAAMC,MAAe,KAEtBT,EAAe,WACnCA,EAAe,QAAQ,aAAa,CAAC,IAAI,GAAG,GAAG,EAAI,GACpCA,EAAA,QAAQ,iBAAiB,YAAY,YAAY;;AAC9D,YAAIF,EAAgB,SAAS;AAC3B,WAAAY,IAAAV,EAAe,YAAf,QAAAU,EAAwB;AAClB,gBAAAC,IAAoB,MAAMC,EAAiBJ,CAAG;AAEpD,cAAIG,GAAmB;AACf,kBAAAE,IAAeC,EAAU,cAAc;AAAA,cAC3C,WAAWhB,EAAgB;AAAA,cAC3B,UAAU;AAAA,cACV,MAAM;AAAA,cACN,UAAU;AAAA,cACV,eAAea;AAAA,YAAA,CAChB;AAED,YAAAX,EAAe,UAAUa,GACzBb,EAAe,QAAQ,aAAa,CAAC,GAAG,EAAE,GAAG,EAAI;AAAA,
|
1
|
+
{"version":3,"file":"perfect-hits.js","sources":["../../../../src/features/ui/perfect-hits/perfect-hits.tsx"],"sourcesContent":["import type { IPerfectHitsProps, TTextAnimationType } from './perfect-hits-types';\n\nimport lottieWeb, { type AnimationItem } from 'lottie-web';\nimport { memo, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { RANGE_SIZE, getAnimationFile } from './perfect-hits-helpers';\nimport { Wrapper, AnimatedText, AnimationContainer } from './perfect-hits-styled';\n\nconst PerfectHits: React.FC<IPerfectHitsProps> = ({ value }) => {\n const lottieContainer = useRef<HTMLDivElement | null>(null);\n const lottieInstance = useRef<AnimationItem | null>(null);\n const [textAnimationType, setTextAnimationType] = useState<TTextAnimationType>('reveal');\n const [displayValue, setDisplayValue] = useState(value ?? 0);\n\n const playAnimation = useCallback(\n (num: number) => {\n const isLevelChanged = num % RANGE_SIZE === 0;\n\n if (isLevelChanged && lottieInstance.current) {\n lottieInstance.current.playSegments([84, 117], true);\n lottieInstance.current.addEventListener('complete', async () => {\n if (lottieContainer.current) {\n lottieInstance.current?.destroy();\n const nextAnimationData = await getAnimationFile(num);\n\n if (nextAnimationData) {\n const nextInstance = lottieWeb.loadAnimation({\n container: lottieContainer.current,\n renderer: 'svg',\n loop: false,\n autoplay: false,\n animationData: nextAnimationData,\n });\n\n lottieInstance.current = nextInstance;\n lottieInstance.current.playSegments([0, 36], true);\n }\n }\n });\n } else {\n lottieInstance.current?.playSegments([36, 83], true);\n }\n },\n [lottieInstance],\n );\n\n const initializeAnimation = useCallback(async (num: number) => {\n const animationData = await getAnimationFile(num);\n\n if (animationData && lottieContainer.current) {\n const instance = lottieWeb.loadAnimation({\n container: lottieContainer.current,\n renderer: 'svg',\n loop: false,\n autoplay: false,\n animationData,\n });\n\n lottieInstance.current = instance;\n\n lottieInstance.current.goToAndStop(36, true);\n }\n }, []);\n\n useEffect(() => {\n return () => {\n if (lottieInstance.current) {\n lottieInstance.current.destroy();\n }\n };\n }, []);\n\n useEffect(() => {\n let timeoutId: NodeJS.Timeout | null = null;\n\n if (value > 0 && lottieInstance.current) {\n playAnimation(value);\n setTextAnimationType('disappear');\n timeoutId = setTimeout(() => {\n setDisplayValue(value);\n setTextAnimationType('reveal');\n }, 1200);\n } else if (!lottieInstance.current && value >= 0) {\n setDisplayValue(value);\n initializeAnimation(value);\n }\n\n return () => {\n if (timeoutId) clearTimeout(timeoutId);\n };\n }, [value, playAnimation, initializeAnimation]);\n\n return (\n <Wrapper $flexDirection=\"row\" $alignItems=\"center\" $justifyContent=\"center\">\n <AnimatedText $renderAs=\"h4\" $color=\"YELLOW_4\" $animationType={textAnimationType}>\n {displayValue}\n </AnimatedText>\n\n <AnimationContainer ref={lottieContainer} $width={90} $height={55} />\n </Wrapper>\n );\n};\n\nexport default memo(PerfectHits);\n"],"names":["PerfectHits","value","lottieContainer","useRef","lottieInstance","textAnimationType","setTextAnimationType","useState","displayValue","setDisplayValue","playAnimation","useCallback","num","RANGE_SIZE","_a","nextAnimationData","getAnimationFile","nextInstance","lottieWeb","initializeAnimation","animationData","instance","useEffect","timeoutId","Wrapper","jsx","AnimatedText","AnimationContainer","perfectHits","memo"],"mappings":";;;;;;AAQA,MAAMA,IAA2C,CAAC,EAAE,OAAAC,QAAY;AACxD,QAAAC,IAAkBC,EAA8B,IAAI,GACpDC,IAAiBD,EAA6B,IAAI,GAClD,CAACE,GAAmBC,CAAoB,IAAIC,EAA6B,QAAQ,GACjF,CAACC,GAAcC,CAAe,IAAIF,EAASN,KAAS,CAAC,GAErDS,IAAgBC;AAAA,IACpB,CAACC,MAAgB;;AAGX,MAFmBA,IAAMC,MAAe,KAEtBT,EAAe,WACnCA,EAAe,QAAQ,aAAa,CAAC,IAAI,GAAG,GAAG,EAAI,GACpCA,EAAA,QAAQ,iBAAiB,YAAY,YAAY;;AAC9D,YAAIF,EAAgB,SAAS;AAC3B,WAAAY,IAAAV,EAAe,YAAf,QAAAU,EAAwB;AAClB,gBAAAC,IAAoB,MAAMC,EAAiBJ,CAAG;AAEpD,cAAIG,GAAmB;AACf,kBAAAE,IAAeC,EAAU,cAAc;AAAA,cAC3C,WAAWhB,EAAgB;AAAA,cAC3B,UAAU;AAAA,cACV,MAAM;AAAA,cACN,UAAU;AAAA,cACV,eAAea;AAAA,YAAA,CAChB;AAED,YAAAX,EAAe,UAAUa,GACzBb,EAAe,QAAQ,aAAa,CAAC,GAAG,EAAE,GAAG,EAAI;AAAA,UAAA;AAAA,QACnD;AAAA,MACF,CACD,MAEDU,IAAAV,EAAe,YAAf,QAAAU,EAAwB,aAAa,CAAC,IAAI,EAAE,GAAG;AAAA,IAEnD;AAAA,IACA,CAACV,CAAc;AAAA,EACjB,GAEMe,IAAsBR,EAAY,OAAOC,MAAgB;AACvD,UAAAQ,IAAgB,MAAMJ,EAAiBJ,CAAG;AAE5C,QAAAQ,KAAiBlB,EAAgB,SAAS;AACtC,YAAAmB,IAAWH,EAAU,cAAc;AAAA,QACvC,WAAWhB,EAAgB;AAAA,QAC3B,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,eAAAkB;AAAA,MAAA,CACD;AAED,MAAAhB,EAAe,UAAUiB,GAEVjB,EAAA,QAAQ,YAAY,IAAI,EAAI;AAAA,IAAA;AAAA,EAE/C,GAAG,EAAE;AAEL,SAAAkB,EAAU,MACD,MAAM;AACX,IAAIlB,EAAe,WACjBA,EAAe,QAAQ,QAAQ;AAAA,EAEnC,GACC,EAAE,GAELkB,EAAU,MAAM;AACd,QAAIC,IAAmC;AAEnC,WAAAtB,IAAQ,KAAKG,EAAe,WAC9BM,EAAcT,CAAK,GACnBK,EAAqB,WAAW,GAChCiB,IAAY,WAAW,MAAM;AAC3B,MAAAd,EAAgBR,CAAK,GACrBK,EAAqB,QAAQ;AAAA,OAC5B,IAAI,KACE,CAACF,EAAe,WAAWH,KAAS,MAC7CQ,EAAgBR,CAAK,GACrBkB,EAAoBlB,CAAK,IAGpB,MAAM;AACP,MAAAsB,kBAAwBA,CAAS;AAAA,IACvC;AAAA,EACC,GAAA,CAACtB,GAAOS,GAAeS,CAAmB,CAAC,qBAG3CK,GAAQ,EAAA,gBAAe,OAAM,aAAY,UAAS,iBAAgB,UACjE,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAa,WAAU,MAAK,QAAO,YAAW,gBAAgBrB,GAC5D,UACHG,EAAA,CAAA;AAAA,sBAECmB,GAAmB,EAAA,KAAKzB,GAAiB,QAAQ,IAAI,SAAS,GAAI,CAAA;AAAA,EAAA,GACrE;AAEJ,GAEe0B,IAAAC,EAAK7B,CAAW;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radio-card-option-styled.js","sources":["../../../../../src/features/ui/radio-cards/radio-card-option/radio-card-option-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../layout/flex-view';\n\ninterface IRadioCardOptionWrapperProps {\n $width?: string | number;\n $widthX?: number;\n $selected?: boolean;\n}\n\nconst RadioCardOptionWrapper = styled.div<IRadioCardOptionWrapperProps>(\n ({ $width, $widthX, $selected, theme }) => {\n const { BLACK, GREY_2, WHITE } = theme.colors;\n const { gutter } = theme.layout;\n\n return `\n width: ${$width ?? 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * theme.layout.gutter}px;` : ''}\n padding: ${gutter}px;\n background-color: ${WHITE};\n border-radius: ${gutter * 0.5}px;\n\n border-width: 1px;\n border-color: ${$selected ? BLACK : GREY_2};\n border-style: solid;\n cursor: pointer;\n position: relative;\n \n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n height: 100%; // To keep it attached with Dummy border.\n `;\n },\n);\n\ninterface IDummyBorderProps {\n $selected?: boolean;\n}\n\nconst DummyBorder = styled.div<IDummyBorderProps>(({ $selected, theme }) => {\n return `\n border-radius: 9px;\n border-width: 1px;\n border-color: ${$selected ? theme.colors.BLACK : 'transparent'};\n border-style: solid;\n `;\n});\n\nconst RadioImageContainer = styled(FlexView)`\n width: 100%;\n`;\n\nconst ImageWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\ninterface IInputOptionCircleProps {\n $size: number;\n $innerCircle: boolean;\n}\n\nconst InputOptionCircle = styled.div<IInputOptionCircleProps>(({ theme, $size, $innerCircle }) => {\n const { BLACK, WHITE } = theme.colors;\n const { gutter } = theme.layout;\n\n return `\n position: relative;\n flex-shrink: 0;\n width: ${$size}px;\n height: ${$size}px;\n margin: ${gutter * 0.25}px;\n border-radius: ${$size / 2}px;\n background-color: ${$innerCircle ? BLACK : WHITE};\n border-color: ${BLACK};\n border-width: ${$innerCircle ? 0 : 2}px;\n border-style: solid;\n `;\n});\n\nconst InputOptionInnerCircle = styled.div`\n inset: 0;\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n`;\n\nexport {\n RadioCardOptionWrapper,\n RadioImageContainer,\n ImageWrapper,\n InputOptionCircle,\n InputOptionInnerCircle,\n DummyBorder,\n};\n"],"names":["RadioCardOptionWrapper","styled","$width","$widthX","$selected","theme","BLACK","GREY_2","WHITE","gutter","DummyBorder","RadioImageContainer","FlexView","ImageWrapper","InputOptionCircle","$size","$innerCircle","InputOptionInnerCircle"],"mappings":";;AAUA,MAAMA,IAAyBC,EAAO;AAAA,EACpC,CAAC,EAAE,QAAAC,GAAQ,SAAAC,GAAS,WAAAC,GAAW,OAAAC,QAAY;AACzC,UAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,OAAAC,
|
1
|
+
{"version":3,"file":"radio-card-option-styled.js","sources":["../../../../../src/features/ui/radio-cards/radio-card-option/radio-card-option-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../layout/flex-view';\n\ninterface IRadioCardOptionWrapperProps {\n $width?: string | number;\n $widthX?: number;\n $selected?: boolean;\n}\n\nconst RadioCardOptionWrapper = styled.div<IRadioCardOptionWrapperProps>(\n ({ $width, $widthX, $selected, theme }) => {\n const { BLACK, GREY_2, WHITE } = theme.colors;\n const { gutter } = theme.layout;\n\n return `\n width: ${$width ?? 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * theme.layout.gutter}px;` : ''}\n padding: ${gutter}px;\n background-color: ${WHITE};\n border-radius: ${gutter * 0.5}px;\n\n border-width: 1px;\n border-color: ${$selected ? BLACK : GREY_2};\n border-style: solid;\n cursor: pointer;\n position: relative;\n \n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n height: 100%; // To keep it attached with Dummy border.\n `;\n },\n);\n\ninterface IDummyBorderProps {\n $selected?: boolean;\n}\n\nconst DummyBorder = styled.div<IDummyBorderProps>(({ $selected, theme }) => {\n return `\n border-radius: 9px;\n border-width: 1px;\n border-color: ${$selected ? theme.colors.BLACK : 'transparent'};\n border-style: solid;\n `;\n});\n\nconst RadioImageContainer = styled(FlexView)`\n width: 100%;\n`;\n\nconst ImageWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\ninterface IInputOptionCircleProps {\n $size: number;\n $innerCircle: boolean;\n}\n\nconst InputOptionCircle = styled.div<IInputOptionCircleProps>(({ theme, $size, $innerCircle }) => {\n const { BLACK, WHITE } = theme.colors;\n const { gutter } = theme.layout;\n\n return `\n position: relative;\n flex-shrink: 0;\n width: ${$size}px;\n height: ${$size}px;\n margin: ${gutter * 0.25}px;\n border-radius: ${$size / 2}px;\n background-color: ${$innerCircle ? BLACK : WHITE};\n border-color: ${BLACK};\n border-width: ${$innerCircle ? 0 : 2}px;\n border-style: solid;\n `;\n});\n\nconst InputOptionInnerCircle = styled.div`\n inset: 0;\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n`;\n\nexport {\n RadioCardOptionWrapper,\n RadioImageContainer,\n ImageWrapper,\n InputOptionCircle,\n InputOptionInnerCircle,\n DummyBorder,\n};\n"],"names":["RadioCardOptionWrapper","styled","$width","$widthX","$selected","theme","BLACK","GREY_2","WHITE","gutter","DummyBorder","RadioImageContainer","FlexView","ImageWrapper","InputOptionCircle","$size","$innerCircle","InputOptionInnerCircle"],"mappings":";;AAUA,MAAMA,IAAyBC,EAAO;AAAA,EACpC,CAAC,EAAE,QAAAC,GAAQ,SAAAC,GAAS,WAAAC,GAAW,OAAAC,QAAY;AACzC,UAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,OAAAC,MAAUH,EAAM,QACjC,EAAE,QAAAI,MAAWJ,EAAM;AAElB,WAAA;AAAA,eACIH,KAAU,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAChEC,IAAU,UAAUA,IAAUE,EAAM,OAAO,MAAM,QAAQ,EAAE;AAAA,iBAClDI,CAAM;AAAA,0BACGD,CAAK;AAAA,uBACRC,IAAS,GAAG;AAAA;AAAA;AAAA,sBAGbL,IAAYE,IAAQC,CAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAWhD,GAMMG,IAAcT,EAAO,IAAuB,CAAC,EAAE,WAAAG,GAAW,OAAAC,QACvD;AAAA;AAAA;AAAA,oBAGWD,IAAYC,EAAM,OAAO,QAAQ,aAAa;AAAA;AAAA,GAGjE,GAEKM,IAAsBV,EAAOW,CAAQ;AAAA;AAAA,GAIrCC,IAAeZ,EAAO;AAAA;AAAA;AAAA;AAAA,GAWtBa,IAAoBb,EAAO,IAA6B,CAAC,EAAE,OAAAI,GAAO,OAAAU,GAAO,cAAAC,QAAmB;AAChG,QAAM,EAAE,OAAAV,GAAO,OAAAE,EAAM,IAAIH,EAAM,QACzB,EAAE,QAAAI,MAAWJ,EAAM;AAElB,SAAA;AAAA;AAAA;AAAA,aAGIU,CAAK;AAAA,cACJA,CAAK;AAAA,cACLN,IAAS,IAAI;AAAA,qBACNM,IAAQ,CAAC;AAAA,wBACNC,IAAeV,IAAQE,CAAK;AAAA,oBAChCF,CAAK;AAAA,oBACLU,IAAe,IAAI,CAAC;AAAA;AAAA;AAGxC,CAAC,GAEKC,IAAyBhB,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radio-card-option.js","sources":["../../../../../src/features/ui/radio-cards/radio-card-option/radio-card-option.tsx"],"sourcesContent":["import type { IRadioCardOptionProps } from './radio-card-option-types';\n\nimport { useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport useResponseHandler from '../../hooks/use-response-handler';\nimport FlexView from '../../layout/flex-view';\nimport Text from '../../text/text';\nimport * as Styled from './radio-card-option-styled';\n\nconst RadioCardOption = <IDTypes extends string | number>({\n id,\n title,\n description,\n checked,\n Icon,\n onChange,\n width,\n widthX,\n analyticsLabel,\n analyticsProps,\n horizontalCard,\n}: IRadioCardOptionProps<IDTypes>) => {\n const theme = useTheme();\n const { gutter } = theme.layout;\n\n const handleTracking = useResponseHandler({ analyticsLabel, analyticsProps });\n\n const handleOnCardClick = useCallback(() => {\n if (typeof onChange !== 'function') {\n throw new Error('onChange must be a function');\n }\n\n if (!checked) {\n onChange(id);\n handleTracking(id);\n }\n }, [checked, handleTracking, id, onChange]);\n\n return (\n <Styled.DummyBorder $selected={checked}>\n <Styled.RadioCardOptionWrapper\n $width={width}\n $widthX={widthX}\n $selected={checked}\n onClick={handleOnCardClick}\n >\n <Styled.RadioImageContainer\n $flexDirection={horizontalCard ? 'row' : 'column'}\n $alignItems=\"flex-start\"\n $flexGap={horizontalCard ? 0 : 16}\n >\n <Styled.ImageWrapper>{Icon}</Styled.ImageWrapper>\n\n <FlexView $gutter={horizontalCard ? 16 : 0} $flexGapX={0.25}>\n <Text $renderAs=\"h6\">{title}</Text>\n {description && (\n <Text $renderAs=\"body2\" $color=\"BLACK_75\">\n {description}\n </Text>\n )}\n </FlexView>\n </Styled.RadioImageContainer>\n <Styled.InputOptionCircle $size={gutter} $innerCircle={false}>\n {checked && (\n <Styled.InputOptionInnerCircle>\n <Styled.InputOptionCircle $size={gutter * 0.5} $innerCircle={true} />\n </Styled.InputOptionInnerCircle>\n )}\n </Styled.InputOptionCircle>\n </Styled.RadioCardOptionWrapper>\n </Styled.DummyBorder>\n );\n};\n\nexport default RadioCardOption;\n"],"names":["RadioCardOption","id","title","description","checked","Icon","onChange","width","widthX","analyticsLabel","analyticsProps","horizontalCard","theme","useTheme","gutter","handleTracking","useResponseHandler","handleOnCardClick","useCallback","jsx","Styled.DummyBorder","jsxs","Styled.RadioCardOptionWrapper","Styled.RadioImageContainer","Styled.ImageWrapper","FlexView","Text","Styled.InputOptionCircle","Styled.InputOptionInnerCircle"],"mappings":";;;;;;;AAUA,MAAMA,IAAkB,CAAkC;AAAA,EACxD,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AACF,MAAsC;AACpC,QAAMC,IAAQC,
|
1
|
+
{"version":3,"file":"radio-card-option.js","sources":["../../../../../src/features/ui/radio-cards/radio-card-option/radio-card-option.tsx"],"sourcesContent":["import type { IRadioCardOptionProps } from './radio-card-option-types';\n\nimport { useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport useResponseHandler from '../../hooks/use-response-handler';\nimport FlexView from '../../layout/flex-view';\nimport Text from '../../text/text';\nimport * as Styled from './radio-card-option-styled';\n\nconst RadioCardOption = <IDTypes extends string | number>({\n id,\n title,\n description,\n checked,\n Icon,\n onChange,\n width,\n widthX,\n analyticsLabel,\n analyticsProps,\n horizontalCard,\n}: IRadioCardOptionProps<IDTypes>) => {\n const theme = useTheme();\n const { gutter } = theme.layout;\n\n const handleTracking = useResponseHandler({ analyticsLabel, analyticsProps });\n\n const handleOnCardClick = useCallback(() => {\n if (typeof onChange !== 'function') {\n throw new Error('onChange must be a function');\n }\n\n if (!checked) {\n onChange(id);\n handleTracking(id);\n }\n }, [checked, handleTracking, id, onChange]);\n\n return (\n <Styled.DummyBorder $selected={checked}>\n <Styled.RadioCardOptionWrapper\n $width={width}\n $widthX={widthX}\n $selected={checked}\n onClick={handleOnCardClick}\n >\n <Styled.RadioImageContainer\n $flexDirection={horizontalCard ? 'row' : 'column'}\n $alignItems=\"flex-start\"\n $flexGap={horizontalCard ? 0 : 16}\n >\n <Styled.ImageWrapper>{Icon}</Styled.ImageWrapper>\n\n <FlexView $gutter={horizontalCard ? 16 : 0} $flexGapX={0.25}>\n <Text $renderAs=\"h6\">{title}</Text>\n {description && (\n <Text $renderAs=\"body2\" $color=\"BLACK_75\">\n {description}\n </Text>\n )}\n </FlexView>\n </Styled.RadioImageContainer>\n <Styled.InputOptionCircle $size={gutter} $innerCircle={false}>\n {checked && (\n <Styled.InputOptionInnerCircle>\n <Styled.InputOptionCircle $size={gutter * 0.5} $innerCircle={true} />\n </Styled.InputOptionInnerCircle>\n )}\n </Styled.InputOptionCircle>\n </Styled.RadioCardOptionWrapper>\n </Styled.DummyBorder>\n );\n};\n\nexport default RadioCardOption;\n"],"names":["RadioCardOption","id","title","description","checked","Icon","onChange","width","widthX","analyticsLabel","analyticsProps","horizontalCard","theme","useTheme","gutter","handleTracking","useResponseHandler","handleOnCardClick","useCallback","jsx","Styled.DummyBorder","jsxs","Styled.RadioCardOptionWrapper","Styled.RadioImageContainer","Styled.ImageWrapper","FlexView","Text","Styled.InputOptionCircle","Styled.InputOptionInnerCircle"],"mappings":";;;;;;;AAUA,MAAMA,IAAkB,CAAkC;AAAA,EACxD,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AACF,MAAsC;AACpC,QAAMC,IAAQC,EAAS,GACjB,EAAE,QAAAC,MAAWF,EAAM,QAEnBG,IAAiBC,EAAmB,EAAE,gBAAAP,GAAgB,gBAAAC,GAAgB,GAEtEO,IAAoBC,EAAY,MAAM;AACtC,QAAA,OAAOZ,KAAa;AAChB,YAAA,IAAI,MAAM,6BAA6B;AAG/C,IAAKF,MACHE,EAASL,CAAE,GACXc,EAAed,CAAE;AAAA,KAElB,CAACG,GAASW,GAAgBd,GAAIK,CAAQ,CAAC;AAE1C,SACG,gBAAAa,EAAAC,GAAA,EAAmB,WAAWhB,GAC7B,UAAA,gBAAAiB;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,QAAQf;AAAA,MACR,SAASC;AAAA,MACT,WAAWJ;AAAA,MACX,SAASa;AAAA,MAET,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,gBAAgBZ,IAAiB,QAAQ;AAAA,YACzC,aAAY;AAAA,YACZ,UAAUA,IAAiB,IAAI;AAAA,YAE/B,UAAA;AAAA,cAAC,gBAAAQ,EAAAK,GAAA,EAAqB,UAAKnB,EAAA,CAAA;AAAA,gCAE1BoB,GAAS,EAAA,SAASd,IAAiB,KAAK,GAAG,WAAW,MACrD,UAAA;AAAA,gBAAC,gBAAAQ,EAAAO,GAAA,EAAK,WAAU,MAAM,UAAMxB,GAAA;AAAA,gBAC3BC,KACE,gBAAAgB,EAAAO,GAAA,EAAK,WAAU,SAAQ,QAAO,YAC5B,UACHvB,EAAA,CAAA;AAAA,cAAA,EAEJ,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,QACA,gBAAAgB,EAACQ,GAAA,EAAyB,OAAOb,GAAQ,cAAc,IACpD,UAAAV,KACE,gBAAAe,EAAAS,GAAA,EACC,UAAA,gBAAAT,EAACQ,GAAA,EAAyB,OAAOb,IAAS,KAAK,cAAc,IAAM,EAAA,CACrE,EAEJ,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;"}
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
2
2
|
import x from "../layout/flex-view.js";
|
3
3
|
import u from "./radio-card-option/radio-card-option.js";
|
4
|
-
const
|
5
|
-
options:
|
4
|
+
const C = ({
|
5
|
+
options: o,
|
6
6
|
value: t,
|
7
7
|
width: i,
|
8
8
|
widthX: a,
|
9
9
|
onChange: d,
|
10
10
|
analyticsLabel: n,
|
11
|
-
analyticsProps:
|
12
|
-
horizontalCard:
|
13
|
-
}) => /* @__PURE__ */
|
14
|
-
const { title:
|
15
|
-
return /* @__PURE__ */
|
11
|
+
analyticsProps: p,
|
12
|
+
horizontalCard: c
|
13
|
+
}) => /* @__PURE__ */ e(x, { $flexWrap: !0, $flexDirection: "row", $flexGapX: 1, children: o.map((f) => {
|
14
|
+
const { title: l, Icon: m, description: s, id: r } = f;
|
15
|
+
return /* @__PURE__ */ e(
|
16
16
|
u,
|
17
17
|
{
|
18
|
-
title:
|
19
|
-
description:
|
18
|
+
title: l,
|
19
|
+
description: s,
|
20
20
|
checked: t === r,
|
21
|
-
Icon:
|
21
|
+
Icon: m,
|
22
22
|
id: r,
|
23
23
|
onChange: d,
|
24
24
|
width: i,
|
25
25
|
widthX: a,
|
26
26
|
analyticsLabel: n,
|
27
|
-
analyticsProps:
|
28
|
-
horizontalCard:
|
27
|
+
analyticsProps: p,
|
28
|
+
horizontalCard: c
|
29
29
|
},
|
30
30
|
r
|
31
31
|
);
|
32
|
-
}) })
|
32
|
+
}) });
|
33
33
|
export {
|
34
|
-
|
34
|
+
C as default
|
35
35
|
};
|
36
36
|
//# sourceMappingURL=radio-cards.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radio-cards.js","sources":["../../../../src/features/ui/radio-cards/radio-cards.tsx"],"sourcesContent":["import type { IRadioCardListProps } from './radio-cards-types';\n\nimport FlexView from '../layout/flex-view';\nimport RadioCardOption from './radio-card-option/radio-card-option';\n\nconst RadioCards = <IDType extends string | number>({\n options,\n value,\n width,\n widthX,\n onChange,\n analyticsLabel,\n analyticsProps,\n horizontalCard,\n}: IRadioCardListProps<IDType>) => {\n return (\n <FlexView $flexWrap $flexDirection=\"row\" $flexGapX={1}>\n {options.map(option => {\n const { title, Icon, description, id } = option;\n\n return (\n <RadioCardOption<IDType>\n key={id}\n title={title}\n description={description}\n checked={value === id}\n Icon={Icon}\n id={id}\n onChange={onChange}\n width={width}\n widthX={widthX}\n analyticsLabel={analyticsLabel}\n analyticsProps={analyticsProps}\n horizontalCard={horizontalCard}\n />\n );\n })}\n </FlexView>\n );\n};\n\nexport default RadioCards;\n"],"names":["RadioCards","options","value","width","widthX","onChange","analyticsLabel","analyticsProps","horizontalCard","jsx","FlexView","option","title","Icon","description","id","RadioCardOption"
|
1
|
+
{"version":3,"file":"radio-cards.js","sources":["../../../../src/features/ui/radio-cards/radio-cards.tsx"],"sourcesContent":["import type { IRadioCardListProps } from './radio-cards-types';\n\nimport FlexView from '../layout/flex-view';\nimport RadioCardOption from './radio-card-option/radio-card-option';\n\nconst RadioCards = <IDType extends string | number>({\n options,\n value,\n width,\n widthX,\n onChange,\n analyticsLabel,\n analyticsProps,\n horizontalCard,\n}: IRadioCardListProps<IDType>) => {\n return (\n <FlexView $flexWrap $flexDirection=\"row\" $flexGapX={1}>\n {options.map(option => {\n const { title, Icon, description, id } = option;\n\n return (\n <RadioCardOption<IDType>\n key={id}\n title={title}\n description={description}\n checked={value === id}\n Icon={Icon}\n id={id}\n onChange={onChange}\n width={width}\n widthX={widthX}\n analyticsLabel={analyticsLabel}\n analyticsProps={analyticsProps}\n horizontalCard={horizontalCard}\n />\n );\n })}\n </FlexView>\n );\n};\n\nexport default RadioCards;\n"],"names":["RadioCards","options","value","width","widthX","onChange","analyticsLabel","analyticsProps","horizontalCard","jsx","FlexView","option","title","Icon","description","id","RadioCardOption"],"mappings":";;;AAKA,MAAMA,IAAa,CAAiC;AAAA,EAClD,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AACF,MAEI,gBAAAC,EAACC,GAAS,EAAA,WAAS,IAAC,gBAAe,OAAM,WAAW,GACjD,UAAQT,EAAA,IAAI,CAAUU,MAAA;AACrB,QAAM,EAAE,OAAAC,GAAO,MAAAC,GAAM,aAAAC,GAAa,IAAAC,EAAO,IAAAJ;AAGvC,SAAA,gBAAAF;AAAA,IAACO;AAAA,IAAA;AAAA,MAEC,OAAAJ;AAAA,MACA,aAAAE;AAAA,MACA,SAASZ,MAAUa;AAAA,MACnB,MAAAF;AAAA,MACA,IAAAE;AAAA,MACA,UAAAV;AAAA,MACA,OAAAF;AAAA,MACA,QAAAC;AAAA,MACA,gBAAAE;AAAA,MACA,gBAAAC;AAAA,MACA,gBAAAC;AAAA,IAAA;AAAA,IAXKO;AAAA,EAYP;AAEH,CAAA,GACH;"}
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { jsx as t, Fragment as p, jsxs as $ } from "react/jsx-runtime";
|
2
|
-
import { memo as f, Fragment as
|
2
|
+
import { memo as f, Fragment as m } from "react";
|
3
3
|
import h from "../layout/flex-view.js";
|
4
|
-
const u = (
|
5
|
-
const { data:
|
6
|
-
return /* @__PURE__ */ t(p, { children:
|
4
|
+
const u = (c) => {
|
5
|
+
const { data: d, renderSectionHeader: n, renderItem: i, keyExtractor: o } = c;
|
6
|
+
return /* @__PURE__ */ t(p, { children: d.map((r, s) => /* @__PURE__ */ $(h, { children: [
|
7
7
|
n && n(r),
|
8
|
-
/* @__PURE__ */ t(
|
8
|
+
/* @__PURE__ */ t(m, { children: r.data.map((e, a) => {
|
9
9
|
const l = o ? o(e, a) : `${e}_${a}`;
|
10
|
-
return /* @__PURE__ */ t(
|
10
|
+
return /* @__PURE__ */ t(m, { children: i(e) }, l);
|
11
11
|
}) })
|
12
|
-
] }, `${r.title}_${
|
13
|
-
},
|
12
|
+
] }, `${r.title}_${s}`)) });
|
13
|
+
}, S = f(u);
|
14
14
|
export {
|
15
|
-
|
15
|
+
S as default
|
16
16
|
};
|
17
17
|
//# sourceMappingURL=section-list.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"section-list.js","sources":["../../../../src/features/ui/section-list/section-list.tsx"],"sourcesContent":["import type { ISectionList, TDefaultSection } from './section-list-types';\n\nimport { Fragment, memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst SectionListComponent = <Section extends string | number | TDefaultSection>(\n props: ISectionList<Section>,\n): JSX.Element => {\n const { data, renderSectionHeader, renderItem, keyExtractor } = props;\n\n return (\n <>\n {data.map((section, idx) => {\n return (\n <FlexView key={`${section.title}_${idx}`}>\n {renderSectionHeader && renderSectionHeader(section)}\n\n <Fragment>\n {section.data.map((item, itemIdx) => {\n const key = keyExtractor ? keyExtractor(item, itemIdx) : `${item}_${itemIdx}`;\n\n return <Fragment key={key}>{renderItem(item)}</Fragment>;\n })}\n </Fragment>\n </FlexView>\n );\n })}\n </>\n );\n};\n\nconst SelectionList = memo(SectionListComponent) as <\n Section extends string | number | TDefaultSection,\n>(\n props: ISectionList<Section>,\n) => JSX.Element;\n\nexport default SelectionList;\n"],"names":["SectionListComponent","props","data","renderSectionHeader","renderItem","keyExtractor","jsx","Fragment","section","idx","FlexView","item","itemIdx","key","SelectionList","memo"
|
1
|
+
{"version":3,"file":"section-list.js","sources":["../../../../src/features/ui/section-list/section-list.tsx"],"sourcesContent":["import type { ISectionList, TDefaultSection } from './section-list-types';\n\nimport { Fragment, memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst SectionListComponent = <Section extends string | number | TDefaultSection>(\n props: ISectionList<Section>,\n): JSX.Element => {\n const { data, renderSectionHeader, renderItem, keyExtractor } = props;\n\n return (\n <>\n {data.map((section, idx) => {\n return (\n <FlexView key={`${section.title}_${idx}`}>\n {renderSectionHeader && renderSectionHeader(section)}\n\n <Fragment>\n {section.data.map((item, itemIdx) => {\n const key = keyExtractor ? keyExtractor(item, itemIdx) : `${item}_${itemIdx}`;\n\n return <Fragment key={key}>{renderItem(item)}</Fragment>;\n })}\n </Fragment>\n </FlexView>\n );\n })}\n </>\n );\n};\n\nconst SelectionList = memo(SectionListComponent) as <\n Section extends string | number | TDefaultSection,\n>(\n props: ISectionList<Section>,\n) => JSX.Element;\n\nexport default SelectionList;\n"],"names":["SectionListComponent","props","data","renderSectionHeader","renderItem","keyExtractor","jsx","Fragment","section","idx","FlexView","item","itemIdx","key","SelectionList","memo"],"mappings":";;;AAMA,MAAMA,IAAuB,CAC3BC,MACgB;AAChB,QAAM,EAAE,MAAAC,GAAM,qBAAAC,GAAqB,YAAAC,GAAY,cAAAC,EAAiB,IAAAJ;AAEhE,SAEK,gBAAAK,EAAAC,GAAA,EAAA,UAAAL,EAAK,IAAI,CAACM,GAASC,wBAEfC,GACE,EAAA,UAAA;AAAA,IAAAP,KAAuBA,EAAoBK,CAAO;AAAA,IAEnD,gBAAAF,EAACC,GAAA,EACE,UAAAC,EAAQ,KAAK,IAAI,CAACG,GAAMC,MAAY;AAC7B,YAAAC,IAAMR,IAAeA,EAAaM,GAAMC,CAAO,IAAI,GAAGD,CAAI,IAAIC,CAAO;AAE3E,+BAAQL,GAAA,EAAoB,UAAWH,EAAAO,CAAI,KAArBE,CAAuB;AAAA,IAAA,CAC9C,EACH,CAAA;AAAA,EAAA,EAAA,GATa,GAAGL,EAAQ,KAAK,IAAIC,CAAG,EAUtC,CAEH,GACH;AAEJ,GAEMK,IAAgBC,EAAKf,CAAoB;"}
|
package/dist/features/ui/selection-cards/selection-card-option/selection-card-option-styled.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"selection-card-option-styled.js","sources":["../../../../../src/features/ui/selection-cards/selection-card-option/selection-card-option-styled.tsx"],"sourcesContent":["import type { TColorNames } from '../../types';\n\nimport styled from 'styled-components';\n\ninterface ISelectionCardOptionWrapperProps {\n $width?: string | number;\n $widthX?: number;\n $selected?: boolean;\n $background?: TColorNames;\n $selectedBackground?: TColorNames;\n}\n\nconst SelectionCardOptionWrapper = styled.div<ISelectionCardOptionWrapperProps>(\n ({ $selected, theme, $background = 'WHITE', $selectedBackground = 'WHITE', $width }) => {\n const { BLACK_T_87, WHITE_5 } = theme.colors;\n\n return `\n background-color: ${$selected ? $selectedBackground : $background};\n border-width: 1px;\n border-color: ${$selected ? BLACK_T_87 : WHITE_5};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n border-style: solid;\n cursor: pointer;\n position: relative;\n `;\n },\n);\n\nexport { SelectionCardOptionWrapper };\n"],"names":["SelectionCardOptionWrapper","styled","$selected","theme","$background","$selectedBackground","$width","BLACK_T_87","WHITE_5"],"mappings":";AAYA,MAAMA,IAA6BC,EAAO;AAAA,EACxC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,IAAc,SAAS,qBAAAC,IAAsB,SAAS,QAAAC,QAAa;AACtF,UAAM,EAAE,YAAAC,GAAY,SAAAC,
|
1
|
+
{"version":3,"file":"selection-card-option-styled.js","sources":["../../../../../src/features/ui/selection-cards/selection-card-option/selection-card-option-styled.tsx"],"sourcesContent":["import type { TColorNames } from '../../types';\n\nimport styled from 'styled-components';\n\ninterface ISelectionCardOptionWrapperProps {\n $width?: string | number;\n $widthX?: number;\n $selected?: boolean;\n $background?: TColorNames;\n $selectedBackground?: TColorNames;\n}\n\nconst SelectionCardOptionWrapper = styled.div<ISelectionCardOptionWrapperProps>(\n ({ $selected, theme, $background = 'WHITE', $selectedBackground = 'WHITE', $width }) => {\n const { BLACK_T_87, WHITE_5 } = theme.colors;\n\n return `\n background-color: ${$selected ? $selectedBackground : $background};\n border-width: 1px;\n border-color: ${$selected ? BLACK_T_87 : WHITE_5};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n border-style: solid;\n cursor: pointer;\n position: relative;\n `;\n },\n);\n\nexport { SelectionCardOptionWrapper };\n"],"names":["SelectionCardOptionWrapper","styled","$selected","theme","$background","$selectedBackground","$width","BLACK_T_87","WHITE_5"],"mappings":";AAYA,MAAMA,IAA6BC,EAAO;AAAA,EACxC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,IAAc,SAAS,qBAAAC,IAAsB,SAAS,QAAAC,QAAa;AACtF,UAAM,EAAE,YAAAC,GAAY,SAAAC,EAAQ,IAAIL,EAAM;AAE/B,WAAA;AAAA,0BACeD,IAAYG,IAAsBD,CAAW;AAAA;AAAA,sBAEjDF,IAAYK,IAAaC,CAAO;AAAA,eACvCF,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMrF;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"selection-card-option.js","sources":["../../../../../src/features/ui/selection-cards/selection-card-option/selection-card-option.tsx"],"sourcesContent":["import type { ISelectionCardOptionProps } from './selection-card-types';\n\nimport { useCallback } from 'react';\n\nimport useResponseHandler from '../../hooks/use-response-handler';\nimport * as Styled from './selection-card-option-styled';\n\nconst SelectionCardOption = <IDTypes extends string | number>({\n id,\n children,\n checked,\n onChange,\n analyticsLabel,\n analyticsProps,\n type,\n $background,\n $selectedBackground,\n $cardWidth,\n}: ISelectionCardOptionProps<IDTypes>) => {\n const handleTracking = useResponseHandler({ analyticsLabel, analyticsProps });\n\n const handleOnCardClick = useCallback(() => {\n if (typeof onChange !== 'function') {\n throw new Error('onChange must be a function');\n }\n\n if (type === 'radio' && !checked) {\n onChange(id);\n handleTracking(id);\n }\n\n if (type === 'checkbox') {\n onChange(id);\n handleTracking(id);\n }\n }, [checked, handleTracking, type, id, onChange]);\n\n return (\n <Styled.SelectionCardOptionWrapper\n $selectedBackground={$selectedBackground}\n $background={$background}\n $selected={checked}\n onClick={handleOnCardClick}\n $width={$cardWidth}\n >\n {children}\n </Styled.SelectionCardOptionWrapper>\n );\n};\n\nexport default SelectionCardOption;\n"],"names":["SelectionCardOption","id","children","checked","onChange","analyticsLabel","analyticsProps","type","$background","$selectedBackground","$cardWidth","handleTracking","useResponseHandler","handleOnCardClick","useCallback","jsx","Styled.SelectionCardOptionWrapper"],"mappings":";;;;AAOA,MAAMA,IAAsB,CAAkC;AAAA,EAC5D,IAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,YAAAC;AACF,MAA0C;AACxC,QAAMC,IAAiBC,EAAmB,EAAE,gBAAAP,GAAgB,gBAAAC,
|
1
|
+
{"version":3,"file":"selection-card-option.js","sources":["../../../../../src/features/ui/selection-cards/selection-card-option/selection-card-option.tsx"],"sourcesContent":["import type { ISelectionCardOptionProps } from './selection-card-types';\n\nimport { useCallback } from 'react';\n\nimport useResponseHandler from '../../hooks/use-response-handler';\nimport * as Styled from './selection-card-option-styled';\n\nconst SelectionCardOption = <IDTypes extends string | number>({\n id,\n children,\n checked,\n onChange,\n analyticsLabel,\n analyticsProps,\n type,\n $background,\n $selectedBackground,\n $cardWidth,\n}: ISelectionCardOptionProps<IDTypes>) => {\n const handleTracking = useResponseHandler({ analyticsLabel, analyticsProps });\n\n const handleOnCardClick = useCallback(() => {\n if (typeof onChange !== 'function') {\n throw new Error('onChange must be a function');\n }\n\n if (type === 'radio' && !checked) {\n onChange(id);\n handleTracking(id);\n }\n\n if (type === 'checkbox') {\n onChange(id);\n handleTracking(id);\n }\n }, [checked, handleTracking, type, id, onChange]);\n\n return (\n <Styled.SelectionCardOptionWrapper\n $selectedBackground={$selectedBackground}\n $background={$background}\n $selected={checked}\n onClick={handleOnCardClick}\n $width={$cardWidth}\n >\n {children}\n </Styled.SelectionCardOptionWrapper>\n );\n};\n\nexport default SelectionCardOption;\n"],"names":["SelectionCardOption","id","children","checked","onChange","analyticsLabel","analyticsProps","type","$background","$selectedBackground","$cardWidth","handleTracking","useResponseHandler","handleOnCardClick","useCallback","jsx","Styled.SelectionCardOptionWrapper"],"mappings":";;;;AAOA,MAAMA,IAAsB,CAAkC;AAAA,EAC5D,IAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,YAAAC;AACF,MAA0C;AACxC,QAAMC,IAAiBC,EAAmB,EAAE,gBAAAP,GAAgB,gBAAAC,GAAgB,GAEtEO,IAAoBC,EAAY,MAAM;AACtC,QAAA,OAAOV,KAAa;AAChB,YAAA,IAAI,MAAM,6BAA6B;AAG3C,IAAAG,MAAS,WAAW,CAACJ,MACvBC,EAASH,CAAE,GACXU,EAAeV,CAAE,IAGfM,MAAS,eACXH,EAASH,CAAE,GACXU,EAAeV,CAAE;AAAA,EACnB,GACC,CAACE,GAASQ,GAAgBJ,GAAMN,GAAIG,CAAQ,CAAC;AAG9C,SAAA,gBAAAW;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,qBAAAP;AAAA,MACA,aAAAD;AAAA,MACA,WAAWL;AAAA,MACX,SAASU;AAAA,MACT,QAAQH;AAAA,MAEP,UAAAR;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import { jsx as n, Fragment as
|
2
|
-
import
|
3
|
-
const
|
1
|
+
import { jsx as n, Fragment as C } from "react/jsx-runtime";
|
2
|
+
import S from "./selection-card-option/selection-card-option.js";
|
3
|
+
const j = ({
|
4
4
|
options: t,
|
5
|
-
value:
|
5
|
+
value: i,
|
6
6
|
values: o,
|
7
|
-
onChange:
|
7
|
+
onChange: c,
|
8
8
|
analyticsLabel: d,
|
9
9
|
analyticsProps: m,
|
10
10
|
type: e,
|
11
11
|
$background: l,
|
12
|
-
$selectedBackground:
|
13
|
-
$cardWidth:
|
14
|
-
}) => /* @__PURE__ */ n(
|
15
|
-
const { children:
|
16
|
-
return
|
17
|
-
|
12
|
+
$selectedBackground: a,
|
13
|
+
$cardWidth: f
|
14
|
+
}) => /* @__PURE__ */ n(C, { children: t.map((h) => {
|
15
|
+
const { children: p, id: r, visible: s } = h, k = e === "radio" ? i === r : o == null ? void 0 : o.some((x) => x === r);
|
16
|
+
return s ? /* @__PURE__ */ n(
|
17
|
+
S,
|
18
18
|
{
|
19
|
-
checked: !!
|
20
|
-
children:
|
19
|
+
checked: !!k,
|
20
|
+
children: p,
|
21
21
|
id: r,
|
22
|
-
onChange:
|
22
|
+
onChange: c,
|
23
23
|
analyticsLabel: d,
|
24
24
|
analyticsProps: m,
|
25
25
|
type: e,
|
26
26
|
$background: l,
|
27
|
-
$selectedBackground:
|
28
|
-
$cardWidth:
|
27
|
+
$selectedBackground: a,
|
28
|
+
$cardWidth: f
|
29
29
|
},
|
30
30
|
r
|
31
31
|
) : null;
|
32
|
-
}) })
|
32
|
+
}) });
|
33
33
|
export {
|
34
|
-
|
34
|
+
j as default
|
35
35
|
};
|
36
36
|
//# sourceMappingURL=selection-cards.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"selection-cards.js","sources":["../../../../src/features/ui/selection-cards/selection-cards.tsx"],"sourcesContent":["import type { ISelectionCardListProps } from './selection-cards-types';\n\nimport SelectionCardOption from './selection-card-option/selection-card-option';\n\nconst SelectionCards = <IDType extends string | number>({\n options,\n value,\n values,\n onChange,\n analyticsLabel,\n analyticsProps,\n type,\n $background,\n $selectedBackground,\n $cardWidth,\n}: ISelectionCardListProps<IDType>) => {\n return (\n <>\n {options.map(option => {\n const { children, id, visible } = option;\n\n const checked = type === 'radio' ? value === id : values?.some(val => val === id);\n\n if (!visible) return null;\n\n return (\n <SelectionCardOption<IDType>\n key={id}\n checked={Boolean(checked)}\n children={children}\n id={id}\n onChange={onChange}\n analyticsLabel={analyticsLabel}\n analyticsProps={analyticsProps}\n type={type}\n $background={$background}\n $selectedBackground={$selectedBackground}\n $cardWidth={$cardWidth}\n />\n );\n })}\n </>\n );\n};\n\nexport default SelectionCards;\n"],"names":["SelectionCards","options","value","values","onChange","analyticsLabel","analyticsProps","type","$background","$selectedBackground","$cardWidth","jsx","Fragment","option","children","id","visible","checked","val","SelectionCardOption"
|
1
|
+
{"version":3,"file":"selection-cards.js","sources":["../../../../src/features/ui/selection-cards/selection-cards.tsx"],"sourcesContent":["import type { ISelectionCardListProps } from './selection-cards-types';\n\nimport SelectionCardOption from './selection-card-option/selection-card-option';\n\nconst SelectionCards = <IDType extends string | number>({\n options,\n value,\n values,\n onChange,\n analyticsLabel,\n analyticsProps,\n type,\n $background,\n $selectedBackground,\n $cardWidth,\n}: ISelectionCardListProps<IDType>) => {\n return (\n <>\n {options.map(option => {\n const { children, id, visible } = option;\n\n const checked = type === 'radio' ? value === id : values?.some(val => val === id);\n\n if (!visible) return null;\n\n return (\n <SelectionCardOption<IDType>\n key={id}\n checked={Boolean(checked)}\n children={children}\n id={id}\n onChange={onChange}\n analyticsLabel={analyticsLabel}\n analyticsProps={analyticsProps}\n type={type}\n $background={$background}\n $selectedBackground={$selectedBackground}\n $cardWidth={$cardWidth}\n />\n );\n })}\n </>\n );\n};\n\nexport default SelectionCards;\n"],"names":["SelectionCards","options","value","values","onChange","analyticsLabel","analyticsProps","type","$background","$selectedBackground","$cardWidth","jsx","Fragment","option","children","id","visible","checked","val","SelectionCardOption"],"mappings":";;AAIA,MAAMA,IAAiB,CAAiC;AAAA,EACtD,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,YAAAC;AACF,MAEI,gBAAAC,EAAAC,GAAA,EACG,UAAQX,EAAA,IAAI,CAAUY,MAAA;AACrB,QAAM,EAAE,UAAAC,GAAU,IAAAC,GAAI,SAAAC,EAAY,IAAAH,GAE5BI,IAAUV,MAAS,UAAUL,MAAUa,IAAKZ,KAAA,gBAAAA,EAAQ,KAAK,CAAOe,MAAAA,MAAQH;AAE1E,SAACC,IAGH,gBAAAL;AAAA,IAACQ;AAAA,IAAA;AAAA,MAEC,SAAS,EAAQF;AAAA,MACjB,UAAAH;AAAA,MACA,IAAAC;AAAA,MACA,UAAAX;AAAA,MACA,gBAAAC;AAAA,MACA,gBAAAC;AAAA,MACA,MAAAC;AAAA,MACA,aAAAC;AAAA,MACA,qBAAAC;AAAA,MACA,YAAAC;AAAA,IAAA;AAAA,IAVKK;AAAA,EAWP,IAfmB;AAiBtB,CAAA,GACH;"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
2
|
-
import { memo as
|
3
|
-
import
|
4
|
-
const
|
2
|
+
import { memo as m } from "react";
|
3
|
+
import a from "../layout/flex-view.js";
|
4
|
+
const p = m((t) => {
|
5
5
|
const { width: o, height: r = 1, heightX: e, background: h } = t;
|
6
|
-
return /* @__PURE__ */ i(
|
7
|
-
})
|
6
|
+
return /* @__PURE__ */ i(a, { $width: o, $height: r, $heightX: e, $background: h });
|
7
|
+
});
|
8
8
|
export {
|
9
|
-
|
9
|
+
p as default
|
10
10
|
};
|
11
11
|
//# sourceMappingURL=separator.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"separator.js","sources":["../../../../src/features/ui/separator/separator.tsx"],"sourcesContent":["import type { ISeparatorProps } from './separator-types';\n\nimport React, { memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst Separator: React.FC<ISeparatorProps> = memo(props => {\n const { width, height = 1, heightX, background } = props;\n\n return <FlexView $width={width} $height={height} $heightX={heightX} $background={background} />;\n});\n\nexport default Separator;\n"],"names":["Separator","memo","props","width","height","heightX","background","jsx","FlexView"
|
1
|
+
{"version":3,"file":"separator.js","sources":["../../../../src/features/ui/separator/separator.tsx"],"sourcesContent":["import type { ISeparatorProps } from './separator-types';\n\nimport React, { memo } from 'react';\n\nimport FlexView from '../layout/flex-view';\n\nconst Separator: React.FC<ISeparatorProps> = memo(props => {\n const { width, height = 1, heightX, background } = props;\n\n return <FlexView $width={width} $height={height} $heightX={heightX} $background={background} />;\n});\n\nexport default Separator;\n"],"names":["Separator","memo","props","width","height","heightX","background","jsx","FlexView"],"mappings":";;;AAMM,MAAAA,IAAuCC,EAAK,CAASC,MAAA;AACzD,QAAM,EAAE,OAAAC,GAAO,QAAAC,IAAS,GAAG,SAAAC,GAAS,YAAAC,MAAeJ;AAE5C,SAAA,gBAAAK,EAACC,KAAS,QAAQL,GAAO,SAASC,GAAQ,UAAUC,GAAS,aAAaC,EAAY,CAAA;AAC/F,CAAC;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stepper-styled.js","sources":["../../../../src/features/ui/stepper/stepper-styled.tsx"],"sourcesContent":["import type { IHorizontallineProps, INumberWrapperProps } from './stepper-types';\n\nimport styled from 'styled-components';\n\nimport FlexView from '../layout/flex-view';\nimport Text from '../text/text';\nimport { getTheme } from '../theme/get-theme';\n\nconst { colors, layout } = getTheme();\nconst { gutter } = layout;\n\nconst MainWrapper = styled(FlexView)`\n position: relative;\n`;\n\nconst NumberWrapper = styled(FlexView)<INumberWrapperProps>(\n ({ $stepNumber, $currentStep }) => `\n border-radius: ${gutter * 0.625}px;\n background:${\n $stepNumber < $currentStep\n ? colors.GREEN_3\n : $stepNumber === $currentStep\n ? colors.BLACK\n : colors.GREY_3\n };\n margin:0 ${gutter * 0.25}px;\n`,\n);\n\nconst Wrapper = styled(FlexView)`\n position: relative;\n margin: 0 ${gutter * 0.875}px;\n`;\n\nconst StyledText = styled(Text)`\n margin-right: ${gutter * 0.25}px;\n`;\n\nconst HorizontalLine = styled(FlexView)<IHorizontallineProps>(\n ({ $percentageCompleted }) => `\n position: absolute;\n background-image: linear-gradient(to right, ${colors.BLACK} ${$percentageCompleted}%, ${\n colors.GREY_3\n } ${$percentageCompleted}%);\n width: calc(100% - ${gutter * 5.375}px);\n top: 50%;\n left: ${gutter * 2.5}px;\n`,\n);\n\nexport { MainWrapper, NumberWrapper, Wrapper, StyledText, HorizontalLine };\n"],"names":["colors","layout","getTheme","gutter","MainWrapper","styled","FlexView","NumberWrapper","$stepNumber","$currentStep","Wrapper","StyledText","Text","HorizontalLine","$percentageCompleted"],"mappings":";;;;AAQA,MAAM,EAAE,QAAAA,GAAQ,QAAAC,
|
1
|
+
{"version":3,"file":"stepper-styled.js","sources":["../../../../src/features/ui/stepper/stepper-styled.tsx"],"sourcesContent":["import type { IHorizontallineProps, INumberWrapperProps } from './stepper-types';\n\nimport styled from 'styled-components';\n\nimport FlexView from '../layout/flex-view';\nimport Text from '../text/text';\nimport { getTheme } from '../theme/get-theme';\n\nconst { colors, layout } = getTheme();\nconst { gutter } = layout;\n\nconst MainWrapper = styled(FlexView)`\n position: relative;\n`;\n\nconst NumberWrapper = styled(FlexView)<INumberWrapperProps>(\n ({ $stepNumber, $currentStep }) => `\n border-radius: ${gutter * 0.625}px;\n background:${\n $stepNumber < $currentStep\n ? colors.GREEN_3\n : $stepNumber === $currentStep\n ? colors.BLACK\n : colors.GREY_3\n };\n margin:0 ${gutter * 0.25}px;\n`,\n);\n\nconst Wrapper = styled(FlexView)`\n position: relative;\n margin: 0 ${gutter * 0.875}px;\n`;\n\nconst StyledText = styled(Text)`\n margin-right: ${gutter * 0.25}px;\n`;\n\nconst HorizontalLine = styled(FlexView)<IHorizontallineProps>(\n ({ $percentageCompleted }) => `\n position: absolute;\n background-image: linear-gradient(to right, ${colors.BLACK} ${$percentageCompleted}%, ${\n colors.GREY_3\n } ${$percentageCompleted}%);\n width: calc(100% - ${gutter * 5.375}px);\n top: 50%;\n left: ${gutter * 2.5}px;\n`,\n);\n\nexport { MainWrapper, NumberWrapper, Wrapper, StyledText, HorizontalLine };\n"],"names":["colors","layout","getTheme","gutter","MainWrapper","styled","FlexView","NumberWrapper","$stepNumber","$currentStep","Wrapper","StyledText","Text","HorizontalLine","$percentageCompleted"],"mappings":";;;;AAQA,MAAM,EAAE,QAAAA,GAAQ,QAAAC,EAAO,IAAIC,EAAS,GAC9B,EAAE,QAAAC,EAAW,IAAAF,GAEbG,IAAcC,EAAOC,CAAQ;AAAA;AAAA,GAI7BC,IAAgBF,EAAOC,CAAQ;AAAA,EACnC,CAAC,EAAE,aAAAE,GAAa,cAAAC,QAAmB;AAAA,qBAChBN,IAAS,KAAK;AAAA,iBAE7BK,IAAcC,IACVT,EAAO,UACPQ,MAAgBC,IACdT,EAAO,QACPA,EAAO,MACf;AAAA,eACWG,IAAS,IAAI;AAAA;AAE5B,GAEMO,IAAUL,EAAOC,CAAQ;AAAA;AAAA,cAEjBH,IAAS,KAAK;AAAA,GAGtBQ,IAAaN,EAAOO,CAAI;AAAA,kBACZT,IAAS,IAAI;AAAA,GAGzBU,IAAiBR,EAAOC,CAAQ;AAAA,EACpC,CAAC,EAAE,sBAAAQ,EAAA,MAA2B;AAAA;AAAA,gDAEgBd,EAAO,KAAK,IAAIc,CAAoB,MAChFd,EAAO,MACT,IAAIc,CAAoB;AAAA,uBACHX,IAAS,KAAK;AAAA;AAAA,UAE3BA,IAAS,GAAG;AAAA;AAEtB;"}
|