@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,73 @@
|
|
|
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 CHEVRON_SIZE = 24;
|
|
13
|
+
const ELLIPSIS = 'ellipsis';
|
|
14
|
+
const Button = ({ icon, text, isSelected = false, palette = 'body', ...props }) => {
|
|
15
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$display": "flex", "$alignItems": "center", "$transition": "background", "$borderRadius": styles_1.theme.size.borderRadius.small, "$gap": styles_1.theme.size.margin.base.x_small, "$height": styles_1.theme.size.height.base.medium, "$paddingHorizontal": styles_1.theme.size.margin.base.small, "$background": styles_1.theme.color.with_opacity[isHover ? 'button' : 'none'](styles_1.theme.color.palettes[palette]['content-primary']), ...hoverProps, ...props, children: [!!icon && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": styles_1.theme.color.palettes[palette][isSelected ? 'content-primary' : 'content-secondary'], "$size": 24 })), !!text && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { value: text, "$color": styles_1.theme.color.palettes[palette][isSelected ? 'content-primary' : 'content-secondary'] }))] }));
|
|
17
|
+
};
|
|
18
|
+
const getTruncationSteps = (n) => {
|
|
19
|
+
const all = Array.from({ length: n }, (_, i) => i);
|
|
20
|
+
if (n <= 2)
|
|
21
|
+
return [all];
|
|
22
|
+
const steps = [all];
|
|
23
|
+
if (n >= 4)
|
|
24
|
+
steps.push([0, ELLIPSIS, n - 2, n - 1]);
|
|
25
|
+
steps.push([0, ELLIPSIS, n - 1]);
|
|
26
|
+
steps.push([ELLIPSIS, n - 1]);
|
|
27
|
+
return steps;
|
|
28
|
+
};
|
|
29
|
+
const getStepWidth = (step, itemWidths) => {
|
|
30
|
+
const itemsWidth = step.reduce((sum, s) => { var _a; return sum + (s === ELLIPSIS ? CHEVRON_SIZE : ((_a = itemWidths[s]) !== null && _a !== void 0 ? _a : 0)); }, 0);
|
|
31
|
+
const chevronsWidth = (step.length - 1) * CHEVRON_SIZE;
|
|
32
|
+
return itemsWidth + chevronsWidth;
|
|
33
|
+
};
|
|
34
|
+
exports.default = react_1.default.memo(({ values, isEllipsis = false, palette = 'body', ...props }) => {
|
|
35
|
+
var _a;
|
|
36
|
+
const wrapperRef = react_1.default.useRef(null);
|
|
37
|
+
const measureRefs = react_1.default.useRef([]);
|
|
38
|
+
const { offsetWidth: wrapperWidth } = (0, styles_2.useElementStates)(wrapperRef);
|
|
39
|
+
const [itemWidths, setItemWidths] = react_1.default.useState([]);
|
|
40
|
+
react_1.default.useLayoutEffect(() => {
|
|
41
|
+
setItemWidths(measureRefs.current.map(el => { var _a; return (_a = el === null || el === void 0 ? void 0 : el.offsetWidth) !== null && _a !== void 0 ? _a : 0; }));
|
|
42
|
+
}, [wrapperWidth, values]);
|
|
43
|
+
const steps = react_1.default.useMemo(() => {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
return isEllipsis
|
|
46
|
+
? getTruncationSteps((_a = values === null || values === void 0 ? void 0 : values.length) !== null && _a !== void 0 ? _a : 0)
|
|
47
|
+
: getTruncationSteps((_b = values === null || values === void 0 ? void 0 : values.length) !== null && _b !== void 0 ? _b : 0).slice(0, 1);
|
|
48
|
+
}, [isEllipsis, values === null || values === void 0 ? void 0 : values.length]);
|
|
49
|
+
const truncationLevel = react_1.default.useMemo(() => {
|
|
50
|
+
if (wrapperWidth === undefined || itemWidths.every(w => w === 0))
|
|
51
|
+
return 0;
|
|
52
|
+
const idx = steps.findIndex(step => getStepWidth(step, itemWidths) <= wrapperWidth);
|
|
53
|
+
return idx === -1 ? steps.length - 1 : idx;
|
|
54
|
+
}, [wrapperWidth, itemWidths, steps]);
|
|
55
|
+
const visibleStep = (_a = steps[truncationLevel]) !== null && _a !== void 0 ? _a : [];
|
|
56
|
+
if (!values || values.length === 0)
|
|
57
|
+
return (0, jsx_runtime_1.jsx)(atoms_1.Container, { ref: wrapperRef, ...props });
|
|
58
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { ref: wrapperRef, "$position": "relative", "$overflowX": "hidden", ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$position": "absolute", "$opacity": 0, "$nonePointerEvents": true, children: values.map(({ href: _, ...buttonProps }, index) => ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", ref: el => {
|
|
59
|
+
measureRefs.current[index] = el;
|
|
60
|
+
}, children: (0, jsx_runtime_1.jsx)(Button, { palette: palette, isSelected: index === values.length - 1, ...buttonProps }) }, index))) }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", children: visibleStep.map((item, stepIndex) => {
|
|
61
|
+
const isLastStep = stepIndex === visibleStep.length - 1;
|
|
62
|
+
if (item === ELLIPSIS) {
|
|
63
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", children: [(0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/ellipsis-horizontal-mini", "$autoFill": styles_1.theme.color.palettes[palette]['content-secondary'], "$size": CHEVRON_SIZE }), !isLastStep && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/chevron-right-outline", "$size": CHEVRON_SIZE, "$autoFill": styles_1.theme.color.palettes[palette]['content-secondary'] }))] }, "ellipsis"));
|
|
64
|
+
}
|
|
65
|
+
const value = values[item];
|
|
66
|
+
if (!value)
|
|
67
|
+
return null;
|
|
68
|
+
const { href, ...buttonProps } = value;
|
|
69
|
+
const isSelected = item === values.length - 1;
|
|
70
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", children: [(0, jsx_runtime_1.jsx)(Button, { palette: palette, isSelected: isSelected, href: href, ...buttonProps }), !isLastStep && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/chevron-right-outline", "$size": CHEVRON_SIZE, "$autoFill": styles_1.theme.color.palettes[palette]['content-secondary'] }))] }, item));
|
|
71
|
+
}) })] }));
|
|
72
|
+
});
|
|
73
|
+
//# sourceMappingURL=NavBreadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavBreadcrumb.js","sourceRoot":"","sources":["../../../../src/components/molecules/breadcrumbs/NavBreadcrumb.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAI1B,2CAAuC;AAEvC,2CAAiE;AAEjE,8CAA+E;AAmB/E,MAAM,YAAY,GAAG,EAAE,CAAC;AACxB,MAAM,QAAQ,GAAG,UAAmB,CAAC;AAGrC,MAAM,MAAM,GAAG,CAAC,EACd,IAAI,EACJ,IAAI,EACJ,UAAU,GAAG,KAAK,EAClB,OAAO,GAAG,MAAM,EAChB,GAAG,KAAK,EACI,EAAE,EAAE;IAChB,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,IAAA,sBAAa,GAAE,CAAC;IAC9C,OAAO,CACL,wBAAC,0BAAkB,gBACR,MAAM,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,CAAC,WAE7C,YAAY,GACnB,EACD,CAAC,UAAU,IAAI,CACd,uBAAC,YAAI,IACH,IAAI,EAAC,4BAA4B,WAC1B,YAAY,eAEjB,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,mBAAmB,CAAC,GAEpD,CACH,KAhBY,UAAU,CAiBb,CACb,CAAC;oBACJ,CAAC;oBAED,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;oBAC3B,IAAI,CAAC,KAAK;wBAAE,OAAO,IAAI,CAAC;oBACxB,MAAM,EAAE,IAAI,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;oBACvC,MAAM,UAAU,GAAG,IAAI,KAAK,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC9C,OAAO,CACL,wBAAC,iBAAS,gBAAqB,MAAM,iBAAa,QAAQ,aACxD,uBAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,KACN,WAAW,GACf,EACD,CAAC,UAAU,IAAI,CACd,uBAAC,YAAI,IACH,IAAI,EAAC,4BAA4B,WAC1B,YAAY,eAEjB,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,mBAAmB,CAAC,GAEpD,CACH,KAfa,IAAI,CAgBR,CACb,CAAC;gBACJ,CAAC,CAAC,GACQ,IACF,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NavBreadcrumb } from './NavBreadcrumb';
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
exports.NavBreadcrumb = void 0;
|
|
7
|
+
var NavBreadcrumb_1 = require("./NavBreadcrumb");
|
|
8
|
+
Object.defineProperty(exports, "NavBreadcrumb", { enumerable: true, get: function () { return __importDefault(NavBreadcrumb_1).default; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/breadcrumbs/index.tsx"],"names":[],"mappings":";;;;;;AAAA,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClickableContainer, Container, ImageContainer, Text } from '../../../components/atoms';
|
|
3
|
+
type Props = {
|
|
4
|
+
imageSrc: React.ComponentProps<typeof ImageContainer>['src'];
|
|
5
|
+
text: React.ComponentProps<typeof Text>['value'] | React.ComponentProps<typeof Text>['value'][];
|
|
6
|
+
description?: React.ComponentProps<typeof Text>['value'];
|
|
7
|
+
$coverBackground?: React.ComponentProps<typeof Container>['$background'];
|
|
8
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
9
|
+
declare const _default: ({ imageSrc, text, description, $coverBackground, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const styled_components_1 = require("styled-components");
|
|
6
|
+
const styles_1 = require("../../../utils/styles");
|
|
7
|
+
const styles_2 = require("../../../hooks/styles");
|
|
8
|
+
const atoms_1 = require("../../../components/atoms");
|
|
9
|
+
const bookMaterial = {
|
|
10
|
+
pageLight: '#f3ecdb',
|
|
11
|
+
pageDark: '#ddd0b2',
|
|
12
|
+
pageCream: '#f7f1e3',
|
|
13
|
+
pageLine: '#d9cfb6',
|
|
14
|
+
pageInkShadow: 'rgba(120, 90, 40, 0.12)',
|
|
15
|
+
labelInk: 'rgb(70, 120, 170)',
|
|
16
|
+
spineShadow: 'rgba(0, 0, 0, 0.42)',
|
|
17
|
+
coverDropShadow: 'rgba(20, 20, 40, 0.4)',
|
|
18
|
+
coverInside: '#ddd0b2',
|
|
19
|
+
};
|
|
20
|
+
const innerPageLineWidths = ['82%', '66%', '74%', '58%'];
|
|
21
|
+
const coverAspectRatio = 3 / 4;
|
|
22
|
+
exports.default = ({ imageSrc, text, description, $coverBackground, ...props }) => {
|
|
23
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "relative", "$css": "perspective: 1600px;", children: (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$transform": isHover ? 'rotateY(-24deg) translateY(-6px)' : 'rotateY(-16deg)', "$css": (0, styled_components_1.css) `
|
|
25
|
+
transform-style: preserve-3d;
|
|
26
|
+
transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
|
|
27
|
+
transform-origin: left center;
|
|
28
|
+
`, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$top": 5, "$left": "100%", "$width": 40, "$height": "calc(100% - 10px)", "$borderRadius": "0 2px 2px 0", "$background": `repeating-linear-gradient(90deg, ${bookMaterial.pageLight} 0 2px, ${bookMaterial.pageDark} 2px 3px)`, "$css": "transform: rotateY(72deg); transform-origin: left center;" }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$css": "inset: 0;", "$borderRadius": styles_1.theme.size.borderRadius.small, "$background": `linear-gradient(90deg, ${bookMaterial.pageLight} 0 8px, ${bookMaterial.pageCream} 8px 100%)`, "$boxShadow": `inset 0 0 40px ${bookMaterial.pageInkShadow}`, "$padding": "22px 18px 18px 22px", "$display": "flex", "$flexDirection": "column", "$gap": styles_1.theme.size.margin.base.x_small, children: innerPageLineWidths.map(width => ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": width, "$height": 7, "$borderRadius": 4, "$background": bookMaterial.pageLine }, width))) }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$zIndex": 5, "$css": "transform-style: preserve-3d; transform-origin: left center; transition: transform 0.65s cubic-bezier(0.3, 0.75, 0.25, 1);", "$transform": isHover ? 'rotateY(-126deg)' : 'rotateY(0deg)', children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$zIndex": 2, "$css": "backface-visibility: hidden;", children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$top": 0, "$left": 0, "$width": 14, "$height": "100%", "$zIndex": 6, "$borderRadius": "6px 0 0 6px", "$nonePointerEvents": true, "$background": `linear-gradient(90deg, ${bookMaterial.spineShadow}, rgba(0, 0, 0, 0))` }), (0, jsx_runtime_1.jsx)(atoms_1.ImageContainer, { src: imageSrc, alt: String(text) || String(description) || 'Book cover', placeholder: "blur", loading: "lazy", "$display": "block", "$width": "100%", "$height": "auto", "$aspectRatio": coverAspectRatio, "$objectFit": "cover", "$borderRadius": "2px 6px 6px 2px", "$boxShadow": `20px 26px 40px ${bookMaterial.coverDropShadow}` })] }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$background": $coverBackground !== null && $coverBackground !== void 0 ? $coverBackground : bookMaterial.coverInside, "$borderRadius": "6px 2px 2px 6px", "$zIndex": 1, "$css": "inset: 0; transform: rotateY(180deg);" })] })] }) }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$marginTop": styles_1.theme.size.margin.base.medium, children: [(Array.isArray(text) ? text : [text]).map((text, index) => ((0, jsx_runtime_1.jsx)(atoms_1.Text, { value: text, "$ellipsis": true }, index))), !!description && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: description, "$color": styles_1.theme.color.palettes.body['content-secondary'], "$ellipsis": true }))] })] }));
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=BookCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookCard.js","sourceRoot":"","sources":["../../../../src/components/molecules/cards/BookCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;AAIb,yDAAwC;AAExC,2CAAuC;AAEvC,2CAA+C;AAE/C,8CAK4B;AAI5B,MAAM,YAAY,GAAG;IACnB,SAAS,EAAE,SAAS;IACpB,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,SAAS;IACpB,QAAQ,EAAE,SAAS;IACnB,aAAa,EAAE,yBAAyB;IACxC,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,qBAAqB;IAClC,eAAe,EAAE,uBAAuB;IAExC,WAAW,EAAE,SAAS;CACd,CAAC;AAEX,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAU,CAAC;AAClE,MAAM,gBAAgB,GAAG,CAAC,GAAG,CAAC,CAAC;AAW/B,kBAAe,CAAC,EACd,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,GAAG,KAAK,EACF,EAAE,EAAE;IACV,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,IAAA,sBAAa,GAAE,CAAC;IAE9C,OAAO,CACL,wBAAC,0BAAkB,OAAK,UAAU,KAAM,KAAK,aAC3C,uBAAC,iBAAS,iBAAW,UAAU,UAAM,sBAAsB,YACzD,wBAAC,iBAAS,iBACE,UAAU,gBAElB,OAAO,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,iBAAiB,UAE5D,IAAA,uBAAG,EAAA;;;;WAIR,aAGD,uBAAC,iBAAS,iBACE,UAAU,UACd,CAAC,WACD,MAAM,YACJ,EAAE,aACF,mBAAmB,mBACb,aAAa,iBACd,oCAAoC,YAAY,CAAC,SAAS,WAAW,YAAY,CAAC,QAAQ,WAAW,U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3C,iBAAiB,aACtB,CAAC,UACL,uCAAuC,GAC5C,IACQ,IACF,GACF,EAEZ,wBAAC,iBAAS,kBAAa,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,aACjD,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1D,uBAAC,YAAI,IAAa,KAAK,EAAE,IAAI,uBAAlB,KAAK,CAA2B,CAC5C,CAAC,EACD,CAAC,CAAC,WAAW,IAAI,CAChB,uBAAC,YAAI,IACH,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,WAAW,YACV,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,sBAEtD,CACH,IACS,IACO,CACtB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CardType } from '../../../constants/components';
|
|
3
|
+
import type { Palette } from '../../../constants/styles';
|
|
4
|
+
import { ClickableContainer, Container, Icon, ImageContainer, Text } from '../../../components/atoms';
|
|
5
|
+
type Props = {
|
|
6
|
+
type?: CardType;
|
|
7
|
+
icon?: React.ComponentProps<typeof Icon>['type'];
|
|
8
|
+
imageSrc?: React.ComponentProps<typeof ImageContainer>['src'];
|
|
9
|
+
rightCornerGhostImageSrc?: React.ComponentProps<typeof ImageContainer>['src'];
|
|
10
|
+
title?: React.ComponentProps<typeof Text>['value'];
|
|
11
|
+
isRightCornerTag?: boolean;
|
|
12
|
+
description?: React.ComponentProps<typeof Text>['value'] | Array<React.ComponentProps<typeof Text>['value']>;
|
|
13
|
+
footerChildren?: React.ReactNode;
|
|
14
|
+
palette?: Palette;
|
|
15
|
+
$rightCornerTagBackground?: React.ComponentProps<typeof Container>['$background'];
|
|
16
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ type, icon, imageSrc, rightCornerGhostImageSrc, title, description, isRightCornerTag, children, footerChildren, palette, $rightCornerTagBackground, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
exports.default = react_1.default.memo(({ type = 'plain-vertical', icon, imageSrc, rightCornerGhostImageSrc, title, description, isRightCornerTag = false, children, footerChildren, palette = 'button-soft', $rightCornerTagBackground, ...props }) => {
|
|
13
|
+
var _a;
|
|
14
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$position": "relative", "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-between", "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$transform": isHover ? 'translateY(-2px)' : undefined, "$boxShadow": isHover ? '0 6px 18px rgba(130, 130, 130, 0.1)' : undefined, "$transition": "box-shadow, transform, background, border", "$overflow": true, ...hoverProps, ...props, children: [isRightCornerTag && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$top": 0, "$right": 0, "$borderTop": `46px solid ${$rightCornerTagBackground !== null && $rightCornerTagBackground !== void 0 ? $rightCornerTagBackground : styles_1.theme.color.base.primary.eulerRed}`, "$borderLeft": `46px solid transparent` })), !!rightCornerGhostImageSrc && ((0, jsx_runtime_1.jsx)(atoms_1.ImageContainer, { src: rightCornerGhostImageSrc, alt: "right-corner-ghost", placeholder: "blur", loading: "lazy", width: 120, height: 120, "$position": "absolute", "$bottom": -20, "$right": -20, "$size": 120, "$opacity": 0.15 })), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": ['plain-vertical', 'simple-vertical'].includes(type)
|
|
16
|
+
? 'stretch'
|
|
17
|
+
: 'center', "$flexDirection": ['plain-vertical', 'simple-vertical'].includes(type)
|
|
18
|
+
? 'column'
|
|
19
|
+
: 'row', "$gap": [
|
|
20
|
+
'simple-horizontal',
|
|
21
|
+
'simple-vertical',
|
|
22
|
+
'plain-horizontal',
|
|
23
|
+
].includes(type)
|
|
24
|
+
? styles_1.theme.size.margin.base.small
|
|
25
|
+
: styles_1.theme.size.margin.base.x_small, "$padding": styles_1.theme.size.margin.base.medium, children: [!!icon &&
|
|
26
|
+
['simple-horizontal', 'simple-vertical'].includes(type) && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$size": 24 + styles_1.theme.size.margin.base.small * 2, "$display": "flex", "$alignItems": "center", "$justifyContent": "center", "$borderRadius": styles_1.theme.size.borderRadius.small, "$background": styles_1.theme.color.base.primary.eulerRed, children: (0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": (_a = styles_1.theme.color.palettes[palette]) === null || _a === void 0 ? void 0 : _a['background-primary'], "$size": 24 }) })), !!icon && ['plain-horizontal', 'plain-vertical'].includes(type) && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": styles_1.theme.color.palettes.body['content-primary'], "$size": 24 })), !!imageSrc && ((0, jsx_runtime_1.jsx)(atoms_1.ImageContainer, { src: imageSrc, alt: String(title || description) || 'card', width: styles_1.theme.size.height.base['2x_large'], height: styles_1.theme.size.height.base['2x_large'], "$size": styles_1.theme.size.height.base['2x_large'] })), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$width": ['plain-horizontal', 'simple-horizontal'].includes(type)
|
|
27
|
+
? 0
|
|
28
|
+
: undefined, "$flexGrow": ['plain-horizontal', 'simple-horizontal'].includes(type)
|
|
29
|
+
? true
|
|
30
|
+
: undefined, children: [!!title && ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium-bold", value: title, "$color": styles_1.theme.color.palettes.body['content-primary'] })), !!description &&
|
|
31
|
+
(Array.isArray(description) ? description : [description]).map((text, index) => ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: text, "$color": styles_1.theme.color.palettes.body['content-secondary'] }, index)))] }), children] }), !!footerChildren && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$background": styles_1.theme.color.palettes[palette]['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": "border", children: footerChildren }))] }));
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/molecules/cards/Card.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAK1B,2CAAuC;AAEvC,2CAA+C;AAE/C,8CAM4B;AAmB5B,kBAAe,eAAK,CAAC,IAAI,CACvB,CAAC,EACC,IAAI,GAAG,gBAAgB,EACvB,IAAI,EACJ,QAAQ,EACR,wBAAwB,EACxB,KAAK,EACL,WAAW,EACX,gBAAgB,GAAG,KAAK,EACxB,QAAQ,EACR,cAAc,EACd,OAAO,GAAG,aAAa,EACvB,yBAAyB,EACzB,GAAG,KAAK,EACF,EAAE,EAAE;;IACV,MAAM,CAAC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AAC,QAAQ,CAAC,OAAO,CAAC,CAAC,gBAAgB,CAChD,EAAE,wBACkB,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,sBAC/B,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,iBAClC,QAAQ,YAEnB,cAAc,GACL,CACb,IACkB,CACtB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ConfigType } from '@euler-edu/utils/day';
|
|
2
|
+
import type { ContestCardType } from '../../../constants/components';
|
|
3
|
+
import type { Palette } from '../../../constants/styles';
|
|
4
|
+
import { ClickableContainer, Text, TextBadge } from '../../../components/atoms';
|
|
5
|
+
type Props = {
|
|
6
|
+
type?: ContestCardType;
|
|
7
|
+
title: React.ComponentProps<typeof Text>['value'];
|
|
8
|
+
rankTypeText: React.ComponentProps<typeof Text>['value'];
|
|
9
|
+
joinTypeText: React.ComponentProps<typeof Text>['value'];
|
|
10
|
+
bottomText?: React.ComponentProps<typeof Text>['value'];
|
|
11
|
+
participantsCount?: number;
|
|
12
|
+
timeStart: ConfigType;
|
|
13
|
+
timeEnd: ConfigType;
|
|
14
|
+
textBadges?: React.ComponentProps<typeof TextBadge>[];
|
|
15
|
+
palette?: Palette;
|
|
16
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
17
|
+
declare const _default: ({ type, title, rankTypeText, joinTypeText, bottomText, participantsCount, timeStart, timeEnd, textBadges, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const day_1 = require("@euler-edu/utils/day");
|
|
6
|
+
const styles_1 = require("../../../utils/styles");
|
|
7
|
+
const styles_2 = require("../../../hooks/styles");
|
|
8
|
+
const atoms_1 = require("../../../components/atoms");
|
|
9
|
+
exports.default = ({ type = 'simple', title, rankTypeText, joinTypeText, bottomText, participantsCount, timeStart, timeEnd, textBadges, palette = 'button-soft', ...props }) => {
|
|
10
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-between", "$border": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$background": styles_1.theme.color.palettes[palette]['background-primary'], "$borderRadius": styles_1.theme.size.borderRadius.medium, "$transform": isHover ? 'translateY(-2px)' : undefined, "$boxShadow": isHover ? '0 6px 18px rgba(130, 130, 130, 0.1)' : undefined, "$transition": "box-shadow, transform, background, border", "$padding": styles_1.theme.size.margin.base.medium, "$overflow": true, ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$gap": styles_1.theme.size.margin.base.x_small, children: [(textBadges || []).map((badge, index) => ((0, jsx_runtime_1.jsx)(atoms_1.TextBadge, { size: "small", ...badge }, index))), (0, jsx_runtime_1.jsx)(atoms_1.TextBadge, { size: "small", text: rankTypeText, palette: "badge-soft-purple" })] }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "medium", value: title, "$marginTop": styles_1.theme.size.margin.base.small }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.x_small, "$marginTop": styles_1.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/calendar-days-outline", "$size": 20, "$autoFill": styles_1.theme.color.palettes.body['content-secondary'] }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: (0, day_1.getFormattedDate)(timeStart, 'date'), "$color": styles_1.theme.color.palettes.body['content-secondary'], "$ellipsis": true })] }), typeof participantsCount === 'number' && ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$gap": styles_1.theme.size.margin.base.x_small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: participantsCount > 1
|
|
12
|
+
? 'hero/users-outline'
|
|
13
|
+
: 'hero/user-outline', "$size": 20, "$autoFill": styles_1.theme.color.palettes.body['content-secondary'] }), (0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "small", value: `${participantsCount.toLocaleString()}명 참가`, "$color": styles_1.theme.color.palettes.body['content-secondary'] })] }))] }), !!bottomText && ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$justifyContent": "end", "$borderTop": `1px solid ${styles_1.theme.color.palettes[palette]['border-primary']}`, "$marginTop": styles_1.theme.size.margin.base.medium, "$paddingTop": styles_1.theme.size.margin.base.small, children: (0, jsx_runtime_1.jsx)(atoms_1.Text, { value: bottomText }) }))] }));
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=ContestCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContestCard.js","sourceRoot":"","sources":["../../../../src/components/molecules/cards/ContestCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;AAEb,8CAAyE;AAKzE,2CAAuC;AAEvC,2CAA+C;AAE/C,8CAM4B;AAe5B,kBAAe,CAAC,EACd,IAAI,GAAG,QAAQ,EACf,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,SAAS,EACT,OAAO,EACP,UAAU,EACV,OAAO,GAAG,aAAa,EACvB,GAAG,KAAK,EACF,EAAE,EAAE;IACV,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,IAAA,sBAAa,GAAE,CAAC;IAE9C,OAAO,CACL,wBAAC,0BAAkB,gBACR,MAAM,oBACA,QAAQ,qBACP,eAAe,aACtB,aAAa,cAAK,CAAC,KA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
+
import { ClickableContainer, ImageContainer, Text } from '../../../components/atoms';
|
|
4
|
+
type Props = {
|
|
5
|
+
imageSrc: React.ComponentProps<typeof ImageContainer>['src'];
|
|
6
|
+
text: React.ComponentProps<typeof Text>['value'] | React.ComponentProps<typeof Text>['value'][];
|
|
7
|
+
description?: React.ComponentProps<typeof Text>['value'] | React.ComponentProps<typeof Text>['value'][];
|
|
8
|
+
palette?: Palette;
|
|
9
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
10
|
+
declare const _default: ({ imageSrc, text, description, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 styled_components_1 = require("styled-components");
|
|
10
|
+
const styles_1 = require("../../../utils/styles");
|
|
11
|
+
const styles_2 = require("../../../hooks/styles");
|
|
12
|
+
const atoms_1 = require("../../../components/atoms");
|
|
13
|
+
const hashToRotation = (key) => {
|
|
14
|
+
let hash = 0;
|
|
15
|
+
for (let i = 0; i < key.length; i++) {
|
|
16
|
+
hash = (hash * 31 + key.charCodeAt(i)) | 0;
|
|
17
|
+
}
|
|
18
|
+
const magnitude = 4 + (Math.abs(hash) % 5);
|
|
19
|
+
const sign = hash % 2 === 0 ? 1 : -1;
|
|
20
|
+
return sign * magnitude;
|
|
21
|
+
};
|
|
22
|
+
exports.default = ({ imageSrc, text, description, palette = 'body', ...props }) => {
|
|
23
|
+
const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
|
|
24
|
+
const rotate = react_1.default.useMemo(() => {
|
|
25
|
+
return hashToRotation(String(text || imageSrc));
|
|
26
|
+
}, [imageSrc, text]);
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.ImageContainer, { src: imageSrc, alt: String(text) || String(description) || 'Diecut Sticker', placeholder: "blur", loading: "lazy", "$width": "100%", "$height": "auto", "$aspectRatio": 1, "$transform": `scale(${isHover ? 1.05 : 1}) rotate(${isHover ? 0 : rotate}deg)`, "$transition": "transform", "$css": (0, styled_components_1.css) `
|
|
28
|
+
filter: drop-shadow(
|
|
29
|
+
3px 0 0 ${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
30
|
+
)
|
|
31
|
+
drop-shadow(
|
|
32
|
+
-3px 0 0 ${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
33
|
+
)
|
|
34
|
+
drop-shadow(
|
|
35
|
+
0 3px 0 ${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
36
|
+
)
|
|
37
|
+
drop-shadow(
|
|
38
|
+
0 -3px 0 ${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
39
|
+
)
|
|
40
|
+
drop-shadow(
|
|
41
|
+
2.2px 2.2px 0
|
|
42
|
+
${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
43
|
+
)
|
|
44
|
+
drop-shadow(
|
|
45
|
+
-2.2px 2.2px 0
|
|
46
|
+
${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
47
|
+
)
|
|
48
|
+
drop-shadow(
|
|
49
|
+
2.2px -2.2px 0
|
|
50
|
+
${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
51
|
+
)
|
|
52
|
+
drop-shadow(
|
|
53
|
+
-2.2px -2.2px 0
|
|
54
|
+
${styles_1.theme.color.palettes[palette]['background-selected']}
|
|
55
|
+
)
|
|
56
|
+
drop-shadow(0 5px 7px rgba(120, 120, 120, 0.5));
|
|
57
|
+
` }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$marginTop": styles_1.theme.size.margin.base.medium, children: [(Array.isArray(text) ? text : [text]).map((text, index) => ((0, jsx_runtime_1.jsx)(atoms_1.Text, { value: text, "$color": styles_1.theme.color.palettes[palette]['content-primary'] }, index))), (Array.isArray(description) ? description : [description]).map((text, index) => ((0, jsx_runtime_1.jsx)(atoms_1.Text, { type: "x_small", value: text, "$color": styles_1.theme.color.palettes[palette]['content-secondary'] }, index)))] })] }));
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=DiecutStickerCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiecutStickerCard.js","sourceRoot":"","sources":["../../../../src/components/molecules/cards/DiecutStickerCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAE1B,yDAAwC;AAIxC,2CAAuC;AAEvC,2CAA+C;AAE/C,8CAK4B;AAa5B,MAAM,cAAc,GAAG,CAAC,GAAW,EAAU,EAAE;IAC7C,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACpC,IAAI,GAAG,CAAC,IAAI,GAAG,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrC,OAAO,IAAI,GAAG,SAAS,CAAC;AAC1B,CAAC,CAAC;AAEF,kBAAe,CAAC,EACd,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,OAAO,GAAG,MAAM,EAChB,GAAG,KAAK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AC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,qBAAqB,CAAC;;;;kBAIpD,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,qBAAqB,CAAC;;;SAG7D,GACD,EACF,wBAAC,iBAAS,kBAAa,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,aACjD,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1D,uBAAC,YAAI,IAEH,KAAK,EAAE,IAAI,YACH,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,IAFnD,KAAK,CAGV,CACH,CAAC,EACD,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAC7D,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACf,uBAAC,YAAI,IACH,IAAI,EAAC,SAAS,EAEd,KAAK,EAAE,IAAI,YACH,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,mBAAmB,CAAC,IAFrD,KAAK,CAGV,CACH,CACF,IACS,IACO,CACtB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ThemeCardType } from '../../../constants/components';
|
|
2
|
+
import { type Palette } from '../../../constants/styles';
|
|
3
|
+
import { ClickableContainer, Text } from '../../../components/atoms';
|
|
4
|
+
type Props = {
|
|
5
|
+
type: ThemeCardType;
|
|
6
|
+
text: React.ComponentProps<typeof Text>['value'];
|
|
7
|
+
palette?: Palette;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
} & React.ComponentProps<typeof ClickableContainer>;
|
|
10
|
+
declare const _default: ({ type, text, palette, isSelected, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const styles_1 = require("../../../constants/styles");
|
|
6
|
+
const styles_2 = require("../../../utils/styles");
|
|
7
|
+
const styles_3 = require("../../../hooks/styles");
|
|
8
|
+
const atoms_1 = require("../../../components/atoms");
|
|
9
|
+
exports.default = ({ type, text, palette = 'button-soft', isSelected = false, ...props }) => {
|
|
10
|
+
const [hoverProps, isHover] = (0, styles_3.useHoverProps)();
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.ClickableContainer, { "$width": 240, "$border": isSelected
|
|
12
|
+
? `1px solid ${styles_2.theme.color.palettes['input-checkbox']['border-selected']}`
|
|
13
|
+
: `1px solid ${styles_2.theme.color.palettes[palette]['border-primary']}`, "$background": styles_2.theme.color.palettes[palette]['background-primary'], "$borderRadius": styles_2.theme.size.borderRadius.medium, "$transform": isHover ? 'translateY(-2px)' : undefined, "$boxShadow": isHover ? '0 6px 18px rgba(130, 130, 130, 0.1)' : undefined, "$transition": "box-shadow, transform, background, border", "$padding": styles_2.theme.size.margin.base.small, "$overflow": true, ...hoverProps, ...props, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$position": "relative", "$aspectRatio": 16 / 9, "$borderRadius": styles_2.theme.size.borderRadius.small, "$background": styles_1.color.vars[type]['background-body'], "$overflow": true, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$position": "relative", "$alignItems": "center", "$height": "15%", "$background": styles_1.color.vars[type]['background-pure'], "$borderBottom": `1px solid ${styles_1.color.vars[type]['border-primary']}`, "$paddingHorizontal": "5.5%", children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$height": "40%", "$aspectRatio": 1 / 1, "$background": styles_2.theme.color.base.primary.eulerRed, "$borderRadius": 10000 }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "1.5%" }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "20%", "$height": "27%", "$background": styles_1.color.vars[type]['text-highlight'], "$borderRadius": 10000 }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": 0, "$flexGrow": true }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "10%", "$height": "27%", "$background": styles_1.color.vars[type]['shade-primary'], "$borderRadius": 10000 }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "1.5%" }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "10%", "$height": "27%", "$background": styles_1.color.vars[type]['shade-primary'], "$borderRadius": 10000 })] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-evenly", "$paddingHorizontal": "5%", "$flexGrow": true, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-evenly", "$alignItems": "start", "$position": "relative", "$height": "35%", "$border": `1px solid ${styles_1.color.vars[type]['border-primary']}`, "$background": styles_1.color.vars[type]['background-pure'], "$paddingHorizontal": "4%", "$borderRadius": 7, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "80%", "$height": "18%", "$background": styles_1.color.vars[type]['text-primary'], "$borderRadius": 10000 }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "40%", "$height": "18%", "$background": styles_1.color.vars[type]['text-secondary'], "$borderRadius": 10000 })] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$justifyContent": "space-between", "$alignItems": "center", "$height": "35%", "$border": `1px solid ${styles_1.color.vars[type]['border-primary']}`, "$background": styles_1.color.vars[type]['background-pure'], "$paddingHorizontal": "4%", "$borderRadius": 7, children: [(0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$flexDirection": "column", "$justifyContent": "space-evenly", "$position": "relative", "$width": "40%", "$height": "100%", children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "100%", "$height": "18%", "$background": styles_1.color.vars[type]['text-secondary'], "$borderRadius": 10000 }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$position": "relative", "$width": "100%", "$height": "18%", children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$height": "100%", "$aspectRatio": 1 / 1, "$borderRadius": 10000, "$background": styles_1.color.vars[type]['text-success'] }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "3%" }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$height": "100%", "$aspectRatio": 1 / 1, "$borderRadius": 10000, "$background": styles_1.color.vars[type]['text-warning'] }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "3%" }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$height": "100%", "$aspectRatio": 1 / 1, "$borderRadius": 10000, "$background": styles_1.color.vars[type]['text-error'] })] })] }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$width": "20%", "$height": "30%", "$background": styles_1.color.vars[type]['background-primary'], "$borderRadius": 10000 })] })] })] }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$alignItems": "center", "$marginTop": styles_2.theme.size.margin.base.small, "$paddingHorizontal": styles_2.theme.size.margin.base.small, children: [(0, jsx_runtime_1.jsx)(atoms_1.Text, { value: text, "$width": 0, "$flexGrow": true, "$ellipsis": true }), isSelected && ((0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "phosphor/check-circle-fill", "$size": styles_2.theme.size.height.base.small, "$autoFill": styles_2.theme.color.palettes['input-checkbox']['background-selected'] }))] })] }));
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=ThemeCard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cACD,KAAK,aACJ,KAAK,iBACA,cAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC,mBACpC,KAAK,GACpB,IACQ,IACF,IACF,EACZ,wBAAC,iBAAS,gBACC,MAAM,iBACH,QAAQ,gBACR,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,wBACpB,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,aAEhD,uBAAC,YAAI,IAAC,KAAK,EAAE,IAAI,YAAU,CAAC,yCAAwB,EACnD,UAAU,IAAI,CACb,uBAAC,YAAI,IACH,IAAI,EAAC,4BAA4B,WAC1B,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,eAEjC,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,qBAAqB,CAAC,GAE/D,CACH,IACS,IACO,CACtB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as BookCard } from './BookCard';
|
|
2
|
+
export { default as Card } from './Card';
|
|
3
|
+
export { default as ContestCard } from './ContestCard';
|
|
4
|
+
export { default as DiecutStickerCard } from './DiecutStickerCard';
|
|
5
|
+
export { default as ThemeCard } from './ThemeCard';
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
exports.ThemeCard = exports.DiecutStickerCard = exports.ContestCard = exports.Card = exports.BookCard = void 0;
|
|
7
|
+
var BookCard_1 = require("./BookCard");
|
|
8
|
+
Object.defineProperty(exports, "BookCard", { enumerable: true, get: function () { return __importDefault(BookCard_1).default; } });
|
|
9
|
+
var Card_1 = require("./Card");
|
|
10
|
+
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return __importDefault(Card_1).default; } });
|
|
11
|
+
var ContestCard_1 = require("./ContestCard");
|
|
12
|
+
Object.defineProperty(exports, "ContestCard", { enumerable: true, get: function () { return __importDefault(ContestCard_1).default; } });
|
|
13
|
+
var DiecutStickerCard_1 = require("./DiecutStickerCard");
|
|
14
|
+
Object.defineProperty(exports, "DiecutStickerCard", { enumerable: true, get: function () { return __importDefault(DiecutStickerCard_1).default; } });
|
|
15
|
+
var ThemeCard_1 = require("./ThemeCard");
|
|
16
|
+
Object.defineProperty(exports, "ThemeCard", { enumerable: true, get: function () { return __importDefault(ThemeCard_1).default; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/cards/index.tsx"],"names":[],"mappings":";;;;;;AAAA,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,+BAAyC;AAAhC,6GAAA,OAAO,OAAQ;AACxB,6CAAuD;AAA9C,2HAAA,OAAO,OAAe;AAC/B,yDAAmE;AAA1D,uIAAA,OAAO,OAAqB;AACrC,yCAAmD;AAA1C,uHAAA,OAAO,OAAa"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BarChartDirection, BarChartSize } from '../../../constants/components';
|
|
3
|
+
import type { Palette } from '../../../constants/styles/color';
|
|
4
|
+
import { Container } from '../../../components/atoms';
|
|
5
|
+
import SingleBarChart from './SingleBarChart';
|
|
6
|
+
type BarProps = {
|
|
7
|
+
key: React.Key;
|
|
8
|
+
} & Omit<React.ComponentProps<typeof SingleBarChart>, 'direction'>;
|
|
9
|
+
type Props = {
|
|
10
|
+
direction?: BarChartDirection;
|
|
11
|
+
size?: BarChartSize;
|
|
12
|
+
maxValue?: number;
|
|
13
|
+
values?: BarProps[];
|
|
14
|
+
isGrowable?: boolean;
|
|
15
|
+
palette?: Palette;
|
|
16
|
+
} & React.ComponentProps<typeof Container>;
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ direction, size, maxValue: _maxValue, values, palette, isGrowable, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
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 atoms_1 = require("../../../components/atoms");
|
|
11
|
+
const SingleBarChart_1 = __importDefault(require("./SingleBarChart"));
|
|
12
|
+
const gapBySize = {
|
|
13
|
+
x_small: styles_1.theme.size.margin.base.x_small,
|
|
14
|
+
small: styles_1.theme.size.margin.base.small,
|
|
15
|
+
medium: styles_1.theme.size.margin.base.medium,
|
|
16
|
+
};
|
|
17
|
+
exports.default = react_1.default.memo(({ direction = 'horizontal', size = 'medium', maxValue: _maxValue, values, palette = 'chart-soft', isGrowable = false, ...props }) => {
|
|
18
|
+
const maxValue = react_1.default.useMemo(() => {
|
|
19
|
+
const innerMax = (values || []).reduce((max, bar) => Math.max(max, (bar.values || []).reduce((acc, { value }) => acc + (value || 0), 0)), 0);
|
|
20
|
+
return Math.max(_maxValue || 0, innerMax);
|
|
21
|
+
}, [values, _maxValue]);
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$display": "flex", "$flexDirection": direction === 'horizontal' ? 'column' : 'row', "$alignItems": direction === 'horizontal' ? 'stretch' : 'flex-end', "$gap": gapBySize[size], ...props, children: (values || []).map(({ key, ...bar }) => ((0, jsx_runtime_1.jsx)(SingleBarChart_1.default, { direction: direction, size: size, maxValue: maxValue, palette: palette, isGrowable: isGrowable, "$width": direction === 'horizontal' ? '100%' : undefined, "$height": direction === 'horizontal' ? undefined : '100%', "$flexGrow": isGrowable, "$flexShrink": isGrowable, ...bar }, key))) }));
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=BarChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.js","sourceRoot":"","sources":["../../../../src/components/molecules/charts/BarChart.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAK1B,2CAAuC;AAEvC,8CAA+C;AAE/C,sEAA8C;AAe9C,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;IACvC,KAAK,EAAE,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK;IACnC,MAAM,EAAE,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM;CAItC,CAAC;AAEF,kBAAe,eAAK,CAAC,IAAI,CACvB,CAAC,EACC,SAAS,GAAG,YAAY,EACxB,IAAI,GAAG,QAAQ,EACf,QAAQ,EAAE,SAAS,EACnB,MAAM,EACN,OAAO,GAAG,YAAY,EACtB,UAAU,GAAG,KAAK,EAClB,GAAG,KAAK,EACF,EAAE,EAAE;IACV,MAAM,QAAQ,GAAG,eAAK,CAAC,OAAO,CAAS,GAAG,EAAE;QAC1C,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,CACpC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CACX,IAAI,CAAC,GAAG,CACN,GAAG,EACH,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,EACtC,CAAC,CACF,CACF,EACH,CAAC,CACF,CAAC;QACF,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC;IAC5C,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;IAExB,OAAO,CACL,uBAAC,iBAAS,gBACC,MAAM,oBACC,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,iBAChD,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,UAC1D,SAAS,CAAC,IAAI,CAAC,KACjB,KAAK,YAER,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CACvC,uBAAC,wBAAc,IAEb,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,YACd,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,aAC9C,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,eAC7C,UAAU,iBACR,UAAU,KACnB,GAAG,IAVF,GAAG,CAWR,CACH,CAAC,GACQ,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DonutChartSize } from '../../../constants/components';
|
|
3
|
+
import type { Palette } from '../../../constants/styles';
|
|
4
|
+
import { Container } from '../../../components/atoms';
|
|
5
|
+
type Props = {
|
|
6
|
+
size?: DonutChartSize;
|
|
7
|
+
values?: {
|
|
8
|
+
key: React.Key;
|
|
9
|
+
value?: number;
|
|
10
|
+
color?: React.ComponentProps<typeof Container>['$background'];
|
|
11
|
+
}[];
|
|
12
|
+
palette?: Palette;
|
|
13
|
+
} & React.ComponentProps<typeof Container>;
|
|
14
|
+
declare const _default: React.MemoExoticComponent<({ size, values: _values, children, palette, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 styled_components_1 = require("styled-components");
|
|
10
|
+
const styles_1 = require("../../../utils/styles");
|
|
11
|
+
const atoms_1 = require("../../../components/atoms");
|
|
12
|
+
const diameterBySize = {
|
|
13
|
+
small: 80,
|
|
14
|
+
medium: 120,
|
|
15
|
+
large: 160,
|
|
16
|
+
};
|
|
17
|
+
const thicknessBySize = {
|
|
18
|
+
small: 16,
|
|
19
|
+
medium: 24,
|
|
20
|
+
large: 32,
|
|
21
|
+
};
|
|
22
|
+
exports.default = react_1.default.memo(({ size = 'medium', values: _values, children, palette = 'chart-soft', ...props }) => {
|
|
23
|
+
const totalValue = react_1.default.useMemo(() => (_values || []).reduce((acc, { value }) => acc + (value || 0), 0), [_values]);
|
|
24
|
+
const background = react_1.default.useMemo(() => {
|
|
25
|
+
if (!totalValue) {
|
|
26
|
+
return styles_1.theme.color.palettes[palette]['background-selected'];
|
|
27
|
+
}
|
|
28
|
+
let cursor = 0;
|
|
29
|
+
const stops = (_values || []).map(({ color, value }) => {
|
|
30
|
+
const start = cursor;
|
|
31
|
+
cursor += ((value || 0) / totalValue) * 100;
|
|
32
|
+
return `${color} ${start}% ${cursor}%`;
|
|
33
|
+
});
|
|
34
|
+
return `conic-gradient(${stops.join(', ')})`;
|
|
35
|
+
}, [_values, totalValue, palette]);
|
|
36
|
+
const diameter = diameterBySize[size];
|
|
37
|
+
const thickness = thicknessBySize[size];
|
|
38
|
+
return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$display": "flex", "$alignItems": "center", "$justifyContent": "center", "$size": diameter, ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Container, { "$size": "100%", "$borderRadius": "50%", "$background": background, "$css": (0, styled_components_1.css) `
|
|
39
|
+
mask: radial-gradient(
|
|
40
|
+
circle at center,
|
|
41
|
+
transparent ${diameter / 2 - thickness}px,
|
|
42
|
+
#000 ${diameter / 2 - thickness}px
|
|
43
|
+
);
|
|
44
|
+
-webkit-mask: radial-gradient(
|
|
45
|
+
circle at center,
|
|
46
|
+
transparent ${diameter / 2 - thickness}px,
|
|
47
|
+
#000 ${diameter / 2 - thickness}px
|
|
48
|
+
);
|
|
49
|
+
` }), (0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$display": "flex", "$flexDirection": "column", "$alignItems": "center", "$justifyContent": "center", "$gap": styles_1.theme.size.margin.base.x_small, "$size": diameter - thickness * 2, "$borderRadius": "50%", children: children })] }));
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=DonutChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonutChart.js","sourceRoot":"","sources":["../../../../src/components/molecules/charts/DonutChart.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAE1B,yDAAwC;AAKxC,2CAAuC;AAEvC,8CAA+C;AAY/C,MAAM,cAAc,GAAG;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,GAAG;CAIX,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACwC,CAAC;AAEpD,kBAAe,eAAK,CAAC,IAAI,CACvB,CAAC,EAC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