@euler-edu/react 0.0.0-stage → 7.0.1-beta0
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/README.md +18 -2
- package/lib/assets/fonts/BitgoeulGwangju-Bold.woff +0 -0
- package/lib/assets/fonts/BitgoeulGwangju-Light.woff +0 -0
- package/lib/assets/fonts/BitgoeulGwangju-Medium.woff +0 -0
- package/lib/assets/fonts/D2Coding-1.3.2-Bold.woff +0 -0
- package/lib/assets/fonts/D2Coding-1.3.2-Bold.woff2 +0 -0
- package/lib/assets/fonts/D2Coding-1.3.2-Regular.woff +0 -0
- package/lib/assets/fonts/D2Coding-1.3.2-Regular.woff2 +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Bold.woff +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Bold.woff2 +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Light.woff +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Light.woff2 +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Medium.woff +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Medium.woff2 +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Regular.woff +0 -0
- package/lib/assets/fonts/FiraCode-6.2-Regular.woff2 +0 -0
- package/lib/assets/fonts/FiraCode-6.2-SemiBold.woff +0 -0
- package/lib/assets/fonts/FiraCode-6.2-SemiBold.woff2 +0 -0
- package/lib/assets/fonts/Hack-3.003-Bold.woff +0 -0
- package/lib/assets/fonts/Hack-3.003-Bold.woff2 +0 -0
- package/lib/assets/fonts/Hack-3.003-Regular.woff +0 -0
- package/lib/assets/fonts/Hack-3.003-Regular.woff2 +0 -0
- package/lib/assets/fonts/IBMPlexMono-Bold.woff +0 -0
- package/lib/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
- package/lib/assets/fonts/IBMPlexMono-Regular.woff +0 -0
- package/lib/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- package/lib/assets/fonts/Inconsolata-3.000-Bold.woff +0 -0
- package/lib/assets/fonts/Inconsolata-3.000-Bold.woff2 +0 -0
- package/lib/assets/fonts/Inconsolata-3.000-Regular.woff +0 -0
- package/lib/assets/fonts/Inconsolata-3.000-Regular.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Bold.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Bold.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-ExtraBold.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-ExtraBold.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-ExtraLight.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-ExtraLight.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Light.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Light.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Medium.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Medium.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Regular.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Regular.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-SemiBold.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-SemiBold.woff2 +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Thin.woff +0 -0
- package/lib/assets/fonts/JetBrainsMono-2.304-Thin.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceArgon-1.400-Bold.woff +0 -0
- package/lib/assets/fonts/MonaspaceArgon-1.400-Bold.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceArgon-1.400-Regular.woff +0 -0
- package/lib/assets/fonts/MonaspaceArgon-1.400-Regular.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceKrypton-1.400-Bold.woff +0 -0
- package/lib/assets/fonts/MonaspaceKrypton-1.400-Bold.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceKrypton-1.400-Regular.woff +0 -0
- package/lib/assets/fonts/MonaspaceKrypton-1.400-Regular.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceNeon-1.400-Bold.woff +0 -0
- package/lib/assets/fonts/MonaspaceNeon-1.400-Bold.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceNeon-1.400-Regular.woff +0 -0
- package/lib/assets/fonts/MonaspaceNeon-1.400-Regular.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceXenon-1.400-Bold.woff +0 -0
- package/lib/assets/fonts/MonaspaceXenon-1.400-Bold.woff2 +0 -0
- package/lib/assets/fonts/MonaspaceXenon-1.400-Regular.woff +0 -0
- package/lib/assets/fonts/MonaspaceXenon-1.400-Regular.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Black.woff +0 -0
- package/lib/assets/fonts/Pretendard-Black.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Bold.woff +0 -0
- package/lib/assets/fonts/Pretendard-Bold.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-ExtraBold.woff +0 -0
- package/lib/assets/fonts/Pretendard-ExtraBold.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-ExtraLight.woff +0 -0
- package/lib/assets/fonts/Pretendard-ExtraLight.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Light.woff +0 -0
- package/lib/assets/fonts/Pretendard-Light.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Medium.woff +0 -0
- package/lib/assets/fonts/Pretendard-Medium.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Regular.woff +0 -0
- package/lib/assets/fonts/Pretendard-Regular.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-SemiBold.woff +0 -0
- package/lib/assets/fonts/Pretendard-SemiBold.woff2 +0 -0
- package/lib/assets/fonts/Pretendard-Thin.woff +0 -0
- package/lib/assets/fonts/Pretendard-Thin.woff2 +0 -0
- package/lib/assets/fonts/RobotoMono-3.001-Bold.woff +0 -0
- package/lib/assets/fonts/RobotoMono-3.001-Bold.woff2 +0 -0
- package/lib/assets/fonts/RobotoMono-3.001-Regular.woff +0 -0
- package/lib/assets/fonts/RobotoMono-3.001-Regular.woff2 +0 -0
- package/lib/assets/fonts/SourceCodePro-Bold.woff +0 -0
- package/lib/assets/fonts/SourceCodePro-Bold.woff2 +0 -0
- package/lib/assets/fonts/SourceCodePro-Regular.woff +0 -0
- package/lib/assets/fonts/SourceCodePro-Regular.woff2 +0 -0
- package/lib/assets/fonts/UbuntuMono-0.83-Bold.woff +0 -0
- package/lib/assets/fonts/UbuntuMono-0.83-Bold.woff2 +0 -0
- package/lib/assets/fonts/UbuntuMono-0.83-Regular.woff +0 -0
- package/lib/assets/fonts/UbuntuMono-0.83-Regular.woff2 +0 -0
- package/lib/assets/icons/fallback.svg +2 -0
- package/lib/assets/icons/hero/academic-cap-outline.svg +3 -0
- package/lib/assets/icons/hero/adjustments-horizontal-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-down-tray-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-path-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-right-end-on-rectangle-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-right-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-right-start-on-rectangle-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-top-right-on-square-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-up-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-up-right-mini.svg +3 -0
- package/lib/assets/icons/hero/arrow-up-right-outline.svg +3 -0
- package/lib/assets/icons/hero/arrow-uturn-left-outline.svg +3 -0
- package/lib/assets/icons/hero/arrows-pointing-in-outline.svg +3 -0
- package/lib/assets/icons/hero/arrows-pointing-out-outline.svg +3 -0
- package/lib/assets/icons/hero/arrows-right-left-outline.svg +3 -0
- package/lib/assets/icons/hero/arrows-up-down-outline.svg +3 -0
- package/lib/assets/icons/hero/at-symbol-outline.svg +3 -0
- package/lib/assets/icons/hero/bars-2-mini.svg +3 -0
- package/lib/assets/icons/hero/bars-2-outline.svg +3 -0
- package/lib/assets/icons/hero/beaker-outline.svg +3 -0
- package/lib/assets/icons/hero/bell-alert-mini.svg +4 -0
- package/lib/assets/icons/hero/bell-alert-outline.svg +3 -0
- package/lib/assets/icons/hero/bell-mini.svg +3 -0
- package/lib/assets/icons/hero/bell-outline.svg +3 -0
- package/lib/assets/icons/hero/bell-slash-mini.svg +3 -0
- package/lib/assets/icons/hero/bell-slash-outline.svg +3 -0
- package/lib/assets/icons/hero/bolt-outline.svg +3 -0
- package/lib/assets/icons/hero/book-open-mini.svg +3 -0
- package/lib/assets/icons/hero/book-open-outline.svg +3 -0
- package/lib/assets/icons/hero/bookmark-mini.svg +3 -0
- package/lib/assets/icons/hero/bookmark-outline.svg +3 -0
- package/lib/assets/icons/hero/bookmark-slash-outline.svg +3 -0
- package/lib/assets/icons/hero/bookmark-solid.svg +3 -0
- package/lib/assets/icons/hero/calendar-days-outline.svg +3 -0
- package/lib/assets/icons/hero/chart-bar-outline.svg +3 -0
- package/lib/assets/icons/hero/chart-pie-outline.svg +4 -0
- package/lib/assets/icons/hero/chat-bubble-bottom-center-text-outline.svg +3 -0
- package/lib/assets/icons/hero/check-circle-mini.svg +3 -0
- package/lib/assets/icons/hero/check-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/check-mini.svg +3 -0
- package/lib/assets/icons/hero/check-outline.svg +3 -0
- package/lib/assets/icons/hero/chevron-down-outline.svg +3 -0
- package/lib/assets/icons/hero/chevron-left-outline.svg +3 -0
- package/lib/assets/icons/hero/chevron-right-outline.svg +3 -0
- package/lib/assets/icons/hero/chevron-up-down-outline.svg +3 -0
- package/lib/assets/icons/hero/chevron-up-outline.svg +3 -0
- package/lib/assets/icons/hero/circle-mini.svg +3 -0
- package/lib/assets/icons/hero/clock-mini.svg +3 -0
- package/lib/assets/icons/hero/clock-outline.svg +3 -0
- package/lib/assets/icons/hero/code-bracket-outline.svg +3 -0
- package/lib/assets/icons/hero/cog-6-tooth-mini.svg +3 -0
- package/lib/assets/icons/hero/cog-6-tooth-outline.svg +4 -0
- package/lib/assets/icons/hero/computer-desktop-outline.svg +3 -0
- package/lib/assets/icons/hero/cpu-chip-mini.svg +4 -0
- package/lib/assets/icons/hero/cpu-chip-outline.svg +3 -0
- package/lib/assets/icons/hero/cube-outline.svg +3 -0
- package/lib/assets/icons/hero/document-outline.svg +3 -0
- package/lib/assets/icons/hero/ellipsis-horizontal-mini.svg +3 -0
- package/lib/assets/icons/hero/ellipsis-horizontal-outline.svg +3 -0
- package/lib/assets/icons/hero/envelope-open-outline.svg +3 -0
- package/lib/assets/icons/hero/envelope-outline.svg +3 -0
- package/lib/assets/icons/hero/exclamation-circle-mini.svg +3 -0
- package/lib/assets/icons/hero/exclamation-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/exclamation-triangle-outline.svg +3 -0
- package/lib/assets/icons/hero/eye-outline.svg +4 -0
- package/lib/assets/icons/hero/eye-slash-outline.svg +3 -0
- package/lib/assets/icons/hero/face-frown-mini.svg +3 -0
- package/lib/assets/icons/hero/face-frown-outline.svg +3 -0
- package/lib/assets/icons/hero/face-smile-outline.svg +3 -0
- package/lib/assets/icons/hero/fire-mini.svg +3 -0
- package/lib/assets/icons/hero/fire-outline.svg +4 -0
- package/lib/assets/icons/hero/flag-mini.svg +3 -0
- package/lib/assets/icons/hero/flag-outline.svg +3 -0
- package/lib/assets/icons/hero/folder-mini.svg +3 -0
- package/lib/assets/icons/hero/folder-open-outline.svg +3 -0
- package/lib/assets/icons/hero/folder-outline.svg +3 -0
- package/lib/assets/icons/hero/funnel-outline.svg +3 -0
- package/lib/assets/icons/hero/globe-alt-outline.svg +3 -0
- package/lib/assets/icons/hero/hashtag-outline.svg +3 -0
- package/lib/assets/icons/hero/heart-outline.svg +3 -0
- package/lib/assets/icons/hero/home-outline.svg +3 -0
- package/lib/assets/icons/hero/information-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/key-outline.svg +3 -0
- package/lib/assets/icons/hero/light-bulb-outline.svg +3 -0
- package/lib/assets/icons/hero/link-outline.svg +3 -0
- package/lib/assets/icons/hero/link-slash-outline.svg +3 -0
- package/lib/assets/icons/hero/lock-closed-outline.svg +3 -0
- package/lib/assets/icons/hero/lock-open-outline.svg +3 -0
- package/lib/assets/icons/hero/magnifying-glass-mini.svg +3 -0
- package/lib/assets/icons/hero/magnifying-glass-outline.svg +3 -0
- package/lib/assets/icons/hero/map-pin-outline.svg +4 -0
- package/lib/assets/icons/hero/megaphone-mini.svg +3 -0
- package/lib/assets/icons/hero/megaphone-outline.svg +3 -0
- package/lib/assets/icons/hero/minus-outline.svg +3 -0
- package/lib/assets/icons/hero/moon-mini.svg +3 -0
- package/lib/assets/icons/hero/moon-outline.svg +3 -0
- package/lib/assets/icons/hero/no-symbol-outline.svg +3 -0
- package/lib/assets/icons/hero/paint-brush-outline.svg +3 -0
- package/lib/assets/icons/hero/plus-outline.svg +3 -0
- package/lib/assets/icons/hero/question-mark-circle-mini.svg +3 -0
- package/lib/assets/icons/hero/question-mark-circle-outline.svg +4 -0
- package/lib/assets/icons/hero/share-outline.svg +3 -0
- package/lib/assets/icons/hero/slash-outline.svg +3 -0
- package/lib/assets/icons/hero/sparkles-mini.svg +3 -0
- package/lib/assets/icons/hero/sparkles-outline.svg +3 -0
- package/lib/assets/icons/hero/spinner-outline.svg +1 -0
- package/lib/assets/icons/hero/square-2-stack-outline.svg +3 -0
- package/lib/assets/icons/hero/star-outline.svg +3 -0
- package/lib/assets/icons/hero/sun-mini.svg +3 -0
- package/lib/assets/icons/hero/sun-outline.svg +3 -0
- package/lib/assets/icons/hero/tag-outline.svg +4 -0
- package/lib/assets/icons/hero/trash-outline.svg +3 -0
- package/lib/assets/icons/hero/trophy-outline.svg +3 -0
- package/lib/assets/icons/hero/user-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/user-outline.svg +3 -0
- package/lib/assets/icons/hero/users-outline.svg +3 -0
- package/lib/assets/icons/hero/x-circle-mini.svg +3 -0
- package/lib/assets/icons/hero/x-circle-outline.svg +3 -0
- package/lib/assets/icons/hero/x-mark-mini.svg +3 -0
- package/lib/assets/icons/hero/x-mark-outline.svg +3 -0
- package/lib/assets/icons/phosphor/arrow-circle-up-regular.svg +1 -0
- package/lib/assets/icons/phosphor/arrows-clockwise-regular.svg +1 -0
- package/lib/assets/icons/phosphor/arrows-in-line-vertical-regular.svg +1 -0
- package/lib/assets/icons/phosphor/arrows-out-line-vertical-regular.svg +1 -0
- package/lib/assets/icons/phosphor/backspace-bold.svg +1 -0
- package/lib/assets/icons/phosphor/backspace-regular.svg +1 -0
- package/lib/assets/icons/phosphor/binary-fill.svg +1 -0
- package/lib/assets/icons/phosphor/binary-regular.svg +1 -0
- package/lib/assets/icons/phosphor/binoculars-fill.svg +1 -0
- package/lib/assets/icons/phosphor/binoculars-regular.svg +1 -0
- package/lib/assets/icons/phosphor/book-open-text-regular.svg +1 -0
- package/lib/assets/icons/phosphor/bookmark-simple-fill.svg +1 -0
- package/lib/assets/icons/phosphor/bookmark-simple-regular.svg +1 -0
- package/lib/assets/icons/phosphor/boxing-glove-regular.svg +1 -0
- package/lib/assets/icons/phosphor/check-circle-fill.svg +1 -0
- package/lib/assets/icons/phosphor/check-circle-regular.svg +1 -0
- package/lib/assets/icons/phosphor/clock-bold.svg +1 -0
- package/lib/assets/icons/phosphor/clock-clockwise-regular.svg +1 -0
- package/lib/assets/icons/phosphor/clock-regular.svg +1 -0
- package/lib/assets/icons/phosphor/code-block-fill.svg +1 -0
- package/lib/assets/icons/phosphor/code-block-regular.svg +1 -0
- package/lib/assets/icons/phosphor/command-bold.svg +1 -0
- package/lib/assets/icons/phosphor/command-regular.svg +1 -0
- package/lib/assets/icons/phosphor/cookie-regular.svg +1 -0
- package/lib/assets/icons/phosphor/currency-circle-dollar-fill.svg +1 -0
- package/lib/assets/icons/phosphor/currency-circle-dollar-regular.svg +1 -0
- package/lib/assets/icons/phosphor/database-fill.svg +1 -0
- package/lib/assets/icons/phosphor/database-regular.svg +1 -0
- package/lib/assets/icons/phosphor/dice-five-fill.svg +1 -0
- package/lib/assets/icons/phosphor/dice-five-regular.svg +1 -0
- package/lib/assets/icons/phosphor/dot-outline-fill.svg +1 -0
- package/lib/assets/icons/phosphor/dots-six-vertical-bold.svg +1 -0
- package/lib/assets/icons/phosphor/dots-six-vertical-regular.svg +1 -0
- package/lib/assets/icons/phosphor/file-code-regular.svg +1 -0
- package/lib/assets/icons/phosphor/file-regular.svg +1 -0
- package/lib/assets/icons/phosphor/flag-fill.svg +1 -0
- package/lib/assets/icons/phosphor/flag-regular.svg +1 -0
- package/lib/assets/icons/phosphor/floppy-disk-regular.svg +1 -0
- package/lib/assets/icons/phosphor/folder-fill.svg +1 -0
- package/lib/assets/icons/phosphor/folder-regular.svg +1 -0
- package/lib/assets/icons/phosphor/graph-fill.svg +1 -0
- package/lib/assets/icons/phosphor/graph-regular.svg +1 -0
- package/lib/assets/icons/phosphor/info-regular.svg +1 -0
- package/lib/assets/icons/phosphor/key-return-bold.svg +1 -0
- package/lib/assets/icons/phosphor/key-return-regular.svg +1 -0
- package/lib/assets/icons/phosphor/keyboard-regular.svg +1 -0
- package/lib/assets/icons/phosphor/math-operations-fill.svg +1 -0
- package/lib/assets/icons/phosphor/math-operations-regular.svg +1 -0
- package/lib/assets/icons/phosphor/medal-bold.svg +1 -0
- package/lib/assets/icons/phosphor/medal-fill.svg +1 -0
- package/lib/assets/icons/phosphor/medal-regular.svg +1 -0
- package/lib/assets/icons/phosphor/memory-regular.svg +1 -0
- package/lib/assets/icons/phosphor/option-bold.svg +1 -0
- package/lib/assets/icons/phosphor/option-regular.svg +1 -0
- package/lib/assets/icons/phosphor/password-regular.svg +1 -0
- package/lib/assets/icons/phosphor/path-fill.svg +1 -0
- package/lib/assets/icons/phosphor/path-regular.svg +1 -0
- package/lib/assets/icons/phosphor/pause-regular.svg +1 -0
- package/lib/assets/icons/phosphor/pencil-simple-regular.svg +1 -0
- package/lib/assets/icons/phosphor/phone-regular.svg +1 -0
- package/lib/assets/icons/phosphor/plant-fill.svg +1 -0
- package/lib/assets/icons/phosphor/plant-regular.svg +1 -0
- package/lib/assets/icons/phosphor/play-regular.svg +1 -0
- package/lib/assets/icons/phosphor/polygon-fill.svg +1 -0
- package/lib/assets/icons/phosphor/polygon-regular.svg +1 -0
- package/lib/assets/icons/phosphor/pulse-bold.svg +1 -0
- package/lib/assets/icons/phosphor/pulse-regular.svg +1 -0
- package/lib/assets/icons/phosphor/ranking-bold.svg +1 -0
- package/lib/assets/icons/phosphor/ranking-fill.svg +1 -0
- package/lib/assets/icons/phosphor/ranking-regular.svg +1 -0
- package/lib/assets/icons/phosphor/repeat-fill.svg +1 -0
- package/lib/assets/icons/phosphor/repeat-regular.svg +1 -0
- package/lib/assets/icons/phosphor/shapes-fill.svg +1 -0
- package/lib/assets/icons/phosphor/shapes-regular.svg +1 -0
- package/lib/assets/icons/phosphor/smiley-sad-fill.svg +1 -0
- package/lib/assets/icons/phosphor/smiley-sad-regular.svg +1 -0
- package/lib/assets/icons/phosphor/sort-ascending-fill.svg +1 -0
- package/lib/assets/icons/phosphor/sort-ascending-regular.svg +1 -0
- package/lib/assets/icons/phosphor/sparkle-fill.svg +1 -0
- package/lib/assets/icons/phosphor/sparkle-regular.svg +1 -0
- package/lib/assets/icons/phosphor/strategy-fill.svg +1 -0
- package/lib/assets/icons/phosphor/strategy-regular.svg +1 -0
- package/lib/assets/icons/phosphor/sword-fill.svg +1 -0
- package/lib/assets/icons/phosphor/sword-regular.svg +1 -0
- package/lib/assets/icons/phosphor/text-aa-fill.svg +1 -0
- package/lib/assets/icons/phosphor/text-aa-regular.svg +1 -0
- package/lib/assets/icons/phosphor/timer-regular.svg +1 -0
- package/lib/assets/icons/phosphor/tree-fill.svg +1 -0
- package/lib/assets/icons/phosphor/tree-regular.svg +1 -0
- package/lib/assets/icons/phosphor/tree-structure-fill.svg +1 -0
- package/lib/assets/icons/phosphor/tree-structure-regular.svg +1 -0
- package/lib/assets/icons/phosphor/trophy-bold.svg +1 -0
- package/lib/assets/icons/phosphor/trophy-fill.svg +1 -0
- package/lib/assets/icons/phosphor/trophy-regular.svg +1 -0
- package/lib/assets/icons/phosphor/youtube-logo-fill.svg +1 -0
- package/lib/assets/icons/phosphor/youtube-logo-regular.svg +1 -0
- package/lib/assets/icons/primary/euler.svg +3 -0
- package/lib/assets/icons/social/facebook-outline.svg +10 -0
- package/lib/assets/icons/social/google-solid-color.svg +6 -0
- package/lib/assets/icons/social/instagram-outline.svg +10 -0
- package/lib/assets/icons/social/kakao-solid.svg +3 -0
- package/lib/assets/icons/social/naver-solid.svg +6 -0
- package/lib/assets/icons/social/naverband-outline.svg +10 -0
- package/lib/assets/icons/social/naverblog-outline.svg +10 -0
- package/lib/assets/icons/social/navercafe-outline.svg +6 -0
- package/lib/assets/icons/social/smartstore-outline.svg +10 -0
- package/lib/assets/icons/social/tiktok-outline.svg +6 -0
- package/lib/assets/icons/social/youtube-outline.svg +6 -0
- package/lib/assets/images/book-c++_bronze.png +0 -0
- package/lib/assets/images/book-c++_iron.png +0 -0
- package/lib/assets/images/book-c++_stone.png +0 -0
- package/lib/assets/images/book-python_stone.png +0 -0
- package/lib/assets/images/trophy-10-trials.png +0 -0
- package/lib/assets/images/trophy-100-pioneers.png +0 -0
- package/lib/assets/images/trophy-100-solves.png +0 -0
- package/lib/assets/images/trophy-1000-solves.png +0 -0
- package/lib/assets/images/trophy-20-pioneers.png +0 -0
- package/lib/assets/images/trophy-200-solves.png +0 -0
- package/lib/assets/images/trophy-2000-solves.png +0 -0
- package/lib/assets/images/trophy-50-pioneers.png +0 -0
- package/lib/assets/images/trophy-50-solves.png +0 -0
- package/lib/assets/images/trophy-500-solves.png +0 -0
- package/lib/assets/images/trophy-5000-solves.png +0 -0
- package/lib/assets/images/trophy-cola.png +0 -0
- package/lib/assets/images/trophy-first-pioneer.png +0 -0
- package/lib/assets/images/trophy-first-solve.png +0 -0
- package/lib/assets/images/trophy-steak.png +0 -0
- package/lib/assets/images/trophy-stone.png +0 -0
- package/lib/assets/images/trophy-weekly-coder.png +0 -0
- package/lib/assets/images/trophy-win-contest.png +0 -0
- package/lib/assets/images/trophy-win-yearly-rank.png +0 -0
- package/lib/assets/lotties/firecrackers.lottie +0 -0
- package/lib/components/atoms/avatars/Avatar.d.ts +11 -0
- package/lib/components/atoms/avatars/Avatar.js +12 -0
- package/lib/components/atoms/avatars/Avatar.js.map +1 -0
- package/lib/components/atoms/avatars/MultiAvatar.d.ts +12 -0
- package/lib/components/atoms/avatars/MultiAvatar.js +27 -0
- package/lib/components/atoms/avatars/MultiAvatar.js.map +1 -0
- package/lib/components/atoms/avatars/index.d.ts +2 -0
- package/lib/components/atoms/avatars/index.js +11 -0
- package/lib/components/atoms/avatars/index.js.map +1 -0
- package/lib/components/atoms/badges/ScoringResultBadge.d.ts +10 -0
- package/lib/components/atoms/badges/ScoringResultBadge.js +43 -0
- package/lib/components/atoms/badges/ScoringResultBadge.js.map +1 -0
- package/lib/components/atoms/badges/TextBadge.d.ts +14 -0
- package/lib/components/atoms/badges/TextBadge.js +21 -0
- package/lib/components/atoms/badges/TextBadge.js.map +1 -0
- package/lib/components/atoms/badges/index.d.ts +2 -0
- package/lib/components/atoms/badges/index.js +11 -0
- package/lib/components/atoms/badges/index.js.map +1 -0
- package/lib/components/atoms/buttons/AvatarButton.d.ts +13 -0
- package/lib/components/atoms/buttons/AvatarButton.js +18 -0
- package/lib/components/atoms/buttons/AvatarButton.js.map +1 -0
- package/lib/components/atoms/buttons/IconButton.d.ts +12 -0
- package/lib/components/atoms/buttons/IconButton.js +25 -0
- package/lib/components/atoms/buttons/IconButton.js.map +1 -0
- package/lib/components/atoms/buttons/MenuButton.d.ts +11 -0
- package/lib/components/atoms/buttons/MenuButton.js +20 -0
- package/lib/components/atoms/buttons/MenuButton.js.map +1 -0
- package/lib/components/atoms/buttons/SelectableTextButton.d.ts +12 -0
- package/lib/components/atoms/buttons/SelectableTextButton.js +17 -0
- package/lib/components/atoms/buttons/SelectableTextButton.js.map +1 -0
- package/lib/components/atoms/buttons/TextButton.d.ts +37 -0
- package/lib/components/atoms/buttons/TextButton.js +42 -0
- package/lib/components/atoms/buttons/TextButton.js.map +1 -0
- package/lib/components/atoms/buttons/TextChipButton.d.ts +17 -0
- package/lib/components/atoms/buttons/TextChipButton.js +49 -0
- package/lib/components/atoms/buttons/TextChipButton.js.map +1 -0
- package/lib/components/atoms/buttons/TextCoupleButton.d.ts +8 -0
- package/lib/components/atoms/buttons/TextCoupleButton.js +13 -0
- package/lib/components/atoms/buttons/TextCoupleButton.js.map +1 -0
- package/lib/components/atoms/buttons/TextGroupButton.d.ts +11 -0
- package/lib/components/atoms/buttons/TextGroupButton.js +19 -0
- package/lib/components/atoms/buttons/TextGroupButton.js.map +1 -0
- package/lib/components/atoms/buttons/UserChipButton.d.ts +15 -0
- package/lib/components/atoms/buttons/UserChipButton.js +52 -0
- package/lib/components/atoms/buttons/UserChipButton.js.map +1 -0
- package/lib/components/atoms/buttons/index.d.ts +9 -0
- package/lib/components/atoms/buttons/index.js +25 -0
- package/lib/components/atoms/buttons/index.js.map +1 -0
- package/lib/components/atoms/containers/ButtonContainer.d.ts +5 -0
- package/lib/components/atoms/containers/ButtonContainer.js +41 -0
- package/lib/components/atoms/containers/ButtonContainer.js.map +1 -0
- package/lib/components/atoms/containers/ClickableContainer.d.ts +16 -0
- package/lib/components/atoms/containers/ClickableContainer.js +33 -0
- package/lib/components/atoms/containers/ClickableContainer.js.map +1 -0
- package/lib/components/atoms/containers/Container.d.ts +5 -0
- package/lib/components/atoms/containers/Container.js +41 -0
- package/lib/components/atoms/containers/Container.js.map +1 -0
- package/lib/components/atoms/containers/ImageContainer.d.ts +14 -0
- package/lib/components/atoms/containers/ImageContainer.js +51 -0
- package/lib/components/atoms/containers/ImageContainer.js.map +1 -0
- package/lib/components/atoms/containers/InputableContainer.d.ts +5 -0
- package/lib/components/atoms/containers/InputableContainer.js +41 -0
- package/lib/components/atoms/containers/InputableContainer.js.map +1 -0
- package/lib/components/atoms/containers/LinkContainer.d.ts +9 -0
- package/lib/components/atoms/containers/LinkContainer.js +51 -0
- package/lib/components/atoms/containers/LinkContainer.js.map +1 -0
- package/lib/components/atoms/containers/LottieContainer.d.ts +22 -0
- package/lib/components/atoms/containers/LottieContainer.js +19 -0
- package/lib/components/atoms/containers/LottieContainer.js.map +1 -0
- package/lib/components/atoms/containers/index.d.ts +5 -0
- package/lib/components/atoms/containers/index.js +17 -0
- package/lib/components/atoms/containers/index.js.map +1 -0
- package/lib/components/atoms/dividers/Divider.d.ts +12 -0
- package/lib/components/atoms/dividers/Divider.js +7 -0
- package/lib/components/atoms/dividers/Divider.js.map +1 -0
- package/lib/components/atoms/dividers/index.d.ts +1 -0
- package/lib/components/atoms/dividers/index.js +9 -0
- package/lib/components/atoms/dividers/index.js.map +1 -0
- package/lib/components/atoms/editors/CodeEditor.d.ts +19 -0
- package/lib/components/atoms/editors/CodeEditor.js +217 -0
- package/lib/components/atoms/editors/CodeEditor.js.map +1 -0
- package/lib/components/atoms/editors/only_csr.d.ts +1 -0
- package/lib/components/atoms/editors/only_csr.js +9 -0
- package/lib/components/atoms/editors/only_csr.js.map +1 -0
- package/lib/components/atoms/icons/Icon.d.ts +10 -0
- package/lib/components/atoms/icons/Icon.js +61 -0
- package/lib/components/atoms/icons/Icon.js.map +1 -0
- package/lib/components/atoms/icons/LoadingIcon.d.ts +13 -0
- package/lib/components/atoms/icons/LoadingIcon.js +36 -0
- package/lib/components/atoms/icons/LoadingIcon.js.map +1 -0
- package/lib/components/atoms/icons/index.d.ts +2 -0
- package/lib/components/atoms/icons/index.js +11 -0
- package/lib/components/atoms/icons/index.js.map +1 -0
- package/lib/components/atoms/index.d.ts +12 -0
- package/lib/components/atoms/index.js +29 -0
- package/lib/components/atoms/index.js.map +1 -0
- package/lib/components/atoms/inputs/CheckboxInput.d.ts +28 -0
- package/lib/components/atoms/inputs/CheckboxInput.js +25 -0
- package/lib/components/atoms/inputs/CheckboxInput.js.map +1 -0
- package/lib/components/atoms/inputs/ChipInput.d.ts +23 -0
- package/lib/components/atoms/inputs/ChipInput.js +79 -0
- package/lib/components/atoms/inputs/ChipInput.js.map +1 -0
- package/lib/components/atoms/inputs/DateInput.d.ts +34 -0
- package/lib/components/atoms/inputs/DateInput.js +36 -0
- package/lib/components/atoms/inputs/DateInput.js.map +1 -0
- package/lib/components/atoms/inputs/IntegerInput.d.ts +19 -0
- package/lib/components/atoms/inputs/IntegerInput.js +72 -0
- package/lib/components/atoms/inputs/IntegerInput.js.map +1 -0
- package/lib/components/atoms/inputs/RadioInput.d.ts +28 -0
- package/lib/components/atoms/inputs/RadioInput.js +25 -0
- package/lib/components/atoms/inputs/RadioInput.js.map +1 -0
- package/lib/components/atoms/inputs/SelectInput.d.ts +32 -0
- package/lib/components/atoms/inputs/SelectInput.js +32 -0
- package/lib/components/atoms/inputs/SelectInput.js.map +1 -0
- package/lib/components/atoms/inputs/TextInput.d.ts +23 -0
- package/lib/components/atoms/inputs/TextInput.js +61 -0
- package/lib/components/atoms/inputs/TextInput.js.map +1 -0
- package/lib/components/atoms/inputs/ToggleInput.d.ts +29 -0
- package/lib/components/atoms/inputs/ToggleInput.js +30 -0
- package/lib/components/atoms/inputs/ToggleInput.js.map +1 -0
- package/lib/components/atoms/inputs/index.d.ts +8 -0
- package/lib/components/atoms/inputs/index.js +23 -0
- package/lib/components/atoms/inputs/index.js.map +1 -0
- package/lib/components/atoms/lotties/Lottie.d.ts +8 -0
- package/lib/components/atoms/lotties/Lottie.js +44 -0
- package/lib/components/atoms/lotties/Lottie.js.map +1 -0
- package/lib/components/atoms/lotties/index.d.ts +1 -0
- package/lib/components/atoms/lotties/index.js +9 -0
- package/lib/components/atoms/lotties/index.js.map +1 -0
- package/lib/components/atoms/only_csr.d.ts +1 -0
- package/lib/components/atoms/only_csr.js +18 -0
- package/lib/components/atoms/only_csr.js.map +1 -0
- package/lib/components/atoms/paginations/Pagination.d.ts +29 -0
- package/lib/components/atoms/paginations/Pagination.js +117 -0
- package/lib/components/atoms/paginations/Pagination.js.map +1 -0
- package/lib/components/atoms/paginations/index.d.ts +1 -0
- package/lib/components/atoms/paginations/index.js +9 -0
- package/lib/components/atoms/paginations/index.js.map +1 -0
- package/lib/components/atoms/pickers/ThemePicker.d.ts +5 -0
- package/lib/components/atoms/pickers/ThemePicker.js +38 -0
- package/lib/components/atoms/pickers/ThemePicker.js.map +1 -0
- package/lib/components/atoms/pickers/index.d.ts +1 -0
- package/lib/components/atoms/pickers/index.js +9 -0
- package/lib/components/atoms/pickers/index.js.map +1 -0
- package/lib/components/atoms/recaptchas/Recaptcha.d.ts +10 -0
- package/lib/components/atoms/recaptchas/Recaptcha.js +80 -0
- package/lib/components/atoms/recaptchas/Recaptcha.js.map +1 -0
- package/lib/components/atoms/recaptchas/index.d.ts +1 -0
- package/lib/components/atoms/recaptchas/index.js +9 -0
- package/lib/components/atoms/recaptchas/index.js.map +1 -0
- package/lib/components/atoms/texts/KbdText.d.ts +13 -0
- package/lib/components/atoms/texts/KbdText.js +12 -0
- package/lib/components/atoms/texts/KbdText.js.map +1 -0
- package/lib/components/atoms/texts/Text.d.ts +9 -0
- package/lib/components/atoms/texts/Text.js +30 -0
- package/lib/components/atoms/texts/Text.js.map +1 -0
- package/lib/components/atoms/texts/index.d.ts +2 -0
- package/lib/components/atoms/texts/index.js +11 -0
- package/lib/components/atoms/texts/index.js.map +1 -0
- package/lib/components/molecules/breadcrumbs/NavBreadcrumb.d.ts +20 -0
- package/lib/components/molecules/breadcrumbs/NavBreadcrumb.js +73 -0
- package/lib/components/molecules/breadcrumbs/NavBreadcrumb.js.map +1 -0
- package/lib/components/molecules/breadcrumbs/index.d.ts +1 -0
- package/lib/components/molecules/breadcrumbs/index.js +9 -0
- package/lib/components/molecules/breadcrumbs/index.js.map +1 -0
- package/lib/components/molecules/cards/BookCard.d.ts +10 -0
- package/lib/components/molecules/cards/BookCard.js +30 -0
- package/lib/components/molecules/cards/BookCard.js.map +1 -0
- package/lib/components/molecules/cards/Card.d.ts +18 -0
- package/lib/components/molecules/cards/Card.js +33 -0
- package/lib/components/molecules/cards/Card.js.map +1 -0
- package/lib/components/molecules/cards/ContestCard.d.ts +18 -0
- package/lib/components/molecules/cards/ContestCard.js +15 -0
- package/lib/components/molecules/cards/ContestCard.js.map +1 -0
- package/lib/components/molecules/cards/DiecutStickerCard.d.ts +11 -0
- package/lib/components/molecules/cards/DiecutStickerCard.js +59 -0
- package/lib/components/molecules/cards/DiecutStickerCard.js.map +1 -0
- package/lib/components/molecules/cards/ThemeCard.d.ts +11 -0
- package/lib/components/molecules/cards/ThemeCard.js +15 -0
- package/lib/components/molecules/cards/ThemeCard.js.map +1 -0
- package/lib/components/molecules/cards/index.d.ts +5 -0
- package/lib/components/molecules/cards/index.js +17 -0
- package/lib/components/molecules/cards/index.js.map +1 -0
- package/lib/components/molecules/charts/BarChart.d.ts +18 -0
- package/lib/components/molecules/charts/BarChart.js +24 -0
- package/lib/components/molecules/charts/BarChart.js.map +1 -0
- package/lib/components/molecules/charts/DonutChart.d.ts +15 -0
- package/lib/components/molecules/charts/DonutChart.js +51 -0
- package/lib/components/molecules/charts/DonutChart.js.map +1 -0
- package/lib/components/molecules/charts/HeatmapChart.d.ts +22 -0
- package/lib/components/molecules/charts/HeatmapChart.js +53 -0
- package/lib/components/molecules/charts/HeatmapChart.js.map +1 -0
- package/lib/components/molecules/charts/LabelChart.d.ts +21 -0
- package/lib/components/molecules/charts/LabelChart.js +37 -0
- package/lib/components/molecules/charts/LabelChart.js.map +1 -0
- package/lib/components/molecules/charts/LineChart.d.ts +21 -0
- package/lib/components/molecules/charts/LineChart.js +21 -0
- package/lib/components/molecules/charts/LineChart.js.map +1 -0
- package/lib/components/molecules/charts/RadarChart.d.ts +18 -0
- package/lib/components/molecules/charts/RadarChart.js +68 -0
- package/lib/components/molecules/charts/RadarChart.js.map +1 -0
- package/lib/components/molecules/charts/SingleBarChart.d.ts +23 -0
- package/lib/components/molecules/charts/SingleBarChart.js +43 -0
- package/lib/components/molecules/charts/SingleBarChart.js.map +1 -0
- package/lib/components/molecules/charts/SingleLineChart.d.ts +25 -0
- package/lib/components/molecules/charts/SingleLineChart.js +128 -0
- package/lib/components/molecules/charts/SingleLineChart.js.map +1 -0
- package/lib/components/molecules/charts/index.d.ts +8 -0
- package/lib/components/molecules/charts/index.js +23 -0
- package/lib/components/molecules/charts/index.js.map +1 -0
- package/lib/components/molecules/dropdowns/DateDropdown.d.ts +9 -0
- package/lib/components/molecules/dropdowns/DateDropdown.js +99 -0
- package/lib/components/molecules/dropdowns/DateDropdown.js.map +1 -0
- package/lib/components/molecules/dropdowns/DateRangeDropdown.d.ts +15 -0
- package/lib/components/molecules/dropdowns/DateRangeDropdown.js +32 -0
- package/lib/components/molecules/dropdowns/DateRangeDropdown.js.map +1 -0
- package/lib/components/molecules/dropdowns/Dropdown.d.ts +27 -0
- package/lib/components/molecules/dropdowns/Dropdown.js +25 -0
- package/lib/components/molecules/dropdowns/Dropdown.js.map +1 -0
- package/lib/components/molecules/dropdowns/SearchDropdown.d.ts +21 -0
- package/lib/components/molecules/dropdowns/SearchDropdown.js +35 -0
- package/lib/components/molecules/dropdowns/SearchDropdown.js.map +1 -0
- package/lib/components/molecules/dropdowns/index.d.ts +4 -0
- package/lib/components/molecules/dropdowns/index.js +15 -0
- package/lib/components/molecules/dropdowns/index.js.map +1 -0
- package/lib/components/molecules/empties/Empty.d.ts +10 -0
- package/lib/components/molecules/empties/Empty.js +37 -0
- package/lib/components/molecules/empties/Empty.js.map +1 -0
- package/lib/components/molecules/empties/index.d.ts +1 -0
- package/lib/components/molecules/empties/index.js +9 -0
- package/lib/components/molecules/empties/index.js.map +1 -0
- package/lib/components/molecules/index.d.ts +9 -0
- package/lib/components/molecules/index.js +26 -0
- package/lib/components/molecules/index.js.map +1 -0
- package/lib/components/molecules/navigations/PaneNavigation.d.ts +28 -0
- package/lib/components/molecules/navigations/PaneNavigation.js +48 -0
- package/lib/components/molecules/navigations/PaneNavigation.js.map +1 -0
- package/lib/components/molecules/navigations/TabNavigation.d.ts +19 -0
- package/lib/components/molecules/navigations/TabNavigation.js +17 -0
- package/lib/components/molecules/navigations/TabNavigation.js.map +1 -0
- package/lib/components/molecules/navigations/index.d.ts +2 -0
- package/lib/components/molecules/navigations/index.js +11 -0
- package/lib/components/molecules/navigations/index.js.map +1 -0
- package/lib/components/molecules/only_csr.d.ts +1 -0
- package/lib/components/molecules/only_csr.js +18 -0
- package/lib/components/molecules/only_csr.js.map +1 -0
- package/lib/components/molecules/overlays/DropdownOverlay.d.ts +4 -0
- package/lib/components/molecules/overlays/DropdownOverlay.js +8 -0
- package/lib/components/molecules/overlays/DropdownOverlay.js.map +1 -0
- package/lib/components/molecules/overlays/ModalOverlay.d.ts +7 -0
- package/lib/components/molecules/overlays/ModalOverlay.js +11 -0
- package/lib/components/molecules/overlays/ModalOverlay.js.map +1 -0
- package/lib/components/molecules/overlays/ToastOverlay.d.ts +14 -0
- package/lib/components/molecules/overlays/ToastOverlay.js +50 -0
- package/lib/components/molecules/overlays/ToastOverlay.js.map +1 -0
- package/lib/components/molecules/overlays/TooltipOverlay.d.ts +11 -0
- package/lib/components/molecules/overlays/TooltipOverlay.js +10 -0
- package/lib/components/molecules/overlays/TooltipOverlay.js.map +1 -0
- package/lib/components/molecules/overlays/index.d.ts +4 -0
- package/lib/components/molecules/overlays/index.js +15 -0
- package/lib/components/molecules/overlays/index.js.map +1 -0
- package/lib/components/molecules/rows/BulletedRow.d.ts +12 -0
- package/lib/components/molecules/rows/BulletedRow.js +23 -0
- package/lib/components/molecules/rows/BulletedRow.js.map +1 -0
- package/lib/components/molecules/rows/CheckboxLabelRow.d.ts +13 -0
- package/lib/components/molecules/rows/CheckboxLabelRow.js +24 -0
- package/lib/components/molecules/rows/CheckboxLabelRow.js.map +1 -0
- package/lib/components/molecules/rows/PrevNextCardRow.d.ts +8 -0
- package/lib/components/molecules/rows/PrevNextCardRow.js +8 -0
- package/lib/components/molecules/rows/PrevNextCardRow.js.map +1 -0
- package/lib/components/molecules/rows/RadioLabelRow.d.ts +13 -0
- package/lib/components/molecules/rows/RadioLabelRow.js +24 -0
- package/lib/components/molecules/rows/RadioLabelRow.js.map +1 -0
- package/lib/components/molecules/rows/TitleRow.d.ts +10 -0
- package/lib/components/molecules/rows/TitleRow.js +27 -0
- package/lib/components/molecules/rows/TitleRow.js.map +1 -0
- package/lib/components/molecules/rows/ValidationMessageRow.d.ts +9 -0
- package/lib/components/molecules/rows/ValidationMessageRow.js +19 -0
- package/lib/components/molecules/rows/ValidationMessageRow.js.map +1 -0
- package/lib/components/molecules/rows/index.d.ts +6 -0
- package/lib/components/molecules/rows/index.js +19 -0
- package/lib/components/molecules/rows/index.js.map +1 -0
- package/lib/components/molecules/trays/CalloutTray.d.ts +14 -0
- package/lib/components/molecules/trays/CalloutTray.js +36 -0
- package/lib/components/molecules/trays/CalloutTray.js.map +1 -0
- package/lib/components/molecules/trays/CodeTray.d.ts +17 -0
- package/lib/components/molecules/trays/CodeTray.js +20 -0
- package/lib/components/molecules/trays/CodeTray.js.map +1 -0
- package/lib/components/molecules/trays/ProblemExampleTray.d.ts +14 -0
- package/lib/components/molecules/trays/ProblemExampleTray.js +64 -0
- package/lib/components/molecules/trays/ProblemExampleTray.js.map +1 -0
- package/lib/components/molecules/trays/ProblemSetOverviewTray.d.ts +12 -0
- package/lib/components/molecules/trays/ProblemSetOverviewTray.js +32 -0
- package/lib/components/molecules/trays/ProblemSetOverviewTray.js.map +1 -0
- package/lib/components/molecules/trays/RankOverviewTray.d.ts +21 -0
- package/lib/components/molecules/trays/RankOverviewTray.js +37 -0
- package/lib/components/molecules/trays/RankOverviewTray.js.map +1 -0
- package/lib/components/molecules/trays/RankPodiumTray.d.ts +13 -0
- package/lib/components/molecules/trays/RankPodiumTray.js +19 -0
- package/lib/components/molecules/trays/RankPodiumTray.js.map +1 -0
- package/lib/components/molecules/trays/RankSetTray.d.ts +21 -0
- package/lib/components/molecules/trays/RankSetTray.js +35 -0
- package/lib/components/molecules/trays/RankSetTray.js.map +1 -0
- package/lib/components/molecules/trays/SelectedChipTray.d.ts +8 -0
- package/lib/components/molecules/trays/SelectedChipTray.js +7 -0
- package/lib/components/molecules/trays/SelectedChipTray.js.map +1 -0
- package/lib/components/molecules/trays/SubmitTray.d.ts +25 -0
- package/lib/components/molecules/trays/SubmitTray.js +30 -0
- package/lib/components/molecules/trays/SubmitTray.js.map +1 -0
- package/lib/components/molecules/trays/index.d.ts +8 -0
- package/lib/components/molecules/trays/index.js +23 -0
- package/lib/components/molecules/trays/index.js.map +1 -0
- package/lib/components/molecules/trays/only_csr.d.ts +1 -0
- package/lib/components/molecules/trays/only_csr.js +9 -0
- package/lib/components/molecules/trays/only_csr.js.map +1 -0
- package/lib/components/organisms/bars/QueryToolBar.d.ts +24 -0
- package/lib/components/organisms/bars/QueryToolBar.js +102 -0
- package/lib/components/organisms/bars/QueryToolBar.js.map +1 -0
- package/lib/components/organisms/bars/SubmitQueryToolBar.d.ts +54 -0
- package/lib/components/organisms/bars/SubmitQueryToolBar.js +232 -0
- package/lib/components/organisms/bars/SubmitQueryToolBar.js.map +1 -0
- package/lib/components/organisms/bars/index.d.ts +2 -0
- package/lib/components/organisms/bars/index.js +11 -0
- package/lib/components/organisms/bars/index.js.map +1 -0
- package/lib/components/organisms/footers/CellTextButton.d.ts +5 -0
- package/lib/components/organisms/footers/CellTextButton.js +12 -0
- package/lib/components/organisms/footers/CellTextButton.js.map +1 -0
- package/lib/components/organisms/footers/Footer.d.ts +13 -0
- package/lib/components/organisms/footers/Footer.js +21 -0
- package/lib/components/organisms/footers/Footer.js.map +1 -0
- package/lib/components/organisms/footers/index.d.ts +1 -0
- package/lib/components/organisms/footers/index.js +9 -0
- package/lib/components/organisms/footers/index.js.map +1 -0
- package/lib/components/organisms/headers/Header.d.ts +21 -0
- package/lib/components/organisms/headers/Header.js +59 -0
- package/lib/components/organisms/headers/Header.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderFamilySection.d.ts +7 -0
- package/lib/components/organisms/headers/components/HeaderFamilySection.js +15 -0
- package/lib/components/organisms/headers/components/HeaderFamilySection.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderFixedPopup.d.ts +7 -0
- package/lib/components/organisms/headers/components/HeaderFixedPopup.js +29 -0
- package/lib/components/organisms/headers/components/HeaderFixedPopup.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderIconButton.d.ts +9 -0
- package/lib/components/organisms/headers/components/HeaderIconButton.js +7 -0
- package/lib/components/organisms/headers/components/HeaderIconButton.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderLoginButton.d.ts +6 -0
- package/lib/components/organisms/headers/components/HeaderLoginButton.js +20 -0
- package/lib/components/organisms/headers/components/HeaderLoginButton.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderMenuItemButton.d.ts +8 -0
- package/lib/components/organisms/headers/components/HeaderMenuItemButton.js +15 -0
- package/lib/components/organisms/headers/components/HeaderMenuItemButton.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderMenuProfileButton.d.ts +9 -0
- package/lib/components/organisms/headers/components/HeaderMenuProfileButton.js +15 -0
- package/lib/components/organisms/headers/components/HeaderMenuProfileButton.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderMenuSection.d.ts +27 -0
- package/lib/components/organisms/headers/components/HeaderMenuSection.js +25 -0
- package/lib/components/organisms/headers/components/HeaderMenuSection.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderNavButton.d.ts +8 -0
- package/lib/components/organisms/headers/components/HeaderNavButton.js +9 -0
- package/lib/components/organisms/headers/components/HeaderNavButton.js.map +1 -0
- package/lib/components/organisms/headers/components/HeaderPopup.d.ts +7 -0
- package/lib/components/organisms/headers/components/HeaderPopup.js +32 -0
- package/lib/components/organisms/headers/components/HeaderPopup.js.map +1 -0
- package/lib/components/organisms/headers/components/index.d.ts +9 -0
- package/lib/components/organisms/headers/components/index.js +25 -0
- package/lib/components/organisms/headers/components/index.js.map +1 -0
- package/lib/components/organisms/headers/index.d.ts +1 -0
- package/lib/components/organisms/headers/index.js +9 -0
- package/lib/components/organisms/headers/index.js.map +1 -0
- package/lib/components/organisms/index.d.ts +7 -0
- package/lib/components/organisms/index.js +24 -0
- package/lib/components/organisms/index.js.map +1 -0
- package/lib/components/organisms/modals/AlertModal.d.ts +11 -0
- package/lib/components/organisms/modals/AlertModal.js +14 -0
- package/lib/components/organisms/modals/AlertModal.js.map +1 -0
- package/lib/components/organisms/modals/CellModal.d.ts +10 -0
- package/lib/components/organisms/modals/CellModal.js +14 -0
- package/lib/components/organisms/modals/CellModal.js.map +1 -0
- package/lib/components/organisms/modals/ProblemExampleModal.d.ts +17 -0
- package/lib/components/organisms/modals/ProblemExampleModal.js +59 -0
- package/lib/components/organisms/modals/ProblemExampleModal.js.map +1 -0
- package/lib/components/organisms/modals/SearchModal.d.ts +3 -0
- package/lib/components/organisms/modals/SearchModal.js +16 -0
- package/lib/components/organisms/modals/SearchModal.js.map +1 -0
- package/lib/components/organisms/modals/UpdatePasswordModal.d.ts +12 -0
- package/lib/components/organisms/modals/UpdatePasswordModal.js +82 -0
- package/lib/components/organisms/modals/UpdatePasswordModal.js.map +1 -0
- package/lib/components/organisms/modals/index.d.ts +4 -0
- package/lib/components/organisms/modals/index.js +15 -0
- package/lib/components/organisms/modals/index.js.map +1 -0
- package/lib/components/organisms/modals/only_csr.d.ts +1 -0
- package/lib/components/organisms/modals/only_csr.js +9 -0
- package/lib/components/organisms/modals/only_csr.js.map +1 -0
- package/lib/components/organisms/only_csr.d.ts +1 -0
- package/lib/components/organisms/only_csr.js +18 -0
- package/lib/components/organisms/only_csr.js.map +1 -0
- package/lib/components/organisms/tables/BaseTable.d.ts +26 -0
- package/lib/components/organisms/tables/BaseTable.js +19 -0
- package/lib/components/organisms/tables/BaseTable.js.map +1 -0
- package/lib/components/organisms/tables/ContestTable.d.ts +10 -0
- package/lib/components/organisms/tables/ContestTable.js +15 -0
- package/lib/components/organisms/tables/ContestTable.js.map +1 -0
- package/lib/components/organisms/tables/ExploreTable.d.ts +12 -0
- package/lib/components/organisms/tables/ExploreTable.js +20 -0
- package/lib/components/organisms/tables/ExploreTable.js.map +1 -0
- package/lib/components/organisms/tables/ProblemTable.d.ts +18 -0
- package/lib/components/organisms/tables/ProblemTable.js +78 -0
- package/lib/components/organisms/tables/ProblemTable.js.map +1 -0
- package/lib/components/organisms/tables/RecordTable.d.ts +16 -0
- package/lib/components/organisms/tables/RecordTable.js +53 -0
- package/lib/components/organisms/tables/RecordTable.js.map +1 -0
- package/lib/components/organisms/tables/SubmitTable.d.ts +32 -0
- package/lib/components/organisms/tables/SubmitTable.js +178 -0
- package/lib/components/organisms/tables/SubmitTable.js.map +1 -0
- package/lib/components/organisms/tables/TestcaseTable.d.ts +18 -0
- package/lib/components/organisms/tables/TestcaseTable.js +82 -0
- package/lib/components/organisms/tables/TestcaseTable.js.map +1 -0
- package/lib/components/organisms/tables/UserTable.d.ts +21 -0
- package/lib/components/organisms/tables/UserTable.js +74 -0
- package/lib/components/organisms/tables/UserTable.js.map +1 -0
- package/lib/components/organisms/tables/index.d.ts +8 -0
- package/lib/components/organisms/tables/index.js +23 -0
- package/lib/components/organisms/tables/index.js.map +1 -0
- package/lib/components/organisms/timelines/SubmitByProblemTimeline.d.ts +21 -0
- package/lib/components/organisms/timelines/SubmitByProblemTimeline.js +118 -0
- package/lib/components/organisms/timelines/SubmitByProblemTimeline.js.map +1 -0
- package/lib/components/organisms/timelines/SubmitTimeline.d.ts +30 -0
- package/lib/components/organisms/timelines/SubmitTimeline.js +97 -0
- package/lib/components/organisms/timelines/SubmitTimeline.js.map +1 -0
- package/lib/components/organisms/timelines/index.d.ts +2 -0
- package/lib/components/organisms/timelines/index.js +11 -0
- package/lib/components/organisms/timelines/index.js.map +1 -0
- package/lib/components/organisms/toasts/CookieToast.d.ts +12 -0
- package/lib/components/organisms/toasts/CookieToast.js +27 -0
- package/lib/components/organisms/toasts/CookieToast.js.map +1 -0
- package/lib/components/organisms/toasts/Toast.d.ts +10 -0
- package/lib/components/organisms/toasts/Toast.js +43 -0
- package/lib/components/organisms/toasts/Toast.js.map +1 -0
- package/lib/components/organisms/toasts/index.d.ts +2 -0
- package/lib/components/organisms/toasts/index.js +11 -0
- package/lib/components/organisms/toasts/index.js.map +1 -0
- package/lib/components/providers/ClientProvider.d.ts +3 -0
- package/lib/components/providers/ClientProvider.js +13 -0
- package/lib/components/providers/ClientProvider.js.map +1 -0
- package/lib/components/providers/ConfigProvider.d.ts +9 -0
- package/lib/components/providers/ConfigProvider.js +96 -0
- package/lib/components/providers/ConfigProvider.js.map +1 -0
- package/lib/components/providers/DropdownProvider.d.ts +3 -0
- package/lib/components/providers/DropdownProvider.js +44 -0
- package/lib/components/providers/DropdownProvider.js.map +1 -0
- package/lib/components/providers/GlobalStyleProvider.d.ts +2 -0
- package/lib/components/providers/GlobalStyleProvider.js +22 -0
- package/lib/components/providers/GlobalStyleProvider.js.map +1 -0
- package/lib/components/providers/ModalProvider.d.ts +3 -0
- package/lib/components/providers/ModalProvider.js +28 -0
- package/lib/components/providers/ModalProvider.js.map +1 -0
- package/lib/components/providers/SWRProvider.d.ts +3 -0
- package/lib/components/providers/SWRProvider.js +55 -0
- package/lib/components/providers/SWRProvider.js.map +1 -0
- package/lib/components/providers/ScrollRestorationProvider.d.ts +2 -0
- package/lib/components/providers/ScrollRestorationProvider.js +50 -0
- package/lib/components/providers/ScrollRestorationProvider.js.map +1 -0
- package/lib/components/providers/ShortcutProvider.d.ts +2 -0
- package/lib/components/providers/ShortcutProvider.js +41 -0
- package/lib/components/providers/ShortcutProvider.js.map +1 -0
- package/lib/components/providers/ToastProvider.d.ts +2 -0
- package/lib/components/providers/ToastProvider.js +68 -0
- package/lib/components/providers/ToastProvider.js.map +1 -0
- package/lib/components/providers/TooltipProvider.d.ts +3 -0
- package/lib/components/providers/TooltipProvider.js +25 -0
- package/lib/components/providers/TooltipProvider.js.map +1 -0
- package/lib/components/providers/index.d.ts +10 -0
- package/lib/components/providers/index.js +27 -0
- package/lib/components/providers/index.js.map +1 -0
- package/lib/components/templates/CenterFormTemplate.d.ts +7 -0
- package/lib/components/templates/CenterFormTemplate.js +89 -0
- package/lib/components/templates/CenterFormTemplate.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/Editor/index.d.ts +19 -0
- package/lib/components/templates/CodeEditorTemplate/Editor/index.js +13 -0
- package/lib/components/templates/CodeEditorTemplate/Editor/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/Header/index.d.ts +18 -0
- package/lib/components/templates/CodeEditorTemplate/Header/index.js +73 -0
- package/lib/components/templates/CodeEditorTemplate/Header/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.d.ts +10 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.js +24 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.d.ts +7 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.js +9 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.d.ts +18 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.js +34 -0
- package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/Panel/index.d.ts +10 -0
- package/lib/components/templates/CodeEditorTemplate/Panel/index.js +125 -0
- package/lib/components/templates/CodeEditorTemplate/Panel/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.d.ts +10 -0
- package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.js +16 -0
- package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.d.ts +18 -0
- package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.js +34 -0
- package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/Resizer/index.d.ts +7 -0
- package/lib/components/templates/CodeEditorTemplate/Resizer/index.js +20 -0
- package/lib/components/templates/CodeEditorTemplate/Resizer/index.js.map +1 -0
- package/lib/components/templates/CodeEditorTemplate/index.d.ts +51 -0
- package/lib/components/templates/CodeEditorTemplate/index.js +283 -0
- package/lib/components/templates/CodeEditorTemplate/index.js.map +1 -0
- package/lib/components/templates/HeaderTemplate.d.ts +7 -0
- package/lib/components/templates/HeaderTemplate.js +12 -0
- package/lib/components/templates/HeaderTemplate.js.map +1 -0
- package/lib/components/templates/NavTemplate.d.ts +12 -0
- package/lib/components/templates/NavTemplate.js +13 -0
- package/lib/components/templates/NavTemplate.js.map +1 -0
- package/lib/components/templates/SidebarTemplate.d.ts +10 -0
- package/lib/components/templates/SidebarTemplate.js +31 -0
- package/lib/components/templates/SidebarTemplate.js.map +1 -0
- package/lib/components/templates/SubHeaderTemplate.d.ts +7 -0
- package/lib/components/templates/SubHeaderTemplate.js +21 -0
- package/lib/components/templates/SubHeaderTemplate.js.map +1 -0
- package/lib/components/templates/index.d.ts +6 -0
- package/lib/components/templates/index.js +32 -0
- package/lib/components/templates/index.js.map +1 -0
- package/lib/components/templates/only_csr.d.ts +1 -0
- package/lib/components/templates/only_csr.js +9 -0
- package/lib/components/templates/only_csr.js.map +1 -0
- package/lib/components/templates/opengraphs/MainOpengraphTemplate.d.ts +7 -0
- package/lib/components/templates/opengraphs/MainOpengraphTemplate.js +88 -0
- package/lib/components/templates/opengraphs/MainOpengraphTemplate.js.map +1 -0
- package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.d.ts +22 -0
- package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.js +173 -0
- package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.js.map +1 -0
- package/lib/components/templates/opengraphs/index.d.ts +2 -0
- package/lib/components/templates/opengraphs/index.js +11 -0
- package/lib/components/templates/opengraphs/index.js.map +1 -0
- package/lib/constants/components/atoms.d.ts +778 -0
- package/lib/constants/components/atoms.js +363 -0
- package/lib/constants/components/atoms.js.map +1 -0
- package/lib/constants/components/index.d.ts +3 -0
- package/lib/constants/components/index.js +20 -0
- package/lib/constants/components/index.js.map +1 -0
- package/lib/constants/components/molecules.d.ts +59 -0
- package/lib/constants/components/molecules.js +55 -0
- package/lib/constants/components/molecules.js.map +1 -0
- package/lib/constants/components/organisms.d.ts +8 -0
- package/lib/constants/components/organisms.js +11 -0
- package/lib/constants/components/organisms.js.map +1 -0
- package/lib/constants/keyboards/index.d.ts +1 -0
- package/lib/constants/keyboards/index.js +18 -0
- package/lib/constants/keyboards/index.js.map +1 -0
- package/lib/constants/keyboards/shortcuts.d.ts +302 -0
- package/lib/constants/keyboards/shortcuts.js +100 -0
- package/lib/constants/keyboards/shortcuts.js.map +1 -0
- package/lib/constants/metadata/index.d.ts +216 -0
- package/lib/constants/metadata/index.js +209 -0
- package/lib/constants/metadata/index.js.map +1 -0
- package/lib/constants/styles/className.d.ts +5 -0
- package/lib/constants/styles/className.js +7 -0
- package/lib/constants/styles/className.js.map +1 -0
- package/lib/constants/styles/codeEditor.d.ts +34 -0
- package/lib/constants/styles/codeEditor.js +39 -0
- package/lib/constants/styles/codeEditor.js.map +1 -0
- package/lib/constants/styles/color.d.ts +257 -0
- package/lib/constants/styles/color.js +327 -0
- package/lib/constants/styles/color.js.map +1 -0
- package/lib/constants/styles/effect.d.ts +15 -0
- package/lib/constants/styles/effect.js +98 -0
- package/lib/constants/styles/effect.js.map +1 -0
- package/lib/constants/styles/font.d.ts +212 -0
- package/lib/constants/styles/font.js +276 -0
- package/lib/constants/styles/font.js.map +1 -0
- package/lib/constants/styles/global.d.ts +2 -0
- package/lib/constants/styles/global.js +81 -0
- package/lib/constants/styles/global.js.map +1 -0
- package/lib/constants/styles/index.d.ts +22 -0
- package/lib/constants/styles/index.js +54 -0
- package/lib/constants/styles/index.js.map +1 -0
- package/lib/constants/styles/keyframe.d.ts +11 -0
- package/lib/constants/styles/keyframe.js +59 -0
- package/lib/constants/styles/keyframe.js.map +1 -0
- package/lib/constants/styles/size.d.ts +71 -0
- package/lib/constants/styles/size.js +72 -0
- package/lib/constants/styles/size.js.map +1 -0
- package/lib/constants/styles/text.d.ts +20 -0
- package/lib/constants/styles/text.js +121 -0
- package/lib/constants/styles/text.js.map +1 -0
- package/lib/constants/styles/time.d.ts +5 -0
- package/lib/constants/styles/time.js +7 -0
- package/lib/constants/styles/time.js.map +1 -0
- package/lib/constants/styles/zIndex.d.ts +9 -0
- package/lib/constants/styles/zIndex.js +11 -0
- package/lib/constants/styles/zIndex.js.map +1 -0
- package/lib/hooks/animations/index.d.ts +1 -0
- package/lib/hooks/animations/index.js +9 -0
- package/lib/hooks/animations/index.js.map +1 -0
- package/lib/hooks/animations/useNumberCountUpAnimation.d.ts +2 -0
- package/lib/hooks/animations/useNumberCountUpAnimation.js +25 -0
- package/lib/hooks/animations/useNumberCountUpAnimation.js.map +1 -0
- package/lib/hooks/components/buttons.d.ts +19 -0
- package/lib/hooks/components/buttons.js +82 -0
- package/lib/hooks/components/buttons.js.map +1 -0
- package/lib/hooks/components/index.d.ts +1 -0
- package/lib/hooks/components/index.js +18 -0
- package/lib/hooks/components/index.js.map +1 -0
- package/lib/hooks/day/index.d.ts +2 -0
- package/lib/hooks/day/index.js +20 -0
- package/lib/hooks/day/index.js.map +1 -0
- package/lib/hooks/instance/callback.d.ts +2 -0
- package/lib/hooks/instance/callback.js +32 -0
- package/lib/hooks/instance/callback.js.map +1 -0
- package/lib/hooks/instance/fetch.d.ts +15 -0
- package/lib/hooks/instance/fetch.js +109 -0
- package/lib/hooks/instance/fetch.js.map +1 -0
- package/lib/hooks/instance/index.d.ts +2 -0
- package/lib/hooks/instance/index.js +19 -0
- package/lib/hooks/instance/index.js.map +1 -0
- package/lib/hooks/keyboards/index.d.ts +1 -0
- package/lib/hooks/keyboards/index.js +18 -0
- package/lib/hooks/keyboards/index.js.map +1 -0
- package/lib/hooks/keyboards/shortcut.d.ts +4 -0
- package/lib/hooks/keyboards/shortcut.js +127 -0
- package/lib/hooks/keyboards/shortcut.js.map +1 -0
- package/lib/hooks/navigation/index.d.ts +5 -0
- package/lib/hooks/navigation/index.js +29 -0
- package/lib/hooks/navigation/index.js.map +1 -0
- package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.d.ts +2 -0
- package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.js +69 -0
- package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.js.map +1 -0
- package/lib/hooks/navigation/useLocation.d.ts +4 -0
- package/lib/hooks/navigation/useLocation.js +15 -0
- package/lib/hooks/navigation/useLocation.js.map +1 -0
- package/lib/hooks/navigation/useLoginCallbackSearchParam.d.ts +2 -0
- package/lib/hooks/navigation/useLoginCallbackSearchParam.js +23 -0
- package/lib/hooks/navigation/useLoginCallbackSearchParam.js.map +1 -0
- package/lib/hooks/navigation/usePathname.d.ts +18 -0
- package/lib/hooks/navigation/usePathname.js +30 -0
- package/lib/hooks/navigation/usePathname.js.map +1 -0
- package/lib/hooks/navigation/useSearchParamState.d.ts +11 -0
- package/lib/hooks/navigation/useSearchParamState.js +153 -0
- package/lib/hooks/navigation/useSearchParamState.js.map +1 -0
- package/lib/hooks/random/index.d.ts +1 -0
- package/lib/hooks/random/index.js +16 -0
- package/lib/hooks/random/index.js.map +1 -0
- package/lib/hooks/sockets/index.d.ts +4 -0
- package/lib/hooks/sockets/index.js +19 -0
- package/lib/hooks/sockets/index.js.map +1 -0
- package/lib/hooks/stores/auth.d.ts +9 -0
- package/lib/hooks/stores/auth.js +19 -0
- package/lib/hooks/stores/auth.js.map +1 -0
- package/lib/hooks/stores/client.d.ts +8 -0
- package/lib/hooks/stores/client.js +57 -0
- package/lib/hooks/stores/client.js.map +1 -0
- package/lib/hooks/stores/config.d.ts +12 -0
- package/lib/hooks/stores/config.js +15 -0
- package/lib/hooks/stores/config.js.map +1 -0
- package/lib/hooks/stores/dropdown.d.ts +43 -0
- package/lib/hooks/stores/dropdown.js +105 -0
- package/lib/hooks/stores/dropdown.js.map +1 -0
- package/lib/hooks/stores/header.d.ts +8 -0
- package/lib/hooks/stores/header.js +10 -0
- package/lib/hooks/stores/header.js.map +1 -0
- package/lib/hooks/stores/index.d.ts +9 -0
- package/lib/hooks/stores/index.js +26 -0
- package/lib/hooks/stores/index.js.map +1 -0
- package/lib/hooks/stores/modal.d.ts +30 -0
- package/lib/hooks/stores/modal.js +35 -0
- package/lib/hooks/stores/modal.js.map +1 -0
- package/lib/hooks/stores/shortcut.d.ts +14 -0
- package/lib/hooks/stores/shortcut.js +60 -0
- package/lib/hooks/stores/shortcut.js.map +1 -0
- package/lib/hooks/stores/theme.d.ts +8 -0
- package/lib/hooks/stores/theme.js +29 -0
- package/lib/hooks/stores/theme.js.map +1 -0
- package/lib/hooks/stores/tooltip.d.ts +29 -0
- package/lib/hooks/stores/tooltip.js +96 -0
- package/lib/hooks/stores/tooltip.js.map +1 -0
- package/lib/hooks/styles/index.d.ts +8 -0
- package/lib/hooks/styles/index.js +35 -0
- package/lib/hooks/styles/index.js.map +1 -0
- package/lib/hooks/styles/useDisableScrollEffect.d.ts +2 -0
- package/lib/hooks/styles/useDisableScrollEffect.js +28 -0
- package/lib/hooks/styles/useDisableScrollEffect.js.map +1 -0
- package/lib/hooks/styles/useDocumentStates.d.ts +9 -0
- package/lib/hooks/styles/useDocumentStates.js +36 -0
- package/lib/hooks/styles/useDocumentStates.js.map +1 -0
- package/lib/hooks/styles/useDropdownProps.d.ts +8 -0
- package/lib/hooks/styles/useDropdownProps.js +49 -0
- package/lib/hooks/styles/useDropdownProps.js.map +1 -0
- package/lib/hooks/styles/useElementStates.d.ts +13 -0
- package/lib/hooks/styles/useElementStates.js +86 -0
- package/lib/hooks/styles/useElementStates.js.map +1 -0
- package/lib/hooks/styles/useGrid.d.ts +1 -0
- package/lib/hooks/styles/useGrid.js +12 -0
- package/lib/hooks/styles/useGrid.js.map +1 -0
- package/lib/hooks/styles/useHoverProps.d.ts +11 -0
- package/lib/hooks/styles/useHoverProps.js +26 -0
- package/lib/hooks/styles/useHoverProps.js.map +1 -0
- package/lib/hooks/styles/useScrollSelectedIntoViewEffect.d.ts +3 -0
- package/lib/hooks/styles/useScrollSelectedIntoViewEffect.js +39 -0
- package/lib/hooks/styles/useScrollSelectedIntoViewEffect.js.map +1 -0
- package/lib/types/components.d.ts +3 -0
- package/lib/types/components.js +3 -0
- package/lib/types/components.js.map +1 -0
- package/lib/types/styles/index.d.ts +1 -0
- package/lib/types/styles/index.js +3 -0
- package/lib/types/styles/index.js.map +1 -0
- package/lib/types/styles/theme.d.ts +84 -0
- package/lib/types/styles/theme.js +3 -0
- package/lib/types/styles/theme.js.map +1 -0
- package/lib/types/utils.d.ts +1 -0
- package/lib/types/utils.js +3 -0
- package/lib/types/utils.js.map +1 -0
- package/lib/utils/avatar/index.d.ts +3 -0
- package/lib/utils/avatar/index.js +26 -0
- package/lib/utils/avatar/index.js.map +1 -0
- package/lib/utils/clientStorages/codeEditor.d.ts +4 -0
- package/lib/utils/clientStorages/codeEditor.js +51 -0
- package/lib/utils/clientStorages/codeEditor.js.map +1 -0
- package/lib/utils/clientStorages/common.d.ts +16 -0
- package/lib/utils/clientStorages/common.js +105 -0
- package/lib/utils/clientStorages/common.js.map +1 -0
- package/lib/utils/clientStorages/config.d.ts +8 -0
- package/lib/utils/clientStorages/config.js +79 -0
- package/lib/utils/clientStorages/config.js.map +1 -0
- package/lib/utils/clientStorages/cookieable.d.ts +8 -0
- package/lib/utils/clientStorages/cookieable.js +22 -0
- package/lib/utils/clientStorages/cookieable.js.map +1 -0
- package/lib/utils/clientStorages/index.d.ts +5 -0
- package/lib/utils/clientStorages/index.js +22 -0
- package/lib/utils/clientStorages/index.js.map +1 -0
- package/lib/utils/clientStorages/login.d.ts +5 -0
- package/lib/utils/clientStorages/login.js +25 -0
- package/lib/utils/clientStorages/login.js.map +1 -0
- package/lib/utils/clipboards/index.d.ts +4 -0
- package/lib/utils/clipboards/index.js +41 -0
- package/lib/utils/clipboards/index.js.map +1 -0
- package/lib/utils/downloads/index.d.ts +1 -0
- package/lib/utils/downloads/index.js +16 -0
- package/lib/utils/downloads/index.js.map +1 -0
- package/lib/utils/hrefs/cell.d.ts +1 -0
- package/lib/utils/hrefs/cell.js +15 -0
- package/lib/utils/hrefs/cell.js.map +1 -0
- package/lib/utils/hrefs/index.d.ts +1 -0
- package/lib/utils/hrefs/index.js +18 -0
- package/lib/utils/hrefs/index.js.map +1 -0
- package/lib/utils/image/convert.d.ts +3 -0
- package/lib/utils/image/convert.js +90 -0
- package/lib/utils/image/convert.js.map +1 -0
- package/lib/utils/image/index.d.ts +1 -0
- package/lib/utils/image/index.js +18 -0
- package/lib/utils/image/index.js.map +1 -0
- package/lib/utils/instance/index.d.ts +4 -0
- package/lib/utils/instance/index.js +11 -0
- package/lib/utils/instance/index.js.map +1 -0
- package/lib/utils/shortcuts/index.d.ts +5 -0
- package/lib/utils/shortcuts/index.js +78 -0
- package/lib/utils/shortcuts/index.js.map +1 -0
- package/lib/utils/socket/index.d.ts +15 -0
- package/lib/utils/socket/index.js +105 -0
- package/lib/utils/socket/index.js.map +1 -0
- package/lib/utils/stores/index.d.ts +1 -0
- package/lib/utils/stores/index.js +18 -0
- package/lib/utils/stores/index.js.map +1 -0
- package/lib/utils/styles/color.d.ts +89 -0
- package/lib/utils/styles/color.js +284 -0
- package/lib/utils/styles/color.js.map +1 -0
- package/lib/utils/styles/global.d.ts +19 -0
- package/lib/utils/styles/global.js +32 -0
- package/lib/utils/styles/global.js.map +1 -0
- package/lib/utils/styles/index.d.ts +4 -0
- package/lib/utils/styles/index.js +27 -0
- package/lib/utils/styles/index.js.map +1 -0
- package/lib/utils/styles/theme.d.ts +224 -0
- package/lib/utils/styles/theme.js +19 -0
- package/lib/utils/styles/theme.js.map +1 -0
- package/lib/utils/styles/wrapper.d.ts +5 -0
- package/lib/utils/styles/wrapper.js +164 -0
- package/lib/utils/styles/wrapper.js.map +1 -0
- package/lib/utils/submits/index.d.ts +11 -0
- package/lib/utils/submits/index.js +83 -0
- package/lib/utils/submits/index.js.map +1 -0
- package/lib/utils/toasts/index.d.ts +2 -0
- package/lib/utils/toasts/index.js +20 -0
- package/lib/utils/toasts/index.js.map +1 -0
- package/package.json +58 -3
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = require("styled-components");
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const atoms_1 = require("../../../components/atoms");
|
|
11
|
+
const molecules_1 = require("../../../components/molecules");
|
|
12
|
+
const paletteByType = {
|
|
13
|
+
plain: 'body',
|
|
14
|
+
info: 'body-info',
|
|
15
|
+
success: 'body-success',
|
|
16
|
+
warning: 'body-warning',
|
|
17
|
+
error: 'body-error',
|
|
18
|
+
};
|
|
19
|
+
const iconByType = {
|
|
20
|
+
info: 'hero/information-circle-outline',
|
|
21
|
+
success: 'hero/check-circle-outline',
|
|
22
|
+
warning: 'hero/exclamation-triangle-outline',
|
|
23
|
+
error: 'hero/x-circle-outline',
|
|
24
|
+
};
|
|
25
|
+
exports.default = react_1.default.memo(({ type = 'plain', icon = type in iconByType
|
|
26
|
+
? iconByType[type]
|
|
27
|
+
: undefined, title, description, palette = paletteByType[type], isLoading = false, children, $css, ...props }) => {
|
|
28
|
+
var _a, _b, _c, _d, _e;
|
|
29
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$padding": styles_1.theme.size.margin.base.large, "$background": (_a = styles_1.theme.color.palettes[palette]) === null || _a === void 0 ? void 0 : _a['background-selected'], "$border": `1px solid ${(_b = styles_1.theme.color.palettes[palette]) === null || _b === void 0 ? void 0 : _b['border-primary']}`, "$borderRadius": styles_1.theme.size.borderRadius.medium, "$transition": "background, border", "$css": [
|
|
30
|
+
styles_1.theme.effect.adaptiveStyle((0, styled_components_1.css) `
|
|
31
|
+
padding: ${styles_1.theme.size.margin.base.medium}px;
|
|
32
|
+
`, [undefined, styles_1.theme.size.width.adaptives.tablet]),
|
|
33
|
+
$css,
|
|
34
|
+
], "$overflow": true, ...props, children: [!isLoading && (!!icon || !!title || !!description) && ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "flex-start", "$gap": styles_1.theme.size.margin.base.small, children: [!!icon && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": (_c = styles_1.theme.color.palettes[palette]) === null || _c === void 0 ? void 0 : _c['content-highlight'], "$size": styles_1.theme.size.height.base.small, "$flexShrink": 0 })), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$gap": styles_1.theme.size.margin.base.x_small, "$width": 0, "$flexGrow": true, children: [!!title && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium-bold", value: title, "$color": (_d = styles_1.theme.color.palettes[palette]) === null || _d === void 0 ? void 0 : _d['content-highlight'] })), !!description && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium", value: description, "$color": (_e = styles_1.theme.color.palettes[palette]) === null || _e === void 0 ? void 0 : _e['content-secondary'] }))] })] })), !!isLoading && ((0, jsx_runtime_1.jsx)(molecules_1.Empty, { type: "loading", "$paddingVertical": styles_1.theme.size.margin.base.medium })), children] }));
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=CalloutTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalloutTray.js","sourceRoot":"","sources":["../../../../src/components/molec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,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Palette } from '../../../constants/styles/color';
|
|
3
|
+
import { Container } from '../../../components/atoms';
|
|
4
|
+
import { CodeEditor } from '../../../components/atoms/only_csr';
|
|
5
|
+
import { Text } from '../../../components/atoms/texts';
|
|
6
|
+
import { Dropdown } from '../../../components/molecules';
|
|
7
|
+
type Props = {
|
|
8
|
+
title?: React.ComponentProps<typeof Text>['value'];
|
|
9
|
+
language?: React.ComponentProps<typeof CodeEditor>['language'];
|
|
10
|
+
isReadOnly?: React.ComponentProps<typeof CodeEditor>['isReadOnly'];
|
|
11
|
+
initValue?: React.ComponentProps<typeof CodeEditor>['initValue'];
|
|
12
|
+
onChangeValue?: React.ComponentProps<typeof CodeEditor>['onChangeValue'];
|
|
13
|
+
dropdownSections?: React.ComponentProps<typeof Dropdown>['sections'];
|
|
14
|
+
palette?: Palette;
|
|
15
|
+
} & React.ComponentProps<typeof Container>;
|
|
16
|
+
declare const _default: React.MemoExoticComponent<({ title, language, isReadOnly, initValue, onChangeValue, dropdownSections, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const dropdown_1 = require("../../../hooks/stores/dropdown");
|
|
11
|
+
const atoms_1 = require("../../../components/atoms");
|
|
12
|
+
const only_csr_1 = require("../../../components/atoms/only_csr");
|
|
13
|
+
const texts_1 = require("../../../components/atoms/texts");
|
|
14
|
+
const molecules_1 = require("../../../components/molecules");
|
|
15
|
+
exports.default = react_1.default.memo(({ title, language, isReadOnly, initValue, onChangeValue, dropdownSections, palette = 'body', ...props }) => {
|
|
16
|
+
const moreButtonRef = react_1.default.useRef(null);
|
|
17
|
+
(0, dropdown_1.useDropdownEffect)(moreButtonRef, (0, jsx_runtime_1.jsx)(molecules_1.Dropdown, { sections: dropdownSections }), 'bottom-end', {}, [dropdownSections]);
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$transition": "background, border", "$overflow": true, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$height": styles_1.theme.size.height.tray_header, "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderBottom": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$gap": styles_1.theme.size.margin.base.x_small, "$transition": "background, border", "$overflow": true, children: [(0, jsx_runtime_1.jsx)(texts_1.Text, { value: title, "$width": 0, "$flexGrow": true, "$ellipsis": true }), !!dropdownSections && ((0, jsx_runtime_1.jsx)(atoms_1.TextButton, { ref: moreButtonRef, size: "medium", icon: "hero/ellipsis-horizontal-outline", palette: "button-ghost-borderless" }))] }), (0, jsx_runtime_1.jsx)(only_csr_1.CodeEditor, { language: language, isReadOnly: isReadOnly, initValue: initValue, onChangeValue: onChangeValue, "$width": "100%" })] }));
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=CodeTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/CodeTray.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AA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BAAgB,IAAI,CACrB,uBAAC,kBAAU,IACT,GAAG,EAAE,aAAa,EAClB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,kCAAkC,EACvC,OAAO,EAAC,yBAAyB,GACjC,CACH,IACS,EACZ,uBAAC,qBAAU,IACT,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,YACrB,MAAM,GACb,IACQ,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Palette } from '../../../constants/styles';
|
|
3
|
+
import { Container, Text } from '../../../components/atoms';
|
|
4
|
+
type Props = {
|
|
5
|
+
title?: React.ComponentProps<typeof Text>['value'];
|
|
6
|
+
downloadFileName?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
onClickInput?: () => void;
|
|
9
|
+
onClickWide?: () => void;
|
|
10
|
+
onClickOpen?: () => void;
|
|
11
|
+
palette?: Palette;
|
|
12
|
+
} & React.ComponentProps<typeof Container>;
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ title, downloadFileName, value, onClickInput, onClickWide, onClickOpen, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const components_1 = require("../../../hooks/components");
|
|
11
|
+
const stores_1 = require("../../../hooks/stores");
|
|
12
|
+
const atoms_1 = require("../../../components/atoms");
|
|
13
|
+
const molecules_1 = require("../../../components/molecules");
|
|
14
|
+
const transExampleToHtml = (html) => html.split('\n').join('<br>').split(' ').join(' ');
|
|
15
|
+
exports.default = react_1.default.memo(({ title, downloadFileName = 'example.txt', value, onClickInput, onClickWide, onClickOpen, palette = 'body', ...props }) => {
|
|
16
|
+
const { editorConfig } = (0, stores_1.useConfigStore)();
|
|
17
|
+
const coupleButtonRef = react_1.default.useRef(null);
|
|
18
|
+
const [isOpen, setIsOpen] = react_1.default.useState(false);
|
|
19
|
+
const copyButton = (0, components_1.useCopyTextButton)(value);
|
|
20
|
+
const inputButton = react_1.default.useMemo(() => onClickInput
|
|
21
|
+
? {
|
|
22
|
+
key: 'input',
|
|
23
|
+
icon: 'hero/arrow-right-end-on-rectangle-outline',
|
|
24
|
+
text: '입력하기',
|
|
25
|
+
onClick: onClickInput,
|
|
26
|
+
}
|
|
27
|
+
: undefined, [onClickInput]);
|
|
28
|
+
const wideButton = react_1.default.useMemo(() => onClickWide
|
|
29
|
+
? {
|
|
30
|
+
key: 'wide',
|
|
31
|
+
icon: 'hero/arrows-pointing-out-outline',
|
|
32
|
+
text: '넓게보기',
|
|
33
|
+
onClick: onClickWide,
|
|
34
|
+
}
|
|
35
|
+
: undefined, [onClickWide]);
|
|
36
|
+
const openButton = react_1.default.useMemo(() => onClickOpen
|
|
37
|
+
? {
|
|
38
|
+
key: 'open',
|
|
39
|
+
icon: 'hero/document-outline',
|
|
40
|
+
text: '열기',
|
|
41
|
+
onClick: onClickOpen,
|
|
42
|
+
}
|
|
43
|
+
: undefined, [onClickOpen]);
|
|
44
|
+
const downloadButton = (0, components_1.useDownloadTxtTextButton)(value, downloadFileName);
|
|
45
|
+
const leftButton = inputButton || copyButton;
|
|
46
|
+
const rightButton = react_1.default.useMemo(() => ({
|
|
47
|
+
icon: 'hero/ellipsis-horizontal-outline',
|
|
48
|
+
onClick: () => setIsOpen(x => !x),
|
|
49
|
+
}), [setIsOpen]);
|
|
50
|
+
const sections = react_1.default.useMemo(() => [
|
|
51
|
+
{
|
|
52
|
+
key: 'main',
|
|
53
|
+
textButtons: [
|
|
54
|
+
...(inputButton ? [copyButton] : []),
|
|
55
|
+
...(wideButton ? [wideButton] : []),
|
|
56
|
+
...(openButton ? [openButton] : []),
|
|
57
|
+
downloadButton,
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
], [copyButton, inputButton, wideButton, openButton, downloadButton]);
|
|
61
|
+
(0, stores_1.useDropdownEffect)(coupleButtonRef, (0, jsx_runtime_1.jsx)(molecules_1.Dropdown, { sections: sections }), 'bottom-end', { isOpen, setIsOpen }, [sections]);
|
|
62
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$transition": "background, border", "$overflow": true, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$height": styles_1.theme.size.height.tray_header, "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderBottom": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$gap": styles_1.theme.size.margin.base.x_small, "$transition": "background, border", "$overflow": true, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { value: title, "$width": 0, "$flexGrow": true, "$ellipsis": true }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.TextButton, { type: "plain", size: "small", palette: "button-ghost-softly", ...leftButton }), (0, jsx_runtime_1.jsx)(atoms_1.TextButton, { type: "plain", size: "small", ref: coupleButtonRef, palette: "button-ghost-softly", ...rightButton })] })] }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$paddingVertical": styles_1.theme.size.margin.base.medium, "$font": editorConfig.font, dangerouslySetInnerHTML: { __html: transExampleToHtml(value || '') } })] }));
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=ProblemExampleTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProblemExampleTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/ProblemExampleTray.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAI1B,2CAAuC;AAEvC,mDAG4B;AAC5B,2CAAmE;AAEnE,8CAAiE;AACjE,sDAAkD;AAYlD,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAU,EAAE,CAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAE1D,kBAAe,eAAK,CAAC,IAAI,CACvB,CAAC,EACC,KAAK,EACL,gBAAgB,GAAG,aAAa,EAChC,KAAK,EACL,YAAY,EACZ,WAAW,EACX,WAAW,EACX,OAAO,GAAG,MAAM,EAChB,GAAG,KAAK,EACF,EAAE,EAAE;IACV,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC1C,MAAM,eAAe,GAAG,eAAK,CAAC,MAAM,CAAoB,IAAI,CAAC,CAAC;IAC9D,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAU,KAAK,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG,IAAA,8BAAiB,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,WAAW,GAAG,eAAK,CAAC,OAAO,CAG/B,GAAG,EAAE,CACH,YAAY;QACV,CAAC,CAAC;YACE,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,2CAA2C;YACjD,IAAI,EAAE,MAAM;YACZ,OAAO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IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,qBAAqB,KACzB,UAAU,GACd,EACF,uBAAC,kBAAU,IACT,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,eAAe,EACpB,OAAO,EAAC,qBAAqB,KACzB,WAAW,GACf,IACQ,IACF,EACZ,uBAAC,iBAAS,0BACY,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,sBAC/B,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,WACxC,YAAY,CAAC,IAAI,EACxB,uBAAuB,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,GACpE,IACQ,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Palette } from '../../../constants/styles';
|
|
3
|
+
import { Text } from '../../../components/atoms';
|
|
4
|
+
import { Container } from '../../../components/atoms';
|
|
5
|
+
type Props = {
|
|
6
|
+
solvesCount?: number;
|
|
7
|
+
problemsCount?: number;
|
|
8
|
+
description?: React.ComponentProps<typeof Text>['value'];
|
|
9
|
+
palette?: Palette;
|
|
10
|
+
} & React.ComponentProps<typeof Container>;
|
|
11
|
+
declare const _default: ({ solvesCount, problemsCount, description, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const animations_1 = require("../../../hooks/animations");
|
|
11
|
+
const styles_2 = require("../../../hooks/styles");
|
|
12
|
+
const atoms_1 = require("../../../components/atoms");
|
|
13
|
+
const atoms_2 = require("../../../components/atoms");
|
|
14
|
+
const PercentageText = ({ value, ...props }) => {
|
|
15
|
+
const animatedValue = (0, animations_1.useNumberCountUpAnimation)(value, 0);
|
|
16
|
+
return (0, jsx_runtime_1.jsx)(atoms_1.Text, { value: `${animatedValue}%`, ...props });
|
|
17
|
+
};
|
|
18
|
+
exports.default = ({ solvesCount = 0, problemsCount = 0, description, palette = 'body', ...props }) => {
|
|
19
|
+
const ref = react_1.default.useRef(null);
|
|
20
|
+
const { isVisible, offsetWidth } = (0, styles_2.useElementStates)(ref);
|
|
21
|
+
const layout = react_1.default.useMemo(() => !offsetWidth || offsetWidth >= styles_1.theme.size.width.adaptives.tablet
|
|
22
|
+
? 'split'
|
|
23
|
+
: offsetWidth >= styles_1.theme.size.width.adaptives.mobile
|
|
24
|
+
? 'stack'
|
|
25
|
+
: 'compact', [offsetWidth]);
|
|
26
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_2.Container, { ref: ref, "$position": "relative", "$display": layout === 'split' ? 'flex' : 'block', "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$borderRadius": styles_1.theme.size.borderRadius.medium, "$transition": "background, border", "$overflow": true, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_2.Container, { "$width": layout === 'split' ? 240 : '100%', "$padding": layout === 'split'
|
|
27
|
+
? styles_1.theme.size.margin.base.large
|
|
28
|
+
: styles_1.theme.size.margin.base.medium, "$background": styles_1.theme.color.palettes['button-solid']['background-primary'], children: [isVisible ? ((0, jsx_runtime_1.jsx)(PercentageText, { type: "x_large-bold", value: problemsCount > 0 ? (solvesCount / problemsCount) * 100 : 0, "$color": styles_1.theme.color.palettes['body-dark']['content-primary'] })) : ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_large-bold", value: "-", "$color": styles_1.theme.color.palettes['body-dark']['content-primary'] })), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `${solvesCount} / ${problemsCount} 해결`, "$color": styles_1.theme.color.palettes['body-dark']['content-secondary'] })] }), (0, jsx_runtime_1.jsx)(atoms_2.Container, { "$width": layout === 'split' ? 0 : '100%', "$padding": layout === 'split'
|
|
29
|
+
? styles_1.theme.size.margin.base.large
|
|
30
|
+
: styles_1.theme.size.margin.base.medium, "$flexGrow": true, children: !!description && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { value: description, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] })) })] }));
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=ProblemSetOverviewTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProblemSetOverviewTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/ProblemSetOverviewTray.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAI1B,2CAAuC;AAEvC,mDAA+D;AAC/D,2CAAkD;AAElD,8CAA0C;AAC1C,8CAA+C;AAS/C,MAAM,cAAc,GAAG,CAAC,EACtB,KAAK,EACL,GAAG,KAAK,EAC8C,EAAE,EAAE;IAC1D,MAAM,aAAa,GAAG,IAAA,sCAAyB,EAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAC1D,OAAO,uBAAC,YAAI,IAAC,KAAK,EAAE,GAAG,aAAa,GAAG,KAAM,KAAK,GAAI,CAAC;AACzD,CAAC,CAAC;AAEF,kBAAe,CAAC,EACd,WAAW,GAAG,CAAC,EACf,aAAa,GAAG,CAAC,EACjB,WAAW,EACX,OAAO,GAAG,MAAM,EAChB,GAAG,KAAK,EACF,EAAE,EAAE;IACV,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C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E,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,GAAG,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,YAC1D,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,iBAAiB,CAAC,GAC5D,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,YAAI,IACH,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,GAAG,YACD,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,iBAAiB,CAAC,GAC5D,CACH,EACD,uBAAC,YAAI,IACH,IAAI,EAAC,SAAS,EACd,KAAK,EAAE,GAAG,WAAW,MAAM,aAAa,KAAK,YACrC,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,mBAAmB,CAAC,GAC9D,IACQ,EACZ,uBAAC,iBAAS,cACA,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,cAErC,MAAM,KAAK,OAAO;oBAChB,CAAC,CAAC,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK;oBAC9B,CAAC,CAAC,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,+BAIlC,CAAC,CAAC,WAAW,IAAI,CAChB,uBAAC,YAAI,IACH,KAAK,EAAE,WAAW,YACV,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,mBAAmB,CAAC,GAC1D,CACH,GACS,IACF,CACb,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AvatarButton, ClickableContainer, Container, Icon, Text } from '../../../components/atoms';
|
|
3
|
+
type CellButtonProps = {
|
|
4
|
+
icon?: React.ComponentProps<typeof Icon>['type'];
|
|
5
|
+
title: React.ComponentProps<typeof Text>['value'];
|
|
6
|
+
count?: number;
|
|
7
|
+
unit?: React.ComponentProps<typeof Text>['value'];
|
|
8
|
+
$iconAutoFill?: React.ComponentProps<typeof Icon>['$autoFill'];
|
|
9
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
10
|
+
type Props = {
|
|
11
|
+
title: React.ComponentProps<typeof Text>['value'];
|
|
12
|
+
rank?: number;
|
|
13
|
+
totalCount?: number;
|
|
14
|
+
userId: React.ComponentProps<typeof AvatarButton>['id'];
|
|
15
|
+
userProfileImageUrl?: React.ComponentProps<typeof AvatarButton>['src'];
|
|
16
|
+
userProfileHref?: React.ComponentProps<typeof AvatarButton>['href'];
|
|
17
|
+
userMessage?: React.ComponentProps<typeof Text>['value'];
|
|
18
|
+
cellButtons?: CellButtonProps[];
|
|
19
|
+
} & React.ComponentProps<typeof Container>;
|
|
20
|
+
declare const _default: ({ title, rank, totalCount, userId, userProfileImageUrl, userProfileHref, userMessage, cellButtons, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const animations_1 = require("../../../hooks/animations");
|
|
11
|
+
const styles_2 = require("../../../hooks/styles");
|
|
12
|
+
const atoms_1 = require("../../../components/atoms");
|
|
13
|
+
const CellButton = ({ icon, title, count, unit, $iconAutoFill, ...props }) => {
|
|
14
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$display": "flex", "$flexDirection": "column", "$paddingVertical": styles_1.theme.size.margin.base.medium, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$background": isHover
|
|
16
|
+
? styles_1.theme.color.palettes.body['background-primary']
|
|
17
|
+
: styles_1.theme.color.palettes.body['background-selected'], "$border": `1px solid ${styles_1.theme.color.palettes.body['border-primary']}`, "$borderRadius": styles_1.theme.size.borderRadius.small, "$transition": "background, border", "$overflow": true, ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.x_small, children: [!!icon && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": $iconAutoFill, "$size": styles_1.theme.size.height.base.x_small })), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small-bold", value: title })] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "end", "$gap": styles_1.theme.size.margin.base.x_small, "$marginTop": styles_1.theme.size.margin.base.x_small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "large-bold", value: typeof count === 'number' ? count.toLocaleString() : '-' }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: unit, "$color": styles_1.theme.color.palettes.body['content-secondary'], "$marginBottom": 4 })] })] }));
|
|
18
|
+
};
|
|
19
|
+
exports.default = ({ title, rank, totalCount, userId, userProfileImageUrl, userProfileHref, userMessage, cellButtons, ...props }) => {
|
|
20
|
+
const ref = react_1.default.useRef(null);
|
|
21
|
+
const { isVisible, offsetWidth } = (0, styles_2.useElementStates)(ref);
|
|
22
|
+
const animatedRank = (0, animations_1.useNumberCountUpAnimation)(isVisible && typeof rank === 'number' ? rank : 0);
|
|
23
|
+
const layout = react_1.default.useMemo(() => !offsetWidth || offsetWidth >= styles_1.theme.size.width.adaptives.tablet
|
|
24
|
+
? 'split'
|
|
25
|
+
: offsetWidth >= styles_1.theme.size.width.adaptives.mobile
|
|
26
|
+
? 'stack'
|
|
27
|
+
: 'compact', [offsetWidth]);
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { ref: ref, "$position": "relative", "$display": layout === 'split' ? 'flex' : 'block', "$background": styles_1.theme.color.palettes.body['background-selected'], "$border": `1px solid ${styles_1.theme.color.palettes.body['border-primary']}`, "$borderRadius": styles_1.theme.size.borderRadius.medium, "$transition": "background, border", "$overflow": true, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$width": layout === 'split' ? 240 : '100%', "$padding": layout === 'split'
|
|
29
|
+
? styles_1.theme.size.margin.base.large
|
|
30
|
+
: styles_1.theme.size.margin.base.medium, "$background": styles_1.theme.color.palettes['button-solid']['background-primary'], children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: title, "$color": styles_1.theme.color.palettes['button-solid']['content-primary'] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "baseline", "$gap": styles_1.theme.size.margin.base.x_small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "3x_large-bold", value: typeof rank === 'number' ? animatedRank : '-', "$color": styles_1.theme.color.palettes['button-solid']['content-primary'] }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "large-bold", value: "\uC704", "$color": styles_1.theme.color.palettes['button-solid']['content-primary'] })] }), typeof totalCount === 'number' &&
|
|
31
|
+
typeof rank === 'number' &&
|
|
32
|
+
totalCount > 0 &&
|
|
33
|
+
rank > 0 && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", children: (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$height": styles_1.theme.size.height.base.small, "$paddingHorizontal": styles_1.theme.size.margin.base.small, "$borderRadius": styles_1.theme.size.borderRadius.small, "$background": styles_1.theme.color.with_opacity.button(styles_1.theme.color.palettes['button-solid']['content-primary']), children: (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small-bold", value: `상위 ${((rank / totalCount) * 100).toFixed(2)}%`, "$color": styles_1.theme.color.palettes['button-solid']['content-primary'] }) }) }))] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-between", "$padding": layout === 'split'
|
|
34
|
+
? styles_1.theme.size.margin.base.large
|
|
35
|
+
: styles_1.theme.size.margin.base.medium, "$width": layout === 'split' ? 0 : '100%', "$flexGrow": true, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.AvatarButton, { size: "large", id: userId, src: userProfileImageUrl, href: userProfileHref }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$width": 0, "$flexGrow": true, "$overflow": true, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium", value: userId, "$color": styles_1.theme.color.palettes.body['content-primary'], "$ellipsis": true }), !!userMessage && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: userMessage, "$color": styles_1.theme.color.palettes.body['content-secondary'], "$ellipsis": true }))] }), !!userProfileHref && ((0, jsx_runtime_1.jsx)(atoms_1.TextButton, { size: "small", text: "\uB0B4 \uD504\uB85C\uD544 \uD655\uC778", palette: "button-soft", href: userProfileHref }))] }), Array.isArray(cellButtons) && cellButtons.length > 0 && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "grid", "$gridTemplateColumns": styles_1.theme.size.width.cards.small, "$gap": styles_1.theme.size.margin.base.small, "$marginTop": styles_1.theme.size.margin.base.medium, children: cellButtons.map((button, index) => ((0, jsx_runtime_1.jsx)(CellButton, { ...button }, index))) }))] })] }));
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=RankOverviewTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RankOverviewTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/RankOverviewTray.tsx"],"names":[],"mapp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
+
import { AvatarButton, Container, TextButton } from '../../../components/atoms';
|
|
3
|
+
type SinglePodiumContainerProps = {
|
|
4
|
+
avatarButton: React.ComponentProps<typeof AvatarButton>;
|
|
5
|
+
text?: React.ComponentProps<typeof TextButton>['text'];
|
|
6
|
+
index: 1 | 2 | 3;
|
|
7
|
+
extraChildren?: React.ReactNode;
|
|
8
|
+
} & React.ComponentProps<typeof Container>;
|
|
9
|
+
type Props = {
|
|
10
|
+
values?: Omit<SinglePodiumContainerProps, 'index'>[];
|
|
11
|
+
} & React.ComponentProps<typeof Container>;
|
|
12
|
+
declare const _default: ({ values, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const styles_1 = require("../../../utils/styles");
|
|
5
|
+
const atoms_1 = require("../../../components/atoms");
|
|
6
|
+
const SinglePodiumContainer = ({ avatarButton, text, index, extraChildren, ...props }) => {
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$display": "flex", "$flexDirection": "column", ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$flexGrow": index === 2 || index === 3 }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$alignItems": "center", children: [(0, jsx_runtime_1.jsx)(atoms_1.AvatarButton, { size: "large", ...avatarButton }), !!text && ((0, jsx_runtime_1.jsx)(atoms_1.TextButton, { type: "plain", text: text, href: avatarButton.href, isUnderlineEffect: true, "$ellipsis": true }))] }), extraChildren, (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$background": styles_1.theme.color.palettes.body['background-selected'], "$borderRadius": `${styles_1.theme.size.borderRadius.small}px ${styles_1.theme.size.borderRadius.small}px 0 0`, "$border": `1px solid ${styles_1.theme.color.palettes.body['border-primary']}`, "$marginTop": styles_1.theme.size.margin.base.small, "$borderBottom": "none", "$flexGrow": index === 1 || index === 2, children: (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: index === 1 ? 'x_large-bold' : 'large-bold', value: index, "$textAlign": "center", "$color": index === 1
|
|
8
|
+
? styles_1.theme.color.base.extra.gold
|
|
9
|
+
: index === 2
|
|
10
|
+
? styles_1.theme.color.base.extra.silver
|
|
11
|
+
: styles_1.theme.color.base.extra.bronze, "$marginTop": styles_1.theme.size.margin.base.small }) })] }));
|
|
12
|
+
};
|
|
13
|
+
exports.default = ({ values, ...props }) => {
|
|
14
|
+
const first = values === null || values === void 0 ? void 0 : values[0];
|
|
15
|
+
const second = values === null || values === void 0 ? void 0 : values[1];
|
|
16
|
+
const third = values === null || values === void 0 ? void 0 : values[2];
|
|
17
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$display": "flex", "$gap": styles_1.theme.size.margin.base.small, ...props, children: [second ? ((0, jsx_runtime_1.jsx)(SinglePodiumContainer, { index: 2, "$width": 0, "$flexGrow": true, ...second })) : ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": 0, "$flexGrow": true })), first ? ((0, jsx_runtime_1.jsx)(SinglePodiumContainer, { index: 1, "$width": 0, "$flexGrow": true, ...first })) : ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": 0, "$flexGrow": true })), third ? ((0, jsx_runtime_1.jsx)(SinglePodiumContainer, { index: 3, "$width": 0, "$flexGrow": true, ...third })) : ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": 0, "$flexGrow": true }))] }));
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=RankPodiumTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RankPodiumTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/RankPodiumTray.tsx"],"names":[],"mappings":";;;AAEA,2CAAuC;AAEvC,8CAA+E;AAa/E,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ACS,CACb,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Palette } from '../../../constants/styles/color';
|
|
3
|
+
import { Avatar, ClickableContainer, Container, Icon, Text } from '../../../components/atoms';
|
|
4
|
+
type ButtonProps = {
|
|
5
|
+
avatar?: React.ComponentProps<typeof Avatar>;
|
|
6
|
+
text?: React.ComponentProps<typeof Text>['value'];
|
|
7
|
+
description?: React.ComponentProps<typeof Text>['value'];
|
|
8
|
+
index: number;
|
|
9
|
+
palette?: Palette;
|
|
10
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
11
|
+
type Props = {
|
|
12
|
+
icon?: React.ComponentProps<typeof Icon>['type'];
|
|
13
|
+
title?: React.ComponentProps<typeof Text>['value'];
|
|
14
|
+
values?: Omit<ButtonProps, 'index'>[];
|
|
15
|
+
bottomButton?: {
|
|
16
|
+
text?: React.ComponentProps<typeof Text>['value'];
|
|
17
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
18
|
+
palette?: Palette;
|
|
19
|
+
} & React.ComponentProps<typeof Container>;
|
|
20
|
+
declare const _default: React.MemoExoticComponent<({ icon, title, values, bottomButton: _bottomButton, palette, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const styles_1 = require("../../../utils/styles");
|
|
10
|
+
const styles_2 = require("../../../hooks/styles");
|
|
11
|
+
const atoms_1 = require("../../../components/atoms");
|
|
12
|
+
const FirstPlaceButton = ({ avatar, text, description, index, palette = 'body', ...props }) => {
|
|
13
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$display": "flex", "$flexDirection": "column", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.small, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$paddingVertical": styles_1.theme.size.margin.base.medium, "$background": styles_1.theme.color.palettes[palette][isHover ? 'background-primary' : 'background-selected'], "$transition": "background", ...hoverProps, ...props, children: [avatar && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$justifyContent": "center", "$size": styles_1.theme.size.height.base['x_large'] + 8, "$borderRadius": styles_1.theme.size.height.base['x_large'] / 2 + 4, "$border": `2px solid ${styles_1.theme.color.base.extra.gold}`, children: (0, jsx_runtime_1.jsx)(atoms_1.Avatar, { size: "x_large", ...avatar }) })), (!!text || !!description) && ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$alignItems": "center", children: [!!text && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium-bold", value: text, "$color": styles_1.theme.color.palettes[palette]['content-primary'], "$ellipsis": true })), !!description && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: description, "$color": styles_1.theme.color.palettes[palette]['content-secondary'], "$ellipsis": true }))] }))] }));
|
|
15
|
+
};
|
|
16
|
+
const PlaceButton = ({ avatar, text, description, index, palette = 'body', ...props }) => {
|
|
17
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$display": "flex", "$alignItems": "center", "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$height": styles_1.theme.size.height.base['2x_large'], "$gap": styles_1.theme.size.margin.base.small, "$background": styles_1.theme.color.palettes[palette][isHover ? 'background-primary' : 'background-selected'], "$transition": "background", ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: index <= 3 ? 'medium-bold' : 'medium', value: index, "$color": index === 2
|
|
19
|
+
? styles_1.theme.color.base.extra.silver
|
|
20
|
+
: index === 3
|
|
21
|
+
? styles_1.theme.color.base.extra.bronze
|
|
22
|
+
: styles_1.theme.color.palettes[palette]['content-primary'], "$width": 24, "$noneUserSelect": true, "$ellipsis": true }), !!avatar && (0, jsx_runtime_1.jsx)(atoms_1.Avatar, { size: "small", ...avatar }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$width": 0, "$flexGrow": true, children: [!!text && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: text, "$color": styles_1.theme.color.palettes[palette]['content-primary'], "$ellipsis": true })), !!description && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: description, "$color": styles_1.theme.color.palettes[palette]['content-secondary'], "$ellipsis": true }))] })] }));
|
|
23
|
+
};
|
|
24
|
+
exports.default = react_1.default.memo(({ icon, title, values, bottomButton: _bottomButton, palette = 'body', children, ...props }) => {
|
|
25
|
+
const { text: bottomButtonText, ...bottomButton } = _bottomButton || {};
|
|
26
|
+
const [bottomButtonHoverProps, isHoverBottomButton] = (0, styles_2.useHoverProps)();
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$transition": "background, border", "$overflow": true, ...props, children: [(!!icon || !!title) && ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$height": styles_1.theme.size.height.tray_header, "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderBottom": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$gap": styles_1.theme.size.margin.base.x_small, "$transition": "background, border", "$overflow": true, children: [!!icon && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$size": styles_1.theme.size.height.base.small, "$autoFill": styles_1.theme.color.palettes[palette]['content-primary'] })), !!title && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { value: title, "$width": 0, "$flexGrow": true, "$ellipsis": true, "$color": styles_1.theme.color.palettes[palette]['content-primary'] }))] })), (values || []).map((button, index) => index === 0 ? ((0, jsx_runtime_1.jsx)(FirstPlaceButton, { index: index + 1, palette: palette, "$borderBottom": index < ((values === null || values === void 0 ? void 0 : values.length) || 0) - 1
|
|
28
|
+
? `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`
|
|
29
|
+
: 'none', ...button }, index)) : ((0, jsx_runtime_1.jsx)(PlaceButton, { index: index + 1, palette: palette, "$borderBottom": index < ((values === null || values === void 0 ? void 0 : values.length) || 0) - 1
|
|
30
|
+
? `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`
|
|
31
|
+
: 'none', ...button }, index))), children, !!_bottomButton && ((0, jsx_runtime_1.jsx)(atoms_1.ClickableContainer, { "$display": "flex", "$alignItems": "center", "$justifyContent": "center", "$background": styles_1.theme.color.palettes[palette][isHoverBottomButton
|
|
32
|
+
? 'background-primary'
|
|
33
|
+
: 'background-selected'], "$borderTop": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$paddingVertical": styles_1.theme.size.margin.base.small, "$transition": "background", "$noneUserSelect": true, ...bottomButtonHoverProps, ...bottomButton, children: (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: bottomButtonText, "$color": styles_1.theme.color.palettes[palette]['content-primary'], "$noneUserSelect": true, "$flexShrink": true, "$ellipsis": true }) }))] }));
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=RankSetTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RankSetTray.js","sourceRoot":"","sources":["../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B,YACf,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,oEAIxD,GACiB,CACtB,IACS,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Palette } from '../../../constants/styles';
|
|
2
|
+
import { Container, TextButton } from '../../../components/atoms';
|
|
3
|
+
type Props = {
|
|
4
|
+
onClickReset?: React.ComponentProps<typeof TextButton>['onClick'];
|
|
5
|
+
palette?: Palette;
|
|
6
|
+
} & React.ComponentProps<typeof Container>;
|
|
7
|
+
declare const _default: ({ onClickReset, palette, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const styles_1 = require("../../../utils/styles");
|
|
5
|
+
const atoms_1 = require("../../../components/atoms");
|
|
6
|
+
exports.default = ({ onClickReset, palette = 'body', children, ...props }) => ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$gap": styles_1.theme.size.margin.base.small, "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$paddingVertical": styles_1.theme.size.margin.base.small, "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$flexWrap": true, ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.TextButton, { icon: "hero/arrow-uturn-left-outline", text: "\uD544\uD130 \uCD08\uAE30\uD654", onClick: onClickReset, palette: "button-ghost-borderless" }), children] }));
|
|
7
|
+
//# sourceMappingURL=SelectedChipTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectedChipTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/SelectedChipTray.tsx"],"names":[],"mappings":";;;AAEA,2CAAuC;AAEvC,8CAA2D;AAO3D,kBAAe,CAAC,EACd,YAAY,EACZ,OAAO,GAAG,MAAM,EAChB,QAAQ,EACR,GAAG,KAAK,EACF,EAAE,EAAE,CAAC,CACX,wBAAC,iBAAS,gBACC,MAAM,UACT,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,aACzB,aAAa,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,gBAAgB,CAAC,EAAE,wBACnD,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,sBAC/B,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,iBACjC,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,qBAAqB,CAAC,mBAClD,cAAK,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,wBAEzC,KAAK,aAET,uBAAC,kBAAU,IACT,IAAI,EAAC,+BAA+B,EACpC,IAAI,EAAC,iCAAQ,EACb,OAAO,EAAE,YAAY,EACrB,OAAO,EAAC,yBAAyB,GACjC,EACD,QAAQ,IACC,CACb,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Dayjs } from '@euler-edu/utils/day';
|
|
3
|
+
import type { Palette } from '../../../constants/styles';
|
|
4
|
+
import { Avatar, ClickableContainer, Container, ScoringResultBadge } from '../../../components/atoms';
|
|
5
|
+
type Props = {
|
|
6
|
+
id: string | number;
|
|
7
|
+
userId: string;
|
|
8
|
+
userProfileImageUrl?: React.ComponentProps<typeof Avatar>['src'];
|
|
9
|
+
problemId: string;
|
|
10
|
+
problemTitle?: string;
|
|
11
|
+
language?: string;
|
|
12
|
+
time?: number;
|
|
13
|
+
memory?: number;
|
|
14
|
+
sourceLength?: number;
|
|
15
|
+
scoringResult?: React.ComponentProps<typeof ScoringResultBadge>;
|
|
16
|
+
createdAt?: Dayjs;
|
|
17
|
+
href?: React.ComponentProps<typeof ClickableContainer>['href'];
|
|
18
|
+
userHref?: React.ComponentProps<typeof ClickableContainer>['href'];
|
|
19
|
+
problemHref?: React.ComponentProps<typeof ClickableContainer>['href'];
|
|
20
|
+
isDisplayProblem?: boolean;
|
|
21
|
+
isDisplayScoringResult?: boolean;
|
|
22
|
+
palette?: Palette;
|
|
23
|
+
} & Omit<React.ComponentProps<typeof Container>, 'id'>;
|
|
24
|
+
declare const _default: React.MemoExoticComponent<({ id, userId, userProfileImageUrl, problemId, problemTitle, language, time, memory, sourceLength, scoringResult, createdAt, href, userHref, problemHref, isDisplayProblem, isDisplayScoringResult, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const day_1 = require("@euler-edu/utils/day");
|
|
10
|
+
const styles_1 = require("../../../utils/styles");
|
|
11
|
+
const submits_1 = require("../../../utils/submits");
|
|
12
|
+
const day_2 = require("../../../hooks/day");
|
|
13
|
+
const styles_2 = require("../../../hooks/styles");
|
|
14
|
+
const atoms_1 = require("../../../components/atoms");
|
|
15
|
+
exports.default = react_1.default.memo(({ id, userId, userProfileImageUrl, problemId, problemTitle, language, time, memory, sourceLength, scoringResult, createdAt, href, userHref, problemHref, isDisplayProblem = true, isDisplayScoringResult = true, palette = 'body', ...props }) => {
|
|
16
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
17
|
+
const [problemHoverProps, isProblemHover] = (0, styles_2.useHoverProps)();
|
|
18
|
+
const [scoringResultHoverProps, isScoringResultHover] = (0, styles_2.useHoverProps)();
|
|
19
|
+
const [formattedAgo, setFormattedAgo] = react_1.default.useState(undefined);
|
|
20
|
+
const dayNowServer = (0, day_2.useDayNowServer)();
|
|
21
|
+
react_1.default.useEffect(() => {
|
|
22
|
+
if (createdAt && createdAt.isValid()) {
|
|
23
|
+
setFormattedAgo((0, day_1.getFormattedAgo)(createdAt));
|
|
24
|
+
}
|
|
25
|
+
}, [createdAt, dayNowServer]);
|
|
26
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$borderRadius": styles_1.theme.size.borderRadius.medium, "$background": styles_1.theme.color.palettes[palette]['background-selected'], "$border": `1px solid ${styles_1.theme.color.palettes.body[isHover ? 'border-hovered' : 'border-primary']}`, "$transition": "background, border", "$overflow": true, ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$justifyContent": "space-between", "$paddingHorizontal": styles_1.theme.size.margin.base.small, "$paddingVertical": styles_1.theme.size.margin.base.small, "$gap": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { href: userHref, "$display": "flex", "$gap": styles_1.theme.size.margin.base.x_small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Avatar, { size: "small", id: userId, src: userProfileImageUrl }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { value: userId })] }), formattedAgo && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: formattedAgo, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }))] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$display": "flex", "$paddingHorizontal": styles_1.theme.size.margin.base.small, "$paddingBottom": styles_1.theme.size.margin.base.small, "$flexWrap": true, children: [isDisplayProblem && ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { href: problemHref, "$width": 0, "$minWidth": "min(100%, 250px)", "$borderRadius": styles_1.theme.size.borderRadius.small, "$padding": styles_1.theme.size.margin.base.small, "$background": styles_1.theme.color.palettes[palette][isProblemHover ? 'background-primary' : 'background-selected'], "$transition": "background", "$flexGrow": true, ...problemHoverProps, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: "\uBB38\uC81C", "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { value: problemTitle, "$flexShrink": true, "$ellipsis": true }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `#${problemId}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] })] })] })), isDisplayScoringResult && ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { href: href, "$width": 0, "$minWidth": "min(100%, 180px)", "$borderRadius": styles_1.theme.size.borderRadius.small, "$padding": styles_1.theme.size.margin.base.small, "$background": styles_1.theme.color.palettes[palette][isScoringResultHover
|
|
27
|
+
? 'background-primary'
|
|
28
|
+
: 'background-selected'], "$transition": "background", "$flexGrow": true, ...scoringResultHoverProps, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: "\uCC44\uC810 \uACB0\uACFC", "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }), (0, jsx_runtime_1.jsx)(atoms_1.ScoringResultBadge, { type: "mini-label", value: "none", ...scoringResult })] }))] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$justifyContent": "space-between", "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderTop": `1px solid ${styles_1.theme.color.palettes.body['border-primary']}`, "$paddingHorizontal": styles_1.theme.size.margin.base.medium, "$paddingVertical": styles_1.theme.size.margin.base.small, "$gap": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.ClickableContainer, { href: href, children: (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `No. ${id}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }) }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$gap": styles_1.theme.size.margin.base.x_small, children: [language && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `언어 ${language || '-'}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] })), typeof time === 'number' && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `시간 ${(0, submits_1.getFormattedTime)(time)}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] })), typeof memory === 'number' && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `메모리 ${(0, submits_1.getFormattedMemory)(memory)}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] })), typeof sourceLength === 'number' && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: `코드 ${(0, submits_1.getFormattedSourceLength)(sourceLength)}`, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }))] })] })] }));
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=SubmitTray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitTray.js","sourceRoot":"","sources":["../../../../src/components/molecules/trays/SubmitTray.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAE1B,8CAAmE;AAInE,2CAAuC;AACvC,6CAIyB;AAEzB,qCAA8C;AAC9C,2CAA+C;AAE/C,8CAM4B;AAwB5B,kBAAe,eAAK,CAAC,IAAI,CACvB,CAAC,EACC,EAAE,EACF,MAAM,EACN,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,aAAa,EACb,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,gBAAgB,GAAG,IAAI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,CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as CalloutTray } from './CalloutTray';
|
|
2
|
+
export { default as ProblemExampleTray } from './ProblemExampleTray';
|
|
3
|
+
export { default as ProblemSetOverviewTray } from './ProblemSetOverviewTray';
|
|
4
|
+
export { default as RankOverviewTray } from './RankOverviewTray';
|
|
5
|
+
export { default as RankPodiumTray } from './RankPodiumTray';
|
|
6
|
+
export { default as RankSetTray } from './RankSetTray';
|
|
7
|
+
export { default as SelectedChipTray } from './SelectedChipTray';
|
|
8
|
+
export { default as SubmitTray } from './SubmitTray';
|