From 028176ab74f8136f78b998a495ea7ffe6de323c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A3=BC=EC=9A=A9?= <121484561+wuzoo@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:06:08 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20Pnpm=20Workspace=EB=A5=BC=20=ED=86=B5?= =?UTF-8?q?=ED=95=9C=20=EB=AA=A8=EB=85=B8=EB=A0=88=ED=8F=AC=20=EB=8F=84?= =?UTF-8?q?=EC=9E=85=20(#332)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * init: pnpm workspace setting, 기존 project -> apps/client * docs: @tiki/tsconfig package setting * docs: root dependencies에 따른 하위 패키지 디펜던시 정리 * feat: icon package * docs: common hook directory * refactor: import error 해결, lib 생성 * refactor: utils package 필요한 훅, 함수 이전 * feat: 기존 project @common/component 를 제공하는 ui package 세팅 * chore: readme root로 * refactor: composition 컴포넌트 default export, index 파일 생성 * feat: tsup config 작성 * chore: client story ui package 반영 * docs: theme, type export 추가 * feat: 모든 기존 코드 @tiki package 반영 * init: landing next project setting * chore: svg 수정 * chore: cachedImage common으로 이동 * refactor: navbar Item 컴포넌트 구조 수정 (svg는 icon 패키지로만 사용) * refactor: svgr option no-index 추가 * refactor: noEmit 제거 및 tsconfig 수정 * docs: tsconfig 수정 * fix: item 컴포넌트 prop type 반영 * docs: pnpm version match * docs: ci script 수정 * docs: storybook deploy workflow command 수정 * docs: ci build-storybook scripts 추가 * docs: install frozen-lockfile 추가 * chore: ui tsconfig composite 제거 * fix: package resolve 문제 alias 추가 * fix: main.ts @tiki/ui alias 추가 * chore: icon, utils package 추가 * fix: preview @tiki/ui/dist 로부터 import * chore: resolve alias 적용, ui package exports 다시 세팅 * chore: relative path 수정 * chore: icon build script 추가 * chore: alias 제거 * chore: hoisting pattern 추가 * docs: ui, icon build caching * fix: version 오타 수정 * chore: node modules caching setting * docs: storybook deploy workflow 수정 * chore: 불필요 파일 제거 및 git ignore * chore: next tsconfig 임시 설정 --- .editorConfig | 10 + .../workflows/automatic-aws-deployment.yml | 2 +- .github/workflows/check.yml | 2 +- .github/workflows/chromatic.yml | 41 +- .github/workflows/storybook-deploy.yml | 41 +- .gitignore | 6 +- .npmrc | 1 + .prettierrc | 29 - .storybook/main.ts | 35 - .eslintrc.cjs => apps/client/.eslintrc.cjs | 0 apps/client/.prettierrc | 31 + apps/client/.storybook/main.ts | 47 + .../client/.storybook}/preview-head.html | 0 .../client/.storybook}/preview.tsx | 2 +- index.html => apps/client/index.html | 2 +- apps/client/package.json | 71 + .../svg => apps/client/public}/favicon.svg | 0 .../font/subset-PretendardVariable.woff | Bin .../font/subset-PretendardVariable.woff2 | Bin .../client/public}/img/advBannerClub1.png | Bin .../client/public}/img/advBannerClub1.webp | Bin .../client/public}/img/advBannerClub2.png | Bin .../client/public}/img/advBannerClub2.webp | Bin .../client/public}/img/advBannerClub3.png | Bin .../client/public}/img/advBannerClub3.webp | Bin .../client/public}/img/advBannerClub4.png | Bin .../client/public}/img/advBannerClub4.webp | Bin .../client/public}/mockServiceWorker.js | 0 {src => apps/client/src}/App.tsx | 0 .../src}/common/asset/img/comingsoon.png | Bin .../client/src}/common/asset/img/error.png | Bin .../src}/common/asset/img/landing01.png | Bin .../src}/common/asset/img/landing01.webp | Bin .../src}/common/asset/img/service01.png | Bin .../src}/common/asset/img/service01.webp | Bin .../src}/common/asset/img/service02.png | Bin .../src}/common/asset/img/service02.webp | Bin .../common/asset/img/workspace_complete.png | Bin .../common/asset/img/workspace_complete.webp | Bin .../component/CachedImage/CachedImage.tsx | 4 +- .../component/ErrorBoundary/ErrorBoundary.tsx | 0 .../client/src}/common/router/Router.tsx | 0 .../client/src}/common/router/lazy.ts | 0 .../client/src}/common/style/ellipsis.ts | 0 .../client/src}/common/style/globalStyle.ts | 0 .../src}/common/style/theme/emotion.d.ts | 0 {src => apps/client/src}/main.tsx | 4 +- {src => apps/client/src}/mock/browser.ts | 0 {src => apps/client/src}/mock/data/drive.ts | 0 .../client/src}/mock/data/showCase.ts | 0 {src => apps/client/src}/mock/data/term.ts | 0 .../client/src}/mock/data/timeLine.ts | 0 .../client/src}/mock/handler/index.ts | 0 .../client/src}/mock/handler/showCase.ts | 0 .../client/src}/mock/handler/timeLine.ts | 0 .../client/src}/mock/handler/workspace.ts | 0 .../archiving/index/ArchivingPage.style.ts | 0 .../page/archiving/index/ArchivingPage.tsx | 5 +- .../page/archiving/index/DateProvider.tsx | 0 .../DocumentBar/DocumentBar.style.ts | 3 +- .../component/DocumentBar/DocumentBar.tsx | 4 +- .../component/DocumentBar/Item/Item.style.ts | 3 +- .../index/component/DocumentBar/Item/Item.tsx | 12 +- .../DocumentBar/Selected/Selected.style.ts | 3 +- .../DocumentBar/Selected/Selected.tsx | 6 +- .../component/DocumentBar/Sort/Sort.style.ts | 3 +- .../index/component/DocumentBar/Sort/Sort.tsx | 6 +- .../component/DocumentBar/Total/Total.tsx | 12 +- .../TimeBlockBar/BlockInfo/BlockInfo.style.ts | 3 +- .../TimeBlockBar/BlockInfo/BlockInfo.tsx | 6 +- .../TaggedNoteItem/TaggedNoteItem.style.ts | 0 .../TaggedNoteItem/TaggedNoteItem.tsx | 7 +- .../TimeBlockBar/TaggedNotes/TaggedNotes.tsx | 7 +- .../TimeBlockBar/TimeBlockBar.style.ts | 3 +- .../component/TimeBlockBar/TimeBlockBar.tsx | 9 +- .../UploadedFiles/FileItem/FileItem.style.ts | 3 +- .../UploadedFiles/FileItem/FileItem.tsx | 10 +- .../UploadedFiles/UploadedFiles.tsx | 7 +- .../component/Block/BlockModal.style.ts | 3 +- .../component/Block/BlockModal.tsx | 7 +- .../component/Block/Date/BlockDate.style.ts | 3 +- .../component/Block/Date/BlockDate.tsx | 5 +- .../component/Block/Icon/BlockIcon.style.ts | 3 +- .../component/Block/Icon/BlockIcon.tsx | 0 .../component/Box/BlockBox.style.ts | 0 .../TimeBlockModal/component/Box/BlockBox.tsx | 5 +- .../Upload/File/Add/BlockAdd.style.ts | 3 +- .../component/Upload/File/Add/BlockAdd.tsx | 6 +- .../Upload/File/List/BlockItem.style.ts | 3 +- .../component/Upload/File/List/BlockItem.tsx | 8 +- .../component/Upload/UploadModal.style.ts | 3 +- .../component/Upload/UploadModal.tsx | 7 +- .../TimeBlockModal/constant/color.ts | 0 .../TimeBlockModal/constant/error.ts | 0 .../TimeBlockModal/constant/iconBlock.tsx | 35 + .../hook/api/useDeleteFileMutation.ts | 0 .../hook/api/usePostTimeBlockMutation.ts | 0 .../hook/api/usePutUploadMutation.ts | 0 .../hook/common/useDateRange.tsx | 0 .../TimeBlockModal/hook/common/useFile.tsx | 0 .../index/component/TimeBlockModal/index.tsx | 0 .../TimeBlockModal/type/blockType.ts | 0 .../component/TimeBlockModal/util/color.ts | 0 .../component/TimeBlockModal/util/date.ts | 0 .../index/component/TimeLine/Day/Day.style.ts | 3 +- .../index/component/TimeLine/Day/Day.tsx | 0 .../TimeLine/TimeBlock/TimeBlock.style.ts | 3 +- .../TimeLine/TimeBlock/TimeBlock.tsx | 0 .../TimeLineHeader/TimeLineHeader.style.ts | 3 +- .../TimeLineHeader/TimeLineHeader.tsx | 9 +- .../index/component/TimeLine/index.tsx | 0 .../archiving/index/constant/icon.style.ts | 3 +- .../page/archiving/index/constant/icon.tsx | 33 + .../archiving/index/constant/sortOption.tsx | 6 + .../index/hook/api/useBlockInfoQuery.ts | 0 .../index/hook/api/useDeleteBlockMutaion.ts | 0 .../hook/api/useDeleteDocumentMutation.ts | 0 .../index/hook/api/useGetTimeBlockQuery.ts | 0 .../index/hook/api/useTotalDocumentQuery.ts | 0 .../archiving/index/hook/common/useDate.ts | 0 .../index/hook/common/useInteractTimeline.ts | 0 .../page/archiving/index/type/blockType.ts | 0 .../src}/page/archiving/index/type/color.ts | 0 .../page/archiving/index/type/documentType.ts | 0 .../src}/page/archiving/index/util/block.ts | 0 .../src}/page/archiving/index/util/date.ts | 0 .../page/archiving/index/util/document.ts | 0 .../page/dashboard/DashboardPage.style.ts | 0 .../src}/page/dashboard/DashboardPage.tsx | 5 +- .../dashboard/component/File/FileSection.tsx | 3 +- .../Handover/HandoverSection.style.ts | 3 +- .../component/Handover/HandoverSection.tsx | 2 +- .../Handover/ListItem/ListItem.style.ts | 3 +- .../component/Handover/ListItem/ListItem.tsx | 11 +- .../Timeline/Timeline/Timeline.style.ts | 3 +- .../component/Timeline/Timeline/Timeline.tsx | 0 .../dashboard/component/Timeline/index.tsx | 0 .../src}/page/dashboard/constant/notes.ts | 0 .../src}/page/dashboard/type/listTag.ts | 0 .../client/src}/page/dashboard/type/note.ts | 0 .../src}/page/dashboard/util/alignTags.ts | 0 .../client/src}/page/dashboard/util/color.ts | 2 +- .../client/src}/page/deleted/index.tsx | 7 +- .../FileListHeader/FileListHeader.style.ts | 0 .../FileListHeader/FileListHeader.tsx | 4 +- .../FileListItem/FileListItem.style.ts | 2 +- .../component/FileListItem/FileListItem.tsx | 8 +- .../client/src}/page/drive/index.style.ts | 0 {src => apps/client/src}/page/drive/index.tsx | 20 +- .../src}/page/handover/HandoverPage.style.ts | 3 +- .../src}/page/handover/HandoverPage.tsx | 13 +- .../component/NoteItem/NoteItem.style.ts | 3 +- .../handover/component/NoteItem/NoteItem.tsx | 14 +- .../NoteListHeader/NoteListHeader.style.ts | 3 +- .../NoteListHeader/NoteListHeader.tsx | 4 +- .../src}/page/handover/constant/noteList.ts | 0 .../src}/page/handover/note/NotePage.style.ts | 3 +- .../src}/page/handover/note/NotePage.tsx | 23 +- .../note/component/Custom/Custom.style.ts | 3 +- .../handover/note/component/Custom/Custom.tsx | 4 +- .../note/component/File/File.style.ts | 3 +- .../handover/note/component/File/File.tsx | 7 +- .../component/NoteDetail/NoteDetail.style.ts | 3 +- .../note/component/NoteDetail/NoteDetail.tsx | 15 +- .../note/component/Template/Template.style.ts | 3 +- .../note/component/Template/Template.tsx | 7 +- .../src}/page/handover/note/constants/tag.ts | 0 .../page/handover/note/constants/template.ts | 0 .../src}/page/handover/note/hooks/useFile.ts | 0 .../src}/page/landing/LandingPage.style.ts | 3 +- .../client/src}/page/landing/LandingPage.tsx | 7 +- .../landing/component/Indicator/Indicator.tsx | 5 +- .../component/Overview/Overview.style.ts | 3 +- .../landing/component/Overview/Overview.tsx | 5 +- .../src}/page/landing/constant/index.ts | 0 .../src}/page/login/index/LoginPage.style.ts | 3 +- .../src}/page/login/index/LoginPage.tsx | 10 +- .../src}/page/login/index/constant/index.ts | 0 .../page/login/index/hook/useLoginMutation.ts | 3 +- .../password/auth/PasswordAuthPage.style.ts | 3 +- .../login/password/auth/PasswordAuthPage.tsx | 10 +- .../auth/hook/api/useResendMailMutation.ts | 3 +- .../auth/hook/common/useSupportingText.ts | 0 .../password/reset/PasswordResetPage.style.ts | 3 +- .../password/reset/PasswordResetPage.tsx | 7 +- .../hook/api/useResetPasswordMutation.ts | 3 +- .../reset/hook/common/usePasswordForm.ts | 0 .../login/password/type/supportingText.ts | 0 .../page/showcase/index/ShowcasePage.style.ts | 0 .../src}/page/showcase/index/ShowcasePage.tsx | 5 +- .../component/AdvBanner/AdvBanner.style.ts | 3 +- .../index/component/AdvBanner/AdvBanner.tsx | 4 +- .../BannerSlider/BannerSlider.style.ts | 3 +- .../component/BannerSlider/BannerSlider.tsx | 15 +- .../CategoryChip/CategoryChip.style.ts | 3 +- .../component/CategoryChip/CategoryChip.tsx | 0 .../ClubProfileCard/ClubProfileCard.style.ts | 0 .../ClubProfileCard/ClubProfileCard.tsx | 11 +- .../page/showcase/index/constant/banner.ts | 0 .../page/showcase/index/constant/category.ts | 0 .../index/hook/api/useClubListQuery.ts | 0 .../client/src}/page/showcase/team/index.tsx | 0 .../src}/page/signUp/index/TermPage.style.ts | 3 +- .../src}/page/signUp/index/TermPage.tsx | 6 +- .../component/TermItem/TermItem.style.ts | 3 +- .../index/component/TermItem/TermItem.tsx | 11 +- .../TermsAgreeButton.style.ts | 3 +- .../TermsAgreeButton/TermsAgreeButton.tsx | 4 +- .../page/signUp/index/hook/useTermForm.ts | 0 .../page/signUp/info/InfoFormPage.style.ts | 0 .../src}/page/signUp/info/InfoFormPage.tsx | 6 +- .../src}/page/signUp/info/UnivFormPage.tsx | 5 +- .../info/hook/api/useSendMailMutation.ts | 3 +- .../signUp/info/hook/api/useSignupMutation.ts | 3 +- .../signUp/info/hook/common/useDateInput.ts | 0 .../signUp/info/hook/common/useInfoForm.ts | 4 +- .../page/signUp/info/hook/common/useSelect.ts | 0 .../page/signUp/info/hook/common/useTimer.ts | 0 .../signUp/info/hook/common/useUnivForm.ts | 4 +- .../client/src}/page/signUp/info/util/date.ts | 0 .../src}/page/signUp/info/util/formatTime.ts | 0 .../client/src}/shared/api/HTTPError.ts | 0 .../src}/shared/api/auth/reissue/index.ts | 0 .../src}/shared/api/auth/signin/index.ts | 0 .../src}/shared/api/auth/signin/type.ts | 0 .../api/documents/team/document/index.ts | 0 .../api/documents/team/timeline/index.ts | 0 .../api/documents/team/timeline/type.ts | 0 .../api/email-verification/checking/index.ts | 0 .../api/email-verification/password/index.ts | 0 .../api/email-verification/signup/index.ts | 0 .../client/src}/shared/api/external/index.ts | 0 .../client/src}/shared/api/file/index.ts | 0 .../client/src}/shared/api/file/type.ts | 0 .../src}/shared/api/file/upload/index.ts | 0 .../client/src}/shared/api/index.d.ts | 0 .../client/src}/shared/api/instance.ts | 0 .../client/src}/shared/api/interceptor.ts | 0 .../src}/shared/api/members/password/index.ts | 0 .../src}/shared/api/members/password/type.ts | 0 .../src}/shared/api/members/teams/index.ts | 0 .../src}/shared/api/members/teams/type.ts | 0 .../client/src}/shared/api/queryClient.ts | 0 .../src}/shared/api/signup/info/index.ts | 0 .../src}/shared/api/signup/info/type.ts | 0 .../src}/shared/api/teams/category/index.ts | 0 .../src}/shared/api/teams/category/type.ts | 0 .../client/src}/shared/api/teams/index.ts | 0 .../client/src}/shared/api/teams/type.ts | 0 .../api/time-blocks/team/time-block/index.ts | 0 .../api/time-blocks/team/time-block/type.ts | 0 .../api/time-blocks/team/timeline/index.ts | 0 .../component/ContentBox/ContentBox.style.ts | 3 +- .../component/ContentBox/ContentBox.tsx | 16 +- .../DeleteModal/DeleteModal.style.ts | 3 +- .../component/DeleteModal/DeleteModal.tsx | 5 +- .../EmptySection/EmptySection.style.ts | 3 +- .../component/EmptySection/EmptySection.tsx | 3 +- .../shared/component/EmptySection/constant.ts | 0 .../shared/component/FileGrid/FileGrid.tsx | 20 +- .../shared/component/FileGrid/FolderGrid.tsx | 20 +- .../src/shared/component/FileGrid/icon.tsx | 14 + .../shared/component/FileGrid/index.style.ts | 3 +- .../shared/component/Header/Header.style.ts | 3 +- .../src}/shared/component/Header/Header.tsx | 4 +- .../src}/shared/component/Login/Login.tsx | 0 .../shared/component/Modal/ModalContainer.tsx | 2 +- .../component/RouteNav/RouteNav.style.ts | 3 +- .../shared/component/RouteNav/RouteNav.tsx | 11 +- .../component/SideNavBar/Item/Item.style.ts | 3 +- .../shared/component/SideNavBar/Item/Item.tsx | 45 +- .../component/SideNavBar/SideNavBar.style.ts | 3 +- .../component/SideNavBar/SideNavBar.tsx | 25 +- .../TimeBlockDrawer/TimeBlockDrawer.style.ts | 3 +- .../TimeBlockDrawer/TimeBlockDrawer.tsx | 4 +- .../category/WorkSpaceCategory.style.ts | 3 +- .../category/WorkSpaceCategory.tsx | 8 +- .../complete/WorkSpaceComplete.tsx | 2 +- .../image/WorkSpaceImage.style.ts | 3 +- .../WorkSpaceModal/image/WorkSpaceImage.tsx | 11 +- .../image/hook/useImageUpload.tsx | 0 .../shared/component/WorkSpaceModal/index.tsx | 0 .../info/WorkSpaceInfo.style.ts | 3 +- .../WorkSpaceModal/info/WorkSpaceInfo.tsx | 4 +- .../name/WorkSpaceName.style.ts | 3 +- .../WorkSpaceModal/name/WorkSpaceName.tsx | 6 +- .../client/src}/shared/constant/api.ts | 0 .../client/src}/shared/constant/form.ts | 0 .../client/src}/shared/constant/index.ts | 0 .../client/src}/shared/constant/path.ts | 0 .../shared/hook/api/useCategoryListQuery.ts | 0 .../src}/shared/hook/api/useClubInfoQuery.ts | 0 .../src}/shared/hook/api/useGetFileQuery.ts | 0 .../shared/hook/api/usePostTeamMutation.ts | 0 .../shared/hook/api/useVerifyCodeMutation.ts | 3 +- .../shared/hook/common/useBlockContext.tsx | 0 .../hook/common/useInitializeTeamId.tsx | 0 .../src}/shared/hook/common/useLogout.ts | 0 .../src}/shared/hook/common/useTokenError.ts | 3 +- .../hook/common/useWorkSpaceContext.tsx | 0 .../page/comingsoonPage/ComingsoonPage.tsx | 7 +- .../shared/page/errorPage/ErrorPage.style.ts | 3 +- .../src}/shared/page/errorPage/ErrorPage.tsx | 7 +- {src => apps/client/src}/shared/store/auth.ts | 0 .../client/src}/shared/store/drawer.ts | 0 .../client/src}/shared/store/modal.tsx | 0 {src => apps/client/src}/shared/store/team.ts | 0 {src => apps/client/src}/shared/type/block.ts | 0 .../client/src}/shared/type/content.ts | 0 {src => apps/client/src}/shared/type/file.ts | 0 {src => apps/client/src}/shared/type/team.ts | 0 {src => apps/client/src}/shared/type/time.ts | 0 {src => apps/client/src}/shared/util/file.ts | 0 .../client/src}/shared/util/typeGuard.ts | 0 .../client/src}/shared/util/validate.ts | 0 .../src}/story/common/Button.stories.tsx | 13 +- .../src}/story/common/Carousel.stories.tsx | 17 +- .../src}/story/common/CheckBox.stories.tsx | 3 +- .../story/common/CommandButton.stories.tsx | 7 +- .../story/common/CountedInput.stories.tsx | 3 +- .../src}/story/common/DatePicker.stories.tsx | 3 +- .../src}/story/common/Divider.stories.tsx | 3 +- .../client/src}/story/common/Flex.stories.tsx | 3 +- .../src}/story/common/Heading.stories.tsx | 4 +- .../src}/story/common/Input.stories.tsx | 7 +- .../src}/story/common/Label.stories.tsx | 3 +- .../src}/story/common/MenuList.stories.tsx | 23 +- .../src}/story/common/RadioGroup.stories.tsx | 3 +- .../src}/story/common/Select.stories.tsx | 8 +- .../src}/story/common/Switch.stories.tsx | 10 +- .../src}/story/common/TabButton.stories.tsx | 5 +- .../client/src}/story/common/Tabs.stories.tsx | 23 +- .../client/src}/story/common/Tag.stories.tsx | 3 +- .../client/src}/story/common/Text.stories.tsx | 4 +- .../src}/story/common/Toast.stories.tsx | 8 +- .../src}/story/common/ToolTip.stories.tsx | 5 +- .../dashboard/component/ListItem.stories.tsx | 0 .../page/drive/FileListHeader.stories.tsx | 0 .../story/page/drive/FileListItem.stories.tsx | 0 .../story/page/handover/NoteItem.stories.tsx | 0 .../src}/story/shared/ContentBox.stories.tsx | 7 +- .../src}/story/shared/DeleteModal.stories.tsx | 0 .../src}/story/shared/FileGrid.stories.tsx | 0 .../src}/story/shared/FolderGrid.stories.tsx | 0 .../src}/story/shared/Header.stories.tsx | 0 .../src}/story/shared/RouteNav.stories.tsx | 0 .../story/shared/SideNavBarItem.stories.tsx | 15 +- .../story/shared/WorkSpaceModal.stories.tsx | 7 +- {src => apps/client/src}/vite-env.d.ts | 0 svg.d.ts => apps/client/svg.d.ts | 0 apps/client/tsconfig.json | 21 + .../client/tsconfig.node.json | 0 vite.config.ts => apps/client/vite.config.ts | 0 apps/landing/.eslintrc.json | 3 + apps/landing/next.config.ts | 7 + apps/landing/package.json | 18 + apps/landing/src/app/layout.tsx | 18 + apps/landing/src/app/page.tsx | 3 + apps/landing/src/components/.gitkeep | 0 apps/landing/tsconfig.json | 22 + package.json | 95 +- .../icon/assets}/svg/ic_accounting.svg | 0 .../icon/assets}/svg/ic_add.svg | 0 .../icon/assets}/svg/ic_add_btn.svg | 0 .../icon/assets}/svg/ic_add_team.svg | 0 .../icon/assets}/svg/ic_add_white.svg | 0 .../icon/assets}/svg/ic_alert_no.svg | 0 .../icon/assets}/svg/ic_alert_yes.svg | 0 .../icon/assets}/svg/ic_arrow_back.svg | 0 .../icon/assets}/svg/ic_arrow_down.svg | 0 .../icon/assets}/svg/ic_arrow_down_gray.svg | 0 .../icon/assets}/svg/ic_arrow_drop_down.svg | 0 .../icon/assets}/svg/ic_arrow_forward.svg | 0 .../icon/assets}/svg/ic_arrow_left.svg | 0 .../icon/assets}/svg/ic_arrow_left_white.svg | 0 .../icon/assets}/svg/ic_arrow_right.svg | 0 .../icon/assets}/svg/ic_arrow_right_white.svg | 0 .../icon/assets}/svg/ic_arrow_up.svg | 0 .../icon/assets}/svg/ic_avatar.svg | 0 .../icon/assets}/svg/ic_calendar.svg | 0 .../assets}/svg/ic_calendar_arrow_left.svg | 0 .../assets}/svg/ic_calendar_arrow_right.svg | 0 .../icon/assets}/svg/ic_calendar_ver2.svg | 0 .../icon/assets}/svg/ic_caution.svg | 0 .../icon/assets}/svg/ic_check.svg | 0 .../icon/assets}/svg/ic_circle.svg | 0 .../icon/assets}/svg/ic_close.svg | 0 .../icon/assets}/svg/ic_cloud_upload.svg | 0 .../icon/assets}/svg/ic_command_key.svg | 0 .../icon/assets}/svg/ic_default_profile.svg | 0 .../icon/assets}/svg/ic_delete.svg | 0 .../icon/assets}/svg/ic_delete_file.svg | 0 .../icon/assets}/svg/ic_down.svg | 0 .../icon/assets}/svg/ic_download.svg | 0 .../icon/assets}/svg/ic_event.svg | 0 .../icon/assets}/svg/ic_event_circle.svg | 0 .../icon/assets}/svg/ic_file.svg | 0 .../icon/assets}/svg/ic_file_delete.svg | 0 .../icon/assets}/svg/ic_file_round.svg | 0 .../icon/assets}/svg/ic_folder.svg | 0 .../icon/assets}/svg/ic_folder_copy.svg | 0 .../icon/assets}/svg/ic_folder_large.svg | 0 .../icon/assets}/svg/ic_global.svg | 0 .../icon/assets}/svg/ic_gray_check.svg | 0 .../icon/assets}/svg/ic_grid.svg | 0 .../icon/assets}/svg/ic_group.svg | 0 .../icon/assets}/svg/ic_handover_empty.svg | 0 .../icon/assets}/svg/ic_handover_fill.svg | 0 .../icon/assets}/svg/ic_image_file.svg | 0 .../icon/assets}/svg/ic_key_arrow.svg | 0 .../icon/assets}/svg/ic_key_check.svg | 0 .../icon/assets}/svg/ic_left_sm.svg | 0 .../icon/assets}/svg/ic_list.svg | 0 .../icon/assets}/svg/ic_list_checked.svg | 0 .../icon/assets}/svg/ic_logout.svg | 0 .../icon/assets}/svg/ic_meeting.svg | 0 .../icon/assets}/svg/ic_meeting_circle.svg | 0 .../icon/assets}/svg/ic_more.svg | 0 .../icon/assets}/svg/ic_nav_timeline.svg | 0 .../icon/assets}/svg/ic_note.svg | 0 .../icon/assets}/svg/ic_note_black.svg | 0 .../icon/assets}/svg/ic_notice.svg | 0 .../icon/assets}/svg/ic_notice_circle.svg | 0 .../icon/assets}/svg/ic_paper.svg | 0 .../icon/assets}/svg/ic_password_reset.svg | 0 .../icon/assets}/svg/ic_pdf_file.svg | 0 .../icon/assets}/svg/ic_pencil.svg | 0 .../icon/assets}/svg/ic_plus_button.svg | 0 .../icon/assets}/svg/ic_recruiting.svg | 0 .../icon/assets}/svg/ic_right_sm.svg | 0 .../icon/assets}/svg/ic_search.svg | 0 .../icon/assets}/svg/ic_setting.svg | 0 .../icon/assets}/svg/ic_setting_gray.svg | 0 .../icon/assets}/svg/ic_spinner.svg | 0 .../icon/assets}/svg/ic_sticky_note_2.svg | 0 .../icon/assets}/svg/ic_study.svg | 0 .../icon/assets}/svg/ic_study_circle.svg | 0 .../svg/ic_subdirectory_arrow_right.svg | 0 .../icon/assets}/svg/ic_success.svg | 0 .../icon/assets}/svg/ic_task.svg | 0 .../icon/assets}/svg/ic_team_profile_add.svg | 0 .../assets}/svg/ic_team_profile_delete.svg | 0 .../icon/assets}/svg/ic_three_dots.svg | 0 .../icon/assets}/svg/ic_tiki_logo.svg | 0 .../icon/assets}/svg/ic_timeline.svg | 0 packages/icon/assets/svg/ic_timeline2.svg | 5 + .../icon/assets}/svg/ic_tooltip_arrow.svg | 0 .../icon/assets}/svg/ic_trash.svg | 0 .../icon/assets}/svg/ic_up.svg | 0 .../icon/assets}/svg/ic_word_file.svg | 0 .../icon/assets}/svg/logo_mail.svg | 0 .../icon/assets}/svg/logo_symbol.svg | 0 .../icon/assets}/svg/logo_tiki_md.svg | 0 .../icon/assets}/svg/logo_tiki_sm.svg | 0 packages/icon/generateIcon.ts | 36 + packages/icon/index.ts | 93 + packages/icon/package.json | 27 + packages/icon/src/IcAccounting.tsx | 19 + packages/icon/src/IcAdd.tsx | 8 + packages/icon/src/IcAddBtn.tsx | 8 + packages/icon/src/IcAddTeam.tsx | 11 + packages/icon/src/IcAddWhite.tsx | 21 + packages/icon/src/IcAlertNo.tsx | 18 + packages/icon/src/IcAlertYes.tsx | 19 + packages/icon/src/IcArrowBack.tsx | 8 + packages/icon/src/IcArrowDown.tsx | 8 + packages/icon/src/IcArrowDownGray.tsx | 8 + packages/icon/src/IcArrowDropDown.tsx | 8 + packages/icon/src/IcArrowForward.tsx | 8 + packages/icon/src/IcArrowLeft.tsx | 8 + packages/icon/src/IcArrowLeftWhite.tsx | 8 + packages/icon/src/IcArrowRight.tsx | 8 + packages/icon/src/IcArrowRightWhite.tsx | 8 + packages/icon/src/IcArrowUp.tsx | 8 + packages/icon/src/IcAvatar.tsx | 13 + packages/icon/src/IcCalendar.tsx | 11 + packages/icon/src/IcCalendarArrowLeft.tsx | 9 + packages/icon/src/IcCalendarArrowRight.tsx | 18 + packages/icon/src/IcCalendarVer2.tsx | 23 + packages/icon/src/IcCaution.tsx | 11 + packages/icon/src/IcCheck.tsx | 13 + packages/icon/src/IcCircle.tsx | 8 + packages/icon/src/IcClose.tsx | 11 + packages/icon/src/IcCloudUpload.tsx | 11 + packages/icon/src/IcCommandKey.tsx | 11 + packages/icon/src/IcDefaultProfile.tsx | 24 + packages/icon/src/IcDelete.tsx | 11 + packages/icon/src/IcDeleteFile.tsx | 11 + packages/icon/src/IcDown.tsx | 11 + packages/icon/src/IcDownload.tsx | 11 + packages/icon/src/IcEvent.tsx | 11 + packages/icon/src/IcEventCircle.tsx | 27 + packages/icon/src/IcFile.tsx | 11 + packages/icon/src/IcFileDelete.tsx | 11 + packages/icon/src/IcFileRound.tsx | 12 + packages/icon/src/IcFolder.tsx | 15 + packages/icon/src/IcFolderCopy.tsx | 11 + packages/icon/src/IcFolderLarge.tsx | 11 + packages/icon/src/IcGlobal.tsx | 20 + packages/icon/src/IcGrayCheck.tsx | 8 + packages/icon/src/IcGrid.tsx | 11 + packages/icon/src/IcGroup.tsx | 13 + packages/icon/src/IcHandoverEmpty.tsx | 11 + packages/icon/src/IcHandoverFill.tsx | 11 + packages/icon/src/IcImageFile.tsx | 11 + packages/icon/src/IcKeyArrow.tsx | 8 + packages/icon/src/IcKeyCheck.tsx | 8 + packages/icon/src/IcLeftSm.tsx | 15 + packages/icon/src/IcList.tsx | 8 + packages/icon/src/IcListChecked.tsx | 8 + packages/icon/src/IcLogout.tsx | 11 + packages/icon/src/IcMeeting.tsx | 11 + packages/icon/src/IcMeetingCircle.tsx | 21 + packages/icon/src/IcMore.tsx | 14 + packages/icon/src/IcNavTimeline.tsx | 12 + packages/icon/src/IcNote.tsx | 11 + packages/icon/src/IcNoteBlack.tsx | 11 + packages/icon/src/IcNotice.tsx | 11 + packages/icon/src/IcNoticeCircle.tsx | 15 + packages/icon/src/IcPaper.tsx | 11 + packages/icon/src/IcPasswordReset.tsx | 11 + packages/icon/src/IcPdfFile.tsx | 16 + packages/icon/src/IcPencil.tsx | 14 + packages/icon/src/IcPlusButton.tsx | 15 + packages/icon/src/IcRecruiting.tsx | 10 + packages/icon/src/IcRightSm.tsx | 15 + packages/icon/src/IcSearch.tsx | 13 + packages/icon/src/IcSetting.tsx | 11 + packages/icon/src/IcSettingGray.tsx | 11 + packages/icon/src/IcSpinner.tsx | 19 + packages/icon/src/IcStickyNote2.tsx | 11 + packages/icon/src/IcStudy.tsx | 11 + packages/icon/src/IcStudyCircle.tsx | 19 + .../icon/src/IcSubdirectoryArrowRight.tsx | 8 + packages/icon/src/IcSuccess.tsx | 9 + packages/icon/src/IcTask.tsx | 11 + packages/icon/src/IcTeamProfileAdd.tsx | 14 + packages/icon/src/IcTeamProfileDelete.tsx | 12 + packages/icon/src/IcThreeDots.tsx | 15 + packages/icon/src/IcTikiLogo.tsx | 16 + packages/icon/src/IcTimeline.tsx | 12 + packages/icon/src/IcTimeline2.tsx | 12 + packages/icon/src/IcTooltipArrow.tsx | 8 + packages/icon/src/IcTrash.tsx | 14 + packages/icon/src/IcUp.tsx | 11 + packages/icon/src/IcWordFile.tsx | 16 + packages/icon/src/LogoMail.tsx | 27 + packages/icon/src/LogoSymbol.tsx | 23 + packages/icon/src/LogoTikiMd.tsx | 23 + packages/icon/src/LogoTikiSm.tsx | 23 + packages/icon/svgr.d.ts | 5 + packages/icon/tsconfig.json | 17 + packages/tsconfig/base.json | 24 + packages/tsconfig/package.json | 6 + packages/tsconfig/react-components.json | 9 + packages/ui/package.json | 32 + .../ui/src}/Button/Button.style.ts | 66 +- packages/ui/src/Button/Button.tsx | 20 + packages/ui/src/Carousel/Arrow.tsx | 21 + packages/ui/src/Carousel/Carousel.style.ts | 100 + .../ui/src}/Carousel/Carousel.tsx | 20 +- .../ui/src}/Carousel/CarouselItem.tsx | 11 +- .../ui/src}/Carousel/Dots.tsx | 6 +- packages/ui/src/Carousel/index.ts | 2 + packages/ui/src/CheckBox/CheckBox.style.ts | 34 + .../ui/src}/CheckBox/CheckBox.tsx | 4 +- .../src}/CommandButton/CommandButton.style.ts | 64 +- .../ui/src}/CommandButton/CommandButton.tsx | 29 +- .../ui/src/CountedInput/CountedInput.style.ts | 63 + .../ui/src}/CountedInput/CountedInput.tsx | 15 +- .../DatePicker/Calendar/Calendar.style.ts | 88 +- .../Calendar/DatePickerCalendar.tsx | 15 +- .../Calendar/Dates/CalendarDates.tsx | 15 +- .../Calendar/Dates/util/dateStyle.ts | 4 +- .../DatePicker/Calendar/Days/CalendarDays.tsx | 4 +- .../Calendar/Header/CalendarHeader.tsx | 23 + .../Trigger/DatePickerTrigger.style.ts | 7 + .../DatePicker/Trigger/DatePickerTrigger.tsx | 44 + .../ui/src}/DatePicker/index.style.ts | 0 .../ui/src}/DatePicker/index.tsx | 16 +- .../ui/src}/Divider/Divider.style.ts | 14 +- packages/ui/src/Divider/Divider.tsx | 15 + packages/ui/src/Dropdown/Dropdown.style.ts | 27 + .../ui/src}/Dropdown/Dropdown.tsx | 8 +- .../ui/src}/Dropdown/DropdownItem.tsx | 8 +- .../ui/src}/Dropdown/DropdownList.tsx | 6 +- .../ui/src}/Dropdown/DropdownTrigger.tsx | 0 packages/ui/src/Dropdown/index.tsx | 4 + .../ui/src}/Flex/Flex.style.ts | 0 .../ui/src}/Flex/Flex.tsx | 6 +- .../ui/src}/Heading/Heading.tsx | 0 .../ui/src}/Heading/heading.style.ts | 4 +- packages/ui/src/Input/Input.style.ts | 52 + .../ui/src}/Input/Input.tsx | 10 +- .../ui/src}/Label/Label.style.ts | 4 +- .../ui/src}/Label/Label.tsx | 6 +- .../ui/src}/Menu/Menu.tsx | 6 +- .../ui/src/Menu/MenuItem/MenuItem.style.ts | 24 + .../ui/src}/Menu/MenuItem/MenuItem.tsx | 9 +- .../ui/src/Menu/MenuList/MenuList.style.ts | 21 + .../ui/src}/Menu/MenuList/MenuList.tsx | 4 +- packages/ui/src/Menu/index.ts | 3 + packages/ui/src/Modal/Modal.style.ts | 35 + .../ui/src}/Modal/Modal.tsx | 22 +- .../ui/src/RadioButton/RadioButton.style.ts | 70 + .../ui/src}/RadioButton/RadioButton.tsx | 0 .../ui/src}/RadioButton/RadioGroup.tsx | 6 +- packages/ui/src/RadioButton/index.ts | 2 + packages/ui/src/Select/Select.style.ts | 127 + .../ui/src}/Select/Select.tsx | 55 +- .../ui/src}/Spinner/Spinner.tsx | 6 +- .../SupportingText/SupportingText.style.ts | 10 +- .../ui/src}/SupportingText/SupportingText.tsx | 6 +- packages/ui/src/Switch/Switch.style.ts | 83 + packages/ui/src/Switch/Switch.tsx | 40 + .../ui/src}/Tab/TabButton.tsx | 13 +- .../ui/src}/Tab/TabList.tsx | 8 +- .../ui/src}/Tab/TabPanel.tsx | 0 .../ui/src}/Tab/Tabs.tsx | 0 packages/ui/src/Tab/index.tsx | 4 + packages/ui/src/Tab/style.ts | 59 + .../ui/src}/Tag/Tag.style.ts | 16 +- packages/ui/src/Tag/Tag.tsx | 19 + .../ui/src}/Text/Text.style.ts | 8 +- .../ui/src}/Text/Text.tsx | 0 packages/ui/src/Toast/Toast.style.ts | 28 + .../ui/src}/Toast/Toast.tsx | 22 +- .../ToastContainer/ToastContainer.style.ts | 18 + .../ui/src}/ToastContainer/ToastContainer.tsx | 2 +- .../ui/src}/ToastContainer/ToastProvider.tsx | 4 +- .../ui/src}/ToolTip/ToolTip.style.ts | 62 +- .../ui/src}/ToolTip/ToolTip.tsx | 23 +- .../style => packages/ui/src}/animation.ts | 2 +- packages/ui/src/index.ts | 32 + packages/ui/src/theme.ts | 158 + packages/ui/src/types.ts | 3 + packages/ui/tsconfig.json | 19 + packages/ui/tsup.config.ts | 16 + packages/utils/package.json | 10 + packages/utils/src/hooks/index.ts | 17 + .../utils/src/hooks}/useCachedImage.ts | 12 +- .../utils/src/hooks}/useCalendar.ts | 12 +- .../utils/src/hooks}/useCarousel.ts | 18 +- .../utils/src/hooks}/useDatePicker.ts | 0 .../utils/src/hooks}/useDebounce.ts | 0 .../src/hooks}/useDeferedSearchFilter.ts | 10 +- .../utils/src/hooks}/useError.ts | 0 .../utils/src/hooks}/useErrorBoundary.ts | 6 +- .../utils/src/hooks}/useInput.ts | 0 .../utils/src/hooks}/useModal.tsx | 4 +- .../utils/src/hooks}/useMultiSelect.ts | 0 .../utils/src/hooks}/useObserver.ts | 0 .../utils/src/hooks}/useOutsideClick.ts | 0 .../utils/src/hooks}/useOverlay.ts | 0 .../utils/src/hooks}/usePreventGoBack.tsx | 0 .../utils/src/hooks}/useThrottle.ts | 4 +- .../utils/src/hooks}/useTimer.ts | 4 +- packages/utils/src/index.ts | 3 + packages/utils/src/store/index.ts | 1 + .../utils/src}/store/toast.ts | 24 +- packages/utils/src/utils/index.ts | 3 + packages/utils/tsconfig.json | 9 + pnpm-lock.yaml | 10867 +++++++--------- pnpm-workspace.yaml | 3 + src/common/component/Button/Button.tsx | 20 - src/common/component/Carousel/Arrow.tsx | 22 - .../component/Carousel/Carousel.style.ts | 100 - .../component/CheckBox/CheckBox.style.ts | 34 - .../CountedInput/CountedInput.style.ts | 63 - .../Calendar/Header/CalendarHeader.tsx | 24 - .../Trigger/DatePickerTrigger.style.ts | 7 - .../DatePicker/Trigger/DatePickerTrigger.tsx | 44 - src/common/component/Divider/Divider.tsx | 15 - .../component/Dropdown/Dropdown.style.ts | 27 - src/common/component/Dropdown/index.tsx | 10 - src/common/component/Header/Header.style.ts | 27 - src/common/component/Header/Header.tsx | 46 - src/common/component/Input/Input.style.ts | 52 - .../component/Menu/MenuItem/MenuItem.style.ts | 24 - .../component/Menu/MenuList/MenuList.style.ts | 21 - src/common/component/Modal/Modal.style.ts | 35 - .../RadioButton/RadioButton.style.ts | 70 - src/common/component/Select/Select.style.ts | 127 - src/common/component/Switch/Switch.style.ts | 83 - src/common/component/Switch/Switch.tsx | 38 - src/common/component/Tab/index.tsx | 6 - src/common/component/Tab/style.ts | 59 - src/common/component/Tag/Tag.tsx | 19 - src/common/component/Toast/Toast.style.ts | 28 - .../ToastContainer/ToastContainer.style.ts | 18 - src/common/hook/index.ts | 9 - src/common/style/scroll.ts | 14 - src/common/style/theme/theme.ts | 145 - src/common/type/design.ts | 1 - .../TimeBlockModal/constant/iconBlock.tsx | 40 - src/page/archiving/index/constant/icon.tsx | 37 - .../archiving/index/constant/sortOption.tsx | 7 - src/shared/component/FileGrid/icon.tsx | 20 - src/shared/type/toast.ts | 8 - src/story/common/Header.stories.tsx | 24 - tsconfig.json | 57 +- vercel.json | 3 - 702 files changed, 8741 insertions(+), 8552 deletions(-) create mode 100644 .editorConfig create mode 100644 .npmrc delete mode 100644 .prettierrc delete mode 100644 .storybook/main.ts rename .eslintrc.cjs => apps/client/.eslintrc.cjs (100%) create mode 100644 apps/client/.prettierrc create mode 100644 apps/client/.storybook/main.ts rename {.storybook => apps/client/.storybook}/preview-head.html (100%) rename {.storybook => apps/client/.storybook}/preview.tsx (95%) rename index.html => apps/client/index.html (83%) create mode 100644 apps/client/package.json rename {src/common/asset/svg => apps/client/public}/favicon.svg (100%) rename {public => apps/client/public}/font/subset-PretendardVariable.woff (100%) rename {public => apps/client/public}/font/subset-PretendardVariable.woff2 (100%) rename {public => apps/client/public}/img/advBannerClub1.png (100%) rename {public => apps/client/public}/img/advBannerClub1.webp (100%) rename {public => apps/client/public}/img/advBannerClub2.png (100%) rename {public => apps/client/public}/img/advBannerClub2.webp (100%) rename {public => apps/client/public}/img/advBannerClub3.png (100%) rename {public => apps/client/public}/img/advBannerClub3.webp (100%) rename {public => apps/client/public}/img/advBannerClub4.png (100%) rename {public => apps/client/public}/img/advBannerClub4.webp (100%) rename {public => apps/client/public}/mockServiceWorker.js (100%) rename {src => apps/client/src}/App.tsx (100%) rename {src => apps/client/src}/common/asset/img/comingsoon.png (100%) rename {src => apps/client/src}/common/asset/img/error.png (100%) rename {src => apps/client/src}/common/asset/img/landing01.png (100%) rename {src => apps/client/src}/common/asset/img/landing01.webp (100%) rename {src => apps/client/src}/common/asset/img/service01.png (100%) rename {src => apps/client/src}/common/asset/img/service01.webp (100%) rename {src => apps/client/src}/common/asset/img/service02.png (100%) rename {src => apps/client/src}/common/asset/img/service02.webp (100%) rename {src => apps/client/src}/common/asset/img/workspace_complete.png (100%) rename {src => apps/client/src}/common/asset/img/workspace_complete.webp (100%) rename {src/shared => apps/client/src/common}/component/CachedImage/CachedImage.tsx (92%) rename {src => apps/client/src}/common/component/ErrorBoundary/ErrorBoundary.tsx (100%) rename {src => apps/client/src}/common/router/Router.tsx (100%) rename {src => apps/client/src}/common/router/lazy.ts (100%) rename {src => apps/client/src}/common/style/ellipsis.ts (100%) rename {src => apps/client/src}/common/style/globalStyle.ts (100%) rename {src => apps/client/src}/common/style/theme/emotion.d.ts (100%) rename {src => apps/client/src}/main.tsx (88%) rename {src => apps/client/src}/mock/browser.ts (100%) rename {src => apps/client/src}/mock/data/drive.ts (100%) rename {src => apps/client/src}/mock/data/showCase.ts (100%) rename {src => apps/client/src}/mock/data/term.ts (100%) rename {src => apps/client/src}/mock/data/timeLine.ts (100%) rename {src => apps/client/src}/mock/handler/index.ts (100%) rename {src => apps/client/src}/mock/handler/showCase.ts (100%) rename {src => apps/client/src}/mock/handler/timeLine.ts (100%) rename {src => apps/client/src}/mock/handler/workspace.ts (100%) rename {src => apps/client/src}/page/archiving/index/ArchivingPage.style.ts (100%) rename {src => apps/client/src}/page/archiving/index/ArchivingPage.tsx (96%) rename {src => apps/client/src}/page/archiving/index/DateProvider.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/DocumentBar.style.ts (89%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/DocumentBar.tsx (92%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Item/Item.style.ts (93%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Item/Item.tsx (79%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts (85%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Selected/Selected.tsx (89%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts (93%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Sort/Sort.tsx (88%) rename {src => apps/client/src}/page/archiving/index/component/DocumentBar/Total/Total.tsx (89%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts (76%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx (76%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx (70%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx (84%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts (89%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx (86%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts (93%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx (69%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx (83%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts (87%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx (94%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts (81%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx (91%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts (92%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.style.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx (80%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts (88%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx (92%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts (83%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx (67%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts (93%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx (96%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/constant/color.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/constant/error.ts (100%) create mode 100644 apps/client/src/page/archiving/index/component/TimeBlockModal/constant/iconBlock.tsx rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/hook/api/useDeleteFileMutation.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/hook/api/usePostTimeBlockMutation.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/hook/api/usePutUploadMutation.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/hook/common/useDateRange.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/hook/common/useFile.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/index.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/type/blockType.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/util/color.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeBlockModal/util/date.ts (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/Day/Day.style.ts (96%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/Day/Day.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts (96%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.tsx (100%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts (92%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx (74%) rename {src => apps/client/src}/page/archiving/index/component/TimeLine/index.tsx (100%) rename {src => apps/client/src}/page/archiving/index/constant/icon.style.ts (92%) create mode 100644 apps/client/src/page/archiving/index/constant/icon.tsx create mode 100644 apps/client/src/page/archiving/index/constant/sortOption.tsx rename {src => apps/client/src}/page/archiving/index/hook/api/useBlockInfoQuery.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/api/useDeleteBlockMutaion.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/api/useDeleteDocumentMutation.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/api/useGetTimeBlockQuery.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/api/useTotalDocumentQuery.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/common/useDate.ts (100%) rename {src => apps/client/src}/page/archiving/index/hook/common/useInteractTimeline.ts (100%) rename {src => apps/client/src}/page/archiving/index/type/blockType.ts (100%) rename {src => apps/client/src}/page/archiving/index/type/color.ts (100%) rename {src => apps/client/src}/page/archiving/index/type/documentType.ts (100%) rename {src => apps/client/src}/page/archiving/index/util/block.ts (100%) rename {src => apps/client/src}/page/archiving/index/util/date.ts (100%) rename {src => apps/client/src}/page/archiving/index/util/document.ts (100%) rename {src => apps/client/src}/page/dashboard/DashboardPage.style.ts (100%) rename {src => apps/client/src}/page/dashboard/DashboardPage.tsx (94%) rename {src => apps/client/src}/page/dashboard/component/File/FileSection.tsx (85%) rename {src => apps/client/src}/page/dashboard/component/Handover/HandoverSection.style.ts (85%) rename {src => apps/client/src}/page/dashboard/component/Handover/HandoverSection.tsx (91%) rename {src => apps/client/src}/page/dashboard/component/Handover/ListItem/ListItem.style.ts (95%) rename {src => apps/client/src}/page/dashboard/component/Handover/ListItem/ListItem.tsx (84%) rename {src => apps/client/src}/page/dashboard/component/Timeline/Timeline/Timeline.style.ts (85%) rename {src => apps/client/src}/page/dashboard/component/Timeline/Timeline/Timeline.tsx (100%) rename {src => apps/client/src}/page/dashboard/component/Timeline/index.tsx (100%) rename {src => apps/client/src}/page/dashboard/constant/notes.ts (100%) rename {src => apps/client/src}/page/dashboard/type/listTag.ts (100%) rename {src => apps/client/src}/page/dashboard/type/note.ts (100%) rename {src => apps/client/src}/page/dashboard/util/alignTags.ts (100%) rename {src => apps/client/src}/page/dashboard/util/color.ts (90%) rename {src => apps/client/src}/page/deleted/index.tsx (91%) rename {src => apps/client/src}/page/drive/component/FileListHeader/FileListHeader.style.ts (100%) rename {src => apps/client/src}/page/drive/component/FileListHeader/FileListHeader.tsx (81%) rename {src => apps/client/src}/page/drive/component/FileListItem/FileListItem.style.ts (91%) rename {src => apps/client/src}/page/drive/component/FileListItem/FileListItem.tsx (74%) rename {src => apps/client/src}/page/drive/index.style.ts (100%) rename {src => apps/client/src}/page/drive/index.tsx (80%) rename {src => apps/client/src}/page/handover/HandoverPage.style.ts (91%) rename {src => apps/client/src}/page/handover/HandoverPage.tsx (86%) rename {src => apps/client/src}/page/handover/component/NoteItem/NoteItem.style.ts (90%) rename {src => apps/client/src}/page/handover/component/NoteItem/NoteItem.tsx (75%) rename {src => apps/client/src}/page/handover/component/NoteListHeader/NoteListHeader.style.ts (70%) rename {src => apps/client/src}/page/handover/component/NoteListHeader/NoteListHeader.tsx (84%) rename {src => apps/client/src}/page/handover/constant/noteList.ts (100%) rename {src => apps/client/src}/page/handover/note/NotePage.style.ts (91%) rename {src => apps/client/src}/page/handover/note/NotePage.tsx (68%) rename {src => apps/client/src}/page/handover/note/component/Custom/Custom.style.ts (94%) rename {src => apps/client/src}/page/handover/note/component/Custom/Custom.tsx (89%) rename {src => apps/client/src}/page/handover/note/component/File/File.style.ts (91%) rename {src => apps/client/src}/page/handover/note/component/File/File.tsx (68%) rename {src => apps/client/src}/page/handover/note/component/NoteDetail/NoteDetail.style.ts (95%) rename {src => apps/client/src}/page/handover/note/component/NoteDetail/NoteDetail.tsx (83%) rename {src => apps/client/src}/page/handover/note/component/Template/Template.style.ts (91%) rename {src => apps/client/src}/page/handover/note/component/Template/Template.tsx (88%) rename {src => apps/client/src}/page/handover/note/constants/tag.ts (100%) rename {src => apps/client/src}/page/handover/note/constants/template.ts (100%) rename {src => apps/client/src}/page/handover/note/hooks/useFile.ts (100%) rename {src => apps/client/src}/page/landing/LandingPage.style.ts (97%) rename {src => apps/client/src}/page/landing/LandingPage.tsx (95%) rename {src => apps/client/src}/page/landing/component/Indicator/Indicator.tsx (71%) rename {src => apps/client/src}/page/landing/component/Overview/Overview.style.ts (91%) rename {src => apps/client/src}/page/landing/component/Overview/Overview.tsx (87%) rename {src => apps/client/src}/page/landing/constant/index.ts (100%) rename {src => apps/client/src}/page/login/index/LoginPage.style.ts (91%) rename {src => apps/client/src}/page/login/index/LoginPage.tsx (88%) rename {src => apps/client/src}/page/login/index/constant/index.ts (100%) rename {src => apps/client/src}/page/login/index/hook/useLoginMutation.ts (95%) rename {src => apps/client/src}/page/login/password/auth/PasswordAuthPage.style.ts (91%) rename {src => apps/client/src}/page/login/password/auth/PasswordAuthPage.tsx (94%) rename {src => apps/client/src}/page/login/password/auth/hook/api/useResendMailMutation.ts (92%) rename {src => apps/client/src}/page/login/password/auth/hook/common/useSupportingText.ts (100%) rename {src => apps/client/src}/page/login/password/reset/PasswordResetPage.style.ts (91%) rename {src => apps/client/src}/page/login/password/reset/PasswordResetPage.tsx (92%) rename {src => apps/client/src}/page/login/password/reset/hook/api/useResetPasswordMutation.ts (93%) rename {src => apps/client/src}/page/login/password/reset/hook/common/usePasswordForm.ts (100%) rename {src => apps/client/src}/page/login/password/type/supportingText.ts (100%) rename {src => apps/client/src}/page/showcase/index/ShowcasePage.style.ts (100%) rename {src => apps/client/src}/page/showcase/index/ShowcasePage.tsx (94%) rename {src => apps/client/src}/page/showcase/index/component/AdvBanner/AdvBanner.style.ts (95%) rename {src => apps/client/src}/page/showcase/index/component/AdvBanner/AdvBanner.tsx (88%) rename {src => apps/client/src}/page/showcase/index/component/BannerSlider/BannerSlider.style.ts (94%) rename {src => apps/client/src}/page/showcase/index/component/BannerSlider/BannerSlider.tsx (71%) rename {src => apps/client/src}/page/showcase/index/component/CategoryChip/CategoryChip.style.ts (91%) rename {src => apps/client/src}/page/showcase/index/component/CategoryChip/CategoryChip.tsx (100%) rename {src => apps/client/src}/page/showcase/index/component/ClubProfileCard/ClubProfileCard.style.ts (100%) rename {src => apps/client/src}/page/showcase/index/component/ClubProfileCard/ClubProfileCard.tsx (75%) rename {src => apps/client/src}/page/showcase/index/constant/banner.ts (100%) rename {src => apps/client/src}/page/showcase/index/constant/category.ts (100%) rename {src => apps/client/src}/page/showcase/index/hook/api/useClubListQuery.ts (100%) rename {src => apps/client/src}/page/showcase/team/index.tsx (100%) rename {src => apps/client/src}/page/signUp/index/TermPage.style.ts (89%) rename {src => apps/client/src}/page/signUp/index/TermPage.tsx (93%) rename {src => apps/client/src}/page/signUp/index/component/TermItem/TermItem.style.ts (94%) rename {src => apps/client/src}/page/signUp/index/component/TermItem/TermItem.tsx (83%) rename {src => apps/client/src}/page/signUp/index/component/TermsAgreeButton/TermsAgreeButton.style.ts (91%) rename {src => apps/client/src}/page/signUp/index/component/TermsAgreeButton/TermsAgreeButton.tsx (89%) rename {src => apps/client/src}/page/signUp/index/hook/useTermForm.ts (100%) rename {src => apps/client/src}/page/signUp/info/InfoFormPage.style.ts (100%) rename {src => apps/client/src}/page/signUp/info/InfoFormPage.tsx (84%) rename {src => apps/client/src}/page/signUp/info/UnivFormPage.tsx (90%) rename {src => apps/client/src}/page/signUp/info/hook/api/useSendMailMutation.ts (91%) rename {src => apps/client/src}/page/signUp/info/hook/api/useSignupMutation.ts (93%) rename {src => apps/client/src}/page/signUp/info/hook/common/useDateInput.ts (100%) rename {src => apps/client/src}/page/signUp/info/hook/common/useInfoForm.ts (98%) rename {src => apps/client/src}/page/signUp/info/hook/common/useSelect.ts (100%) rename {src => apps/client/src}/page/signUp/info/hook/common/useTimer.ts (100%) rename {src => apps/client/src}/page/signUp/info/hook/common/useUnivForm.ts (95%) rename {src => apps/client/src}/page/signUp/info/util/date.ts (100%) rename {src => apps/client/src}/page/signUp/info/util/formatTime.ts (100%) rename {src => apps/client/src}/shared/api/HTTPError.ts (100%) rename {src => apps/client/src}/shared/api/auth/reissue/index.ts (100%) rename {src => apps/client/src}/shared/api/auth/signin/index.ts (100%) rename {src => apps/client/src}/shared/api/auth/signin/type.ts (100%) rename {src => apps/client/src}/shared/api/documents/team/document/index.ts (100%) rename {src => apps/client/src}/shared/api/documents/team/timeline/index.ts (100%) rename {src => apps/client/src}/shared/api/documents/team/timeline/type.ts (100%) rename {src => apps/client/src}/shared/api/email-verification/checking/index.ts (100%) rename {src => apps/client/src}/shared/api/email-verification/password/index.ts (100%) rename {src => apps/client/src}/shared/api/email-verification/signup/index.ts (100%) rename {src => apps/client/src}/shared/api/external/index.ts (100%) rename {src => apps/client/src}/shared/api/file/index.ts (100%) rename {src => apps/client/src}/shared/api/file/type.ts (100%) rename {src => apps/client/src}/shared/api/file/upload/index.ts (100%) rename {src => apps/client/src}/shared/api/index.d.ts (100%) rename {src => apps/client/src}/shared/api/instance.ts (100%) rename {src => apps/client/src}/shared/api/interceptor.ts (100%) rename {src => apps/client/src}/shared/api/members/password/index.ts (100%) rename {src => apps/client/src}/shared/api/members/password/type.ts (100%) rename {src => apps/client/src}/shared/api/members/teams/index.ts (100%) rename {src => apps/client/src}/shared/api/members/teams/type.ts (100%) rename {src => apps/client/src}/shared/api/queryClient.ts (100%) rename {src => apps/client/src}/shared/api/signup/info/index.ts (100%) rename {src => apps/client/src}/shared/api/signup/info/type.ts (100%) rename {src => apps/client/src}/shared/api/teams/category/index.ts (100%) rename {src => apps/client/src}/shared/api/teams/category/type.ts (100%) rename {src => apps/client/src}/shared/api/teams/index.ts (100%) rename {src => apps/client/src}/shared/api/teams/type.ts (100%) rename {src => apps/client/src}/shared/api/time-blocks/team/time-block/index.ts (100%) rename {src => apps/client/src}/shared/api/time-blocks/team/time-block/type.ts (100%) rename {src => apps/client/src}/shared/api/time-blocks/team/timeline/index.ts (100%) rename {src => apps/client/src}/shared/component/ContentBox/ContentBox.style.ts (96%) rename {src => apps/client/src}/shared/component/ContentBox/ContentBox.tsx (72%) rename {src => apps/client/src}/shared/component/DeleteModal/DeleteModal.style.ts (84%) rename {src => apps/client/src}/shared/component/DeleteModal/DeleteModal.tsx (91%) rename {src => apps/client/src}/shared/component/EmptySection/EmptySection.style.ts (89%) rename {src => apps/client/src}/shared/component/EmptySection/EmptySection.tsx (85%) rename {src => apps/client/src}/shared/component/EmptySection/constant.ts (100%) rename {src => apps/client/src}/shared/component/FileGrid/FileGrid.tsx (82%) rename {src => apps/client/src}/shared/component/FileGrid/FolderGrid.tsx (70%) create mode 100644 apps/client/src/shared/component/FileGrid/icon.tsx rename {src => apps/client/src}/shared/component/FileGrid/index.style.ts (95%) rename {src => apps/client/src}/shared/component/Header/Header.style.ts (85%) rename {src => apps/client/src}/shared/component/Header/Header.tsx (90%) rename {src => apps/client/src}/shared/component/Login/Login.tsx (100%) rename {src => apps/client/src}/shared/component/Modal/ModalContainer.tsx (95%) rename {src => apps/client/src}/shared/component/RouteNav/RouteNav.style.ts (95%) rename {src => apps/client/src}/shared/component/RouteNav/RouteNav.tsx (74%) rename {src => apps/client/src}/shared/component/SideNavBar/Item/Item.style.ts (94%) rename {src => apps/client/src}/shared/component/SideNavBar/Item/Item.tsx (55%) rename {src => apps/client/src}/shared/component/SideNavBar/SideNavBar.style.ts (89%) rename {src => apps/client/src}/shared/component/SideNavBar/SideNavBar.tsx (74%) rename {src => apps/client/src}/shared/component/TimeBlockDrawer/TimeBlockDrawer.style.ts (90%) rename {src => apps/client/src}/shared/component/TimeBlockDrawer/TimeBlockDrawer.tsx (95%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/category/WorkSpaceCategory.style.ts (92%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/category/WorkSpaceCategory.tsx (92%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/complete/WorkSpaceComplete.tsx (95%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/image/WorkSpaceImage.style.ts (91%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/image/WorkSpaceImage.tsx (82%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/image/hook/useImageUpload.tsx (100%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/index.tsx (100%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/info/WorkSpaceInfo.style.ts (83%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/info/WorkSpaceInfo.tsx (87%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/name/WorkSpaceName.style.ts (91%) rename {src => apps/client/src}/shared/component/WorkSpaceModal/name/WorkSpaceName.tsx (91%) rename {src => apps/client/src}/shared/constant/api.ts (100%) rename {src => apps/client/src}/shared/constant/form.ts (100%) rename {src => apps/client/src}/shared/constant/index.ts (100%) rename {src => apps/client/src}/shared/constant/path.ts (100%) rename {src => apps/client/src}/shared/hook/api/useCategoryListQuery.ts (100%) rename {src => apps/client/src}/shared/hook/api/useClubInfoQuery.ts (100%) rename {src => apps/client/src}/shared/hook/api/useGetFileQuery.ts (100%) rename {src => apps/client/src}/shared/hook/api/usePostTeamMutation.ts (100%) rename {src => apps/client/src}/shared/hook/api/useVerifyCodeMutation.ts (91%) rename {src => apps/client/src}/shared/hook/common/useBlockContext.tsx (100%) rename {src => apps/client/src}/shared/hook/common/useInitializeTeamId.tsx (100%) rename {src => apps/client/src}/shared/hook/common/useLogout.ts (100%) rename {src => apps/client/src}/shared/hook/common/useTokenError.ts (93%) rename {src => apps/client/src}/shared/hook/common/useWorkSpaceContext.tsx (100%) rename {src => apps/client/src}/shared/page/comingsoonPage/ComingsoonPage.tsx (78%) rename {src => apps/client/src}/shared/page/errorPage/ErrorPage.style.ts (88%) rename {src => apps/client/src}/shared/page/errorPage/ErrorPage.tsx (87%) rename {src => apps/client/src}/shared/store/auth.ts (100%) rename {src => apps/client/src}/shared/store/drawer.ts (100%) rename {src => apps/client/src}/shared/store/modal.tsx (100%) rename {src => apps/client/src}/shared/store/team.ts (100%) rename {src => apps/client/src}/shared/type/block.ts (100%) rename {src => apps/client/src}/shared/type/content.ts (100%) rename {src => apps/client/src}/shared/type/file.ts (100%) rename {src => apps/client/src}/shared/type/team.ts (100%) rename {src => apps/client/src}/shared/type/time.ts (100%) rename {src => apps/client/src}/shared/util/file.ts (100%) rename {src => apps/client/src}/shared/util/typeGuard.ts (100%) rename {src => apps/client/src}/shared/util/validate.ts (100%) rename {src => apps/client/src}/story/common/Button.stories.tsx (76%) rename {src => apps/client/src}/story/common/Carousel.stories.tsx (79%) rename {src => apps/client/src}/story/common/CheckBox.stories.tsx (88%) rename {src => apps/client/src}/story/common/CommandButton.stories.tsx (90%) rename {src => apps/client/src}/story/common/CountedInput.stories.tsx (90%) rename {src => apps/client/src}/story/common/DatePicker.stories.tsx (90%) rename {src => apps/client/src}/story/common/Divider.stories.tsx (93%) rename {src => apps/client/src}/story/common/Flex.stories.tsx (95%) rename {src => apps/client/src}/story/common/Heading.stories.tsx (90%) rename {src => apps/client/src}/story/common/Input.stories.tsx (87%) rename {src => apps/client/src}/story/common/Label.stories.tsx (89%) rename {src => apps/client/src}/story/common/MenuList.stories.tsx (61%) rename {src => apps/client/src}/story/common/RadioGroup.stories.tsx (94%) rename {src => apps/client/src}/story/common/Select.stories.tsx (95%) rename {src => apps/client/src}/story/common/Switch.stories.tsx (75%) rename {src => apps/client/src}/story/common/TabButton.stories.tsx (79%) rename {src => apps/client/src}/story/common/Tabs.stories.tsx (56%) rename {src => apps/client/src}/story/common/Tag.stories.tsx (94%) rename {src => apps/client/src}/story/common/Text.stories.tsx (92%) rename {src => apps/client/src}/story/common/Toast.stories.tsx (83%) rename {src => apps/client/src}/story/common/ToolTip.stories.tsx (84%) rename {src => apps/client/src}/story/page/dashboard/component/ListItem.stories.tsx (100%) rename {src => apps/client/src}/story/page/drive/FileListHeader.stories.tsx (100%) rename {src => apps/client/src}/story/page/drive/FileListItem.stories.tsx (100%) rename {src => apps/client/src}/story/page/handover/NoteItem.stories.tsx (100%) rename {src => apps/client/src}/story/shared/ContentBox.stories.tsx (92%) rename {src => apps/client/src}/story/shared/DeleteModal.stories.tsx (100%) rename {src => apps/client/src}/story/shared/FileGrid.stories.tsx (100%) rename {src => apps/client/src}/story/shared/FolderGrid.stories.tsx (100%) rename {src => apps/client/src}/story/shared/Header.stories.tsx (100%) rename {src => apps/client/src}/story/shared/RouteNav.stories.tsx (100%) rename src/story/shared/SideNavBar/Item.stories.tsx => apps/client/src/story/shared/SideNavBarItem.stories.tsx (75%) rename {src => apps/client/src}/story/shared/WorkSpaceModal.stories.tsx (91%) rename {src => apps/client/src}/vite-env.d.ts (100%) rename svg.d.ts => apps/client/svg.d.ts (100%) create mode 100644 apps/client/tsconfig.json rename tsconfig.node.json => apps/client/tsconfig.node.json (100%) rename vite.config.ts => apps/client/vite.config.ts (100%) create mode 100644 apps/landing/.eslintrc.json create mode 100644 apps/landing/next.config.ts create mode 100644 apps/landing/package.json create mode 100644 apps/landing/src/app/layout.tsx create mode 100644 apps/landing/src/app/page.tsx create mode 100644 apps/landing/src/components/.gitkeep create mode 100644 apps/landing/tsconfig.json rename {src/common/asset => packages/icon/assets}/svg/ic_accounting.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_add.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_add_btn.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_add_team.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_add_white.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_alert_no.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_alert_yes.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_back.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_down.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_down_gray.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_drop_down.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_forward.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_left.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_left_white.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_right.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_right_white.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_arrow_up.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_avatar.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_calendar.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_calendar_arrow_left.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_calendar_arrow_right.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_calendar_ver2.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_caution.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_check.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_circle.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_close.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_cloud_upload.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_command_key.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_default_profile.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_delete.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_delete_file.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_down.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_download.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_event.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_event_circle.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_file.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_file_delete.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_file_round.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_folder.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_folder_copy.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_folder_large.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_global.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_gray_check.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_grid.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_group.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_handover_empty.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_handover_fill.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_image_file.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_key_arrow.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_key_check.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_left_sm.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_list.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_list_checked.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_logout.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_meeting.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_meeting_circle.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_more.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_nav_timeline.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_note.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_note_black.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_notice.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_notice_circle.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_paper.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_password_reset.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_pdf_file.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_pencil.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_plus_button.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_recruiting.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_right_sm.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_search.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_setting.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_setting_gray.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_spinner.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_sticky_note_2.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_study.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_study_circle.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_subdirectory_arrow_right.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_success.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_task.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_team_profile_add.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_team_profile_delete.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_three_dots.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_tiki_logo.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_timeline.svg (100%) create mode 100644 packages/icon/assets/svg/ic_timeline2.svg rename {src/common/asset => packages/icon/assets}/svg/ic_tooltip_arrow.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_trash.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_up.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/ic_word_file.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/logo_mail.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/logo_symbol.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/logo_tiki_md.svg (100%) rename {src/common/asset => packages/icon/assets}/svg/logo_tiki_sm.svg (100%) create mode 100644 packages/icon/generateIcon.ts create mode 100644 packages/icon/index.ts create mode 100644 packages/icon/package.json create mode 100644 packages/icon/src/IcAccounting.tsx create mode 100644 packages/icon/src/IcAdd.tsx create mode 100644 packages/icon/src/IcAddBtn.tsx create mode 100644 packages/icon/src/IcAddTeam.tsx create mode 100644 packages/icon/src/IcAddWhite.tsx create mode 100644 packages/icon/src/IcAlertNo.tsx create mode 100644 packages/icon/src/IcAlertYes.tsx create mode 100644 packages/icon/src/IcArrowBack.tsx create mode 100644 packages/icon/src/IcArrowDown.tsx create mode 100644 packages/icon/src/IcArrowDownGray.tsx create mode 100644 packages/icon/src/IcArrowDropDown.tsx create mode 100644 packages/icon/src/IcArrowForward.tsx create mode 100644 packages/icon/src/IcArrowLeft.tsx create mode 100644 packages/icon/src/IcArrowLeftWhite.tsx create mode 100644 packages/icon/src/IcArrowRight.tsx create mode 100644 packages/icon/src/IcArrowRightWhite.tsx create mode 100644 packages/icon/src/IcArrowUp.tsx create mode 100644 packages/icon/src/IcAvatar.tsx create mode 100644 packages/icon/src/IcCalendar.tsx create mode 100644 packages/icon/src/IcCalendarArrowLeft.tsx create mode 100644 packages/icon/src/IcCalendarArrowRight.tsx create mode 100644 packages/icon/src/IcCalendarVer2.tsx create mode 100644 packages/icon/src/IcCaution.tsx create mode 100644 packages/icon/src/IcCheck.tsx create mode 100644 packages/icon/src/IcCircle.tsx create mode 100644 packages/icon/src/IcClose.tsx create mode 100644 packages/icon/src/IcCloudUpload.tsx create mode 100644 packages/icon/src/IcCommandKey.tsx create mode 100644 packages/icon/src/IcDefaultProfile.tsx create mode 100644 packages/icon/src/IcDelete.tsx create mode 100644 packages/icon/src/IcDeleteFile.tsx create mode 100644 packages/icon/src/IcDown.tsx create mode 100644 packages/icon/src/IcDownload.tsx create mode 100644 packages/icon/src/IcEvent.tsx create mode 100644 packages/icon/src/IcEventCircle.tsx create mode 100644 packages/icon/src/IcFile.tsx create mode 100644 packages/icon/src/IcFileDelete.tsx create mode 100644 packages/icon/src/IcFileRound.tsx create mode 100644 packages/icon/src/IcFolder.tsx create mode 100644 packages/icon/src/IcFolderCopy.tsx create mode 100644 packages/icon/src/IcFolderLarge.tsx create mode 100644 packages/icon/src/IcGlobal.tsx create mode 100644 packages/icon/src/IcGrayCheck.tsx create mode 100644 packages/icon/src/IcGrid.tsx create mode 100644 packages/icon/src/IcGroup.tsx create mode 100644 packages/icon/src/IcHandoverEmpty.tsx create mode 100644 packages/icon/src/IcHandoverFill.tsx create mode 100644 packages/icon/src/IcImageFile.tsx create mode 100644 packages/icon/src/IcKeyArrow.tsx create mode 100644 packages/icon/src/IcKeyCheck.tsx create mode 100644 packages/icon/src/IcLeftSm.tsx create mode 100644 packages/icon/src/IcList.tsx create mode 100644 packages/icon/src/IcListChecked.tsx create mode 100644 packages/icon/src/IcLogout.tsx create mode 100644 packages/icon/src/IcMeeting.tsx create mode 100644 packages/icon/src/IcMeetingCircle.tsx create mode 100644 packages/icon/src/IcMore.tsx create mode 100644 packages/icon/src/IcNavTimeline.tsx create mode 100644 packages/icon/src/IcNote.tsx create mode 100644 packages/icon/src/IcNoteBlack.tsx create mode 100644 packages/icon/src/IcNotice.tsx create mode 100644 packages/icon/src/IcNoticeCircle.tsx create mode 100644 packages/icon/src/IcPaper.tsx create mode 100644 packages/icon/src/IcPasswordReset.tsx create mode 100644 packages/icon/src/IcPdfFile.tsx create mode 100644 packages/icon/src/IcPencil.tsx create mode 100644 packages/icon/src/IcPlusButton.tsx create mode 100644 packages/icon/src/IcRecruiting.tsx create mode 100644 packages/icon/src/IcRightSm.tsx create mode 100644 packages/icon/src/IcSearch.tsx create mode 100644 packages/icon/src/IcSetting.tsx create mode 100644 packages/icon/src/IcSettingGray.tsx create mode 100644 packages/icon/src/IcSpinner.tsx create mode 100644 packages/icon/src/IcStickyNote2.tsx create mode 100644 packages/icon/src/IcStudy.tsx create mode 100644 packages/icon/src/IcStudyCircle.tsx create mode 100644 packages/icon/src/IcSubdirectoryArrowRight.tsx create mode 100644 packages/icon/src/IcSuccess.tsx create mode 100644 packages/icon/src/IcTask.tsx create mode 100644 packages/icon/src/IcTeamProfileAdd.tsx create mode 100644 packages/icon/src/IcTeamProfileDelete.tsx create mode 100644 packages/icon/src/IcThreeDots.tsx create mode 100644 packages/icon/src/IcTikiLogo.tsx create mode 100644 packages/icon/src/IcTimeline.tsx create mode 100644 packages/icon/src/IcTimeline2.tsx create mode 100644 packages/icon/src/IcTooltipArrow.tsx create mode 100644 packages/icon/src/IcTrash.tsx create mode 100644 packages/icon/src/IcUp.tsx create mode 100644 packages/icon/src/IcWordFile.tsx create mode 100644 packages/icon/src/LogoMail.tsx create mode 100644 packages/icon/src/LogoSymbol.tsx create mode 100644 packages/icon/src/LogoTikiMd.tsx create mode 100644 packages/icon/src/LogoTikiSm.tsx create mode 100644 packages/icon/svgr.d.ts create mode 100644 packages/icon/tsconfig.json create mode 100644 packages/tsconfig/base.json create mode 100644 packages/tsconfig/package.json create mode 100644 packages/tsconfig/react-components.json create mode 100644 packages/ui/package.json rename {src/common/component => packages/ui/src}/Button/Button.style.ts (62%) create mode 100644 packages/ui/src/Button/Button.tsx create mode 100644 packages/ui/src/Carousel/Arrow.tsx create mode 100644 packages/ui/src/Carousel/Carousel.style.ts rename {src/common/component => packages/ui/src}/Carousel/Carousel.tsx (80%) rename {src/common/component => packages/ui/src}/Carousel/CarouselItem.tsx (59%) rename {src/common/component => packages/ui/src}/Carousel/Dots.tsx (78%) create mode 100644 packages/ui/src/Carousel/index.ts create mode 100644 packages/ui/src/CheckBox/CheckBox.style.ts rename {src/common/component => packages/ui/src}/CheckBox/CheckBox.tsx (77%) rename {src/common/component => packages/ui/src}/CommandButton/CommandButton.style.ts (54%) rename {src/common/component => packages/ui/src}/CommandButton/CommandButton.tsx (57%) create mode 100644 packages/ui/src/CountedInput/CountedInput.style.ts rename {src/common/component => packages/ui/src}/CountedInput/CountedInput.tsx (78%) rename {src/common/component => packages/ui/src}/DatePicker/Calendar/Calendar.style.ts (50%) rename {src/common/component => packages/ui/src}/DatePicker/Calendar/DatePickerCalendar.tsx (62%) rename {src/common/component => packages/ui/src}/DatePicker/Calendar/Dates/CalendarDates.tsx (66%) rename {src/common/component => packages/ui/src}/DatePicker/Calendar/Dates/util/dateStyle.ts (95%) rename {src/common/component => packages/ui/src}/DatePicker/Calendar/Days/CalendarDays.tsx (71%) create mode 100644 packages/ui/src/DatePicker/Calendar/Header/CalendarHeader.tsx create mode 100644 packages/ui/src/DatePicker/Trigger/DatePickerTrigger.style.ts create mode 100644 packages/ui/src/DatePicker/Trigger/DatePickerTrigger.tsx rename {src/common/component => packages/ui/src}/DatePicker/index.style.ts (100%) rename {src/common/component => packages/ui/src}/DatePicker/index.tsx (63%) rename {src/common/component => packages/ui/src}/Divider/Divider.style.ts (50%) create mode 100644 packages/ui/src/Divider/Divider.tsx create mode 100644 packages/ui/src/Dropdown/Dropdown.style.ts rename {src/common/component => packages/ui/src}/Dropdown/Dropdown.tsx (65%) rename {src/common/component => packages/ui/src}/Dropdown/DropdownItem.tsx (68%) rename {src/common/component => packages/ui/src}/Dropdown/DropdownList.tsx (56%) rename {src/common/component => packages/ui/src}/Dropdown/DropdownTrigger.tsx (100%) create mode 100644 packages/ui/src/Dropdown/index.tsx rename {src/common/component => packages/ui/src}/Flex/Flex.style.ts (100%) rename {src/common/component => packages/ui/src}/Flex/Flex.tsx (58%) rename {src/common/component => packages/ui/src}/Heading/Heading.tsx (100%) rename {src/common/component => packages/ui/src}/Heading/heading.style.ts (73%) create mode 100644 packages/ui/src/Input/Input.style.ts rename {src/common/component => packages/ui/src}/Input/Input.tsx (74%) rename {src/common/component => packages/ui/src}/Label/Label.style.ts (57%) rename {src/common/component => packages/ui/src}/Label/Label.tsx (50%) rename {src/common/component => packages/ui/src}/Menu/Menu.tsx (63%) create mode 100644 packages/ui/src/Menu/MenuItem/MenuItem.style.ts rename {src/common/component => packages/ui/src}/Menu/MenuItem/MenuItem.tsx (74%) create mode 100644 packages/ui/src/Menu/MenuList/MenuList.style.ts rename {src/common/component => packages/ui/src}/Menu/MenuList/MenuList.tsx (72%) create mode 100644 packages/ui/src/Menu/index.ts create mode 100644 packages/ui/src/Modal/Modal.style.ts rename {src/common/component => packages/ui/src}/Modal/Modal.tsx (64%) create mode 100644 packages/ui/src/RadioButton/RadioButton.style.ts rename {src/common/component => packages/ui/src}/RadioButton/RadioButton.tsx (100%) rename {src/common/component => packages/ui/src}/RadioButton/RadioGroup.tsx (84%) create mode 100644 packages/ui/src/RadioButton/index.ts create mode 100644 packages/ui/src/Select/Select.style.ts rename {src/common/component => packages/ui/src}/Select/Select.tsx (51%) rename {src/common/component => packages/ui/src}/Spinner/Spinner.tsx (63%) rename {src/common/component => packages/ui/src}/SupportingText/SupportingText.style.ts (62%) rename {src/common/component => packages/ui/src}/SupportingText/SupportingText.tsx (58%) create mode 100644 packages/ui/src/Switch/Switch.style.ts create mode 100644 packages/ui/src/Switch/Switch.tsx rename {src/common/component => packages/ui/src}/Tab/TabButton.tsx (77%) rename {src/common/component => packages/ui/src}/Tab/TabList.tsx (80%) rename {src/common/component => packages/ui/src}/Tab/TabPanel.tsx (100%) rename {src/common/component => packages/ui/src}/Tab/Tabs.tsx (100%) create mode 100644 packages/ui/src/Tab/index.tsx create mode 100644 packages/ui/src/Tab/style.ts rename {src/common/component => packages/ui/src}/Tag/Tag.style.ts (54%) create mode 100644 packages/ui/src/Tag/Tag.tsx rename {src/common/component => packages/ui/src}/Text/Text.style.ts (86%) rename {src/common/component => packages/ui/src}/Text/Text.tsx (100%) create mode 100644 packages/ui/src/Toast/Toast.style.ts rename {src/common/component => packages/ui/src}/Toast/Toast.tsx (65%) create mode 100644 packages/ui/src/ToastContainer/ToastContainer.style.ts rename {src/common/component => packages/ui/src}/ToastContainer/ToastContainer.tsx (55%) rename {src/common/component => packages/ui/src}/ToastContainer/ToastProvider.tsx (74%) rename {src/common/component => packages/ui/src}/ToolTip/ToolTip.style.ts (56%) rename {src/common/component => packages/ui/src}/ToolTip/ToolTip.tsx (67%) rename {src/common/style => packages/ui/src}/animation.ts (91%) create mode 100644 packages/ui/src/index.ts create mode 100644 packages/ui/src/theme.ts create mode 100644 packages/ui/src/types.ts create mode 100644 packages/ui/tsconfig.json create mode 100644 packages/ui/tsup.config.ts create mode 100644 packages/utils/package.json create mode 100644 packages/utils/src/hooks/index.ts rename {src/common/hook => packages/utils/src/hooks}/useCachedImage.ts (83%) rename {src/common/hook => packages/utils/src/hooks}/useCalendar.ts (80%) rename {src/common/hook => packages/utils/src/hooks}/useCarousel.ts (80%) rename {src/common/hook => packages/utils/src/hooks}/useDatePicker.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useDebounce.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useDeferedSearchFilter.ts (78%) rename {src/common/hook => packages/utils/src/hooks}/useError.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useErrorBoundary.ts (65%) rename {src/common/hook => packages/utils/src/hooks}/useInput.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useModal.tsx (82%) rename {src/common/hook => packages/utils/src/hooks}/useMultiSelect.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useObserver.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useOutsideClick.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/useOverlay.ts (100%) rename {src/common/hook => packages/utils/src/hooks}/usePreventGoBack.tsx (100%) rename {src/common/hook => packages/utils/src/hooks}/useThrottle.ts (84%) rename {src/common/hook => packages/utils/src/hooks}/useTimer.ts (88%) create mode 100644 packages/utils/src/index.ts create mode 100644 packages/utils/src/store/index.ts rename {src/shared => packages/utils/src}/store/toast.ts (66%) create mode 100644 packages/utils/src/utils/index.ts create mode 100644 packages/utils/tsconfig.json create mode 100644 pnpm-workspace.yaml delete mode 100644 src/common/component/Button/Button.tsx delete mode 100644 src/common/component/Carousel/Arrow.tsx delete mode 100644 src/common/component/Carousel/Carousel.style.ts delete mode 100644 src/common/component/CheckBox/CheckBox.style.ts delete mode 100644 src/common/component/CountedInput/CountedInput.style.ts delete mode 100644 src/common/component/DatePicker/Calendar/Header/CalendarHeader.tsx delete mode 100644 src/common/component/DatePicker/Trigger/DatePickerTrigger.style.ts delete mode 100644 src/common/component/DatePicker/Trigger/DatePickerTrigger.tsx delete mode 100644 src/common/component/Divider/Divider.tsx delete mode 100644 src/common/component/Dropdown/Dropdown.style.ts delete mode 100644 src/common/component/Dropdown/index.tsx delete mode 100644 src/common/component/Header/Header.style.ts delete mode 100644 src/common/component/Header/Header.tsx delete mode 100644 src/common/component/Input/Input.style.ts delete mode 100644 src/common/component/Menu/MenuItem/MenuItem.style.ts delete mode 100644 src/common/component/Menu/MenuList/MenuList.style.ts delete mode 100644 src/common/component/Modal/Modal.style.ts delete mode 100644 src/common/component/RadioButton/RadioButton.style.ts delete mode 100644 src/common/component/Select/Select.style.ts delete mode 100644 src/common/component/Switch/Switch.style.ts delete mode 100644 src/common/component/Switch/Switch.tsx delete mode 100644 src/common/component/Tab/index.tsx delete mode 100644 src/common/component/Tab/style.ts delete mode 100644 src/common/component/Tag/Tag.tsx delete mode 100644 src/common/component/Toast/Toast.style.ts delete mode 100644 src/common/component/ToastContainer/ToastContainer.style.ts delete mode 100644 src/common/hook/index.ts delete mode 100644 src/common/style/scroll.ts delete mode 100644 src/common/style/theme/theme.ts delete mode 100644 src/common/type/design.ts delete mode 100644 src/page/archiving/index/component/TimeBlockModal/constant/iconBlock.tsx delete mode 100644 src/page/archiving/index/constant/icon.tsx delete mode 100644 src/page/archiving/index/constant/sortOption.tsx delete mode 100644 src/shared/component/FileGrid/icon.tsx delete mode 100644 src/shared/type/toast.ts delete mode 100644 src/story/common/Header.stories.tsx delete mode 100644 vercel.json diff --git a/.editorConfig b/.editorConfig new file mode 100644 index 000000000..986929406 --- /dev/null +++ b/.editorConfig @@ -0,0 +1,10 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +max_line_length = 120 +trim_trailing_whitespace = true \ No newline at end of file diff --git a/.github/workflows/automatic-aws-deployment.yml b/.github/workflows/automatic-aws-deployment.yml index 1b1610684..f5bffc140 100644 --- a/.github/workflows/automatic-aws-deployment.yml +++ b/.github/workflows/automatic-aws-deployment.yml @@ -21,7 +21,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 9.1.3 - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 59ca439bf..16cf77b11 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 9.1.3 - name: Cache node modules id: cache-node diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 079ea126f..25b76f7a8 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -14,13 +14,50 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 9.1.3 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 21 + + - name: Cache node modules + id: cache-node + uses: actions/cache@v4 + with: + path: | + **/node_modules + key: ${{ runner.OS }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.OS }}-node- + - name: Install dependencies - run: pnpm install + if: steps.cache-node.outputs.cache-hit != 'true' + run: pnpm install --frozen-lockfile + + - name: Build tiki ui + id: cache-tiki-ui + uses: actions/cache@v4 + with: + path: packages/ui/dist + key: ${{runner.os}}-ui-${{hashFiles('packages/ui/package.json', 'packages/ui/src/**')}} + restore-keys: ${{runner.os}}-ui- + + - name: Build tiki icon + id: cache-tiki-icon + uses: actions/cache@v4 + with: + path: packages/icon/dist + key: ${{runner.os}}-icon-${{hashFiles('packages/icon/package.json', 'packages/icon/src/**')}} + restore-keys: ${{runner.os}}-icon- + + - name: Check ui cache hit + if: steps.cache-tiki-ui.outputs.cache-hit != 'true' + run: pnpm --filter ui build + + - name: Check icon cache hit + if: steps.cache-tiki-icon.outputs.cache-hit != 'true' + run: pnpm --filter icon build + - name: Run Chromatic id: chromatic uses: chromaui/action@v1 diff --git a/.github/workflows/storybook-deploy.yml b/.github/workflows/storybook-deploy.yml index 7d275b1f6..212f9fbc4 100644 --- a/.github/workflows/storybook-deploy.yml +++ b/.github/workflows/storybook-deploy.yml @@ -19,18 +19,53 @@ jobs: - name: Install Pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 9.1.3 + + - name: Cache node modules + id: cache-node + uses: actions/cache@v4 + with: + path: | + **/node_modules + key: ${{ runner.OS }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.OS }}-node- - name: Install dependencies + if: steps.cache-node.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile + - name: Build tiki ui + id: cache-tiki-ui + uses: actions/cache@v4 + with: + path: packages/ui/dist + key: ${{runner.os}}-ui-${{hashFiles('packages/ui/package.json', 'packages/ui/src/**')}} + restore-keys: ${{runner.os}}-ui- + + - name: Build tiki icon + id: cache-tiki-icon + uses: actions/cache@v4 + with: + path: packages/icon/dist + key: ${{runner.os}}-icon-${{hashFiles('packages/icon/package.json', 'packages/icon/src/**')}} + restore-keys: ${{runner.os}}-icon- + + - name: Check ui cache hit + if: steps.cache-tiki-ui.outputs.cache-hit != 'true' + run: pnpm --filter ui build + + - name: Check icon cache hit + if: steps.cache-tiki-icon.outputs.cache-hit != 'true' + run: pnpm --filter icon build + - name: Build - run: pnpm build-storybook + run: pnpm --filter client build-storybook - name: Deploy uses: peaceiris/actions-gh-pages@v4 with: - publish_dir: ./storybook-static + publish_dir: apps/client/storybook-static github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 4384f5da3..ff1ceb0bb 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,10 @@ dist-ssr *.njsproj *.sln *.sw? -.env + +**/next-env.d.ts +**/.env + *storybook.log storybook-static + diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..72a52135a --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +public-hoist-pattern=* diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index a64c0fad0..000000000 --- a/.prettierrc +++ /dev/null @@ -1,29 +0,0 @@ -{ - "plugins": ["@trivago/prettier-plugin-sort-imports"], - - "printWidth": 120, - "tabWidth": 2, - "semi": true, - "singleQuote": true, - "trailingComma": "es5", - "requirePragma": false, - "arrowParens": "always", - "bracketSameLine": true, - "endOfLine": "auto", - - "importOrder": [ - "^react(.*)", - "^@tanstack/(.*)$", - "^zustand(.*)", - "^axios(.*)", - "^msw(.*)", - "^@/common/(.*)$", - "^@/page/(.*)$", - "^@/shared/(.*)$", - "^@/story/(.*)$", - "^@/mock/(.*)$", - "^[./]" - ], - "importOrderSeparation": true, - "importOrderSortSpecifiers": true -} diff --git a/.storybook/main.ts b/.storybook/main.ts deleted file mode 100644 index c40f52d24..000000000 --- a/.storybook/main.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { StorybookConfig } from '@storybook/react-vite'; -import path from 'path'; - -const config: StorybookConfig = { - stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], - addons: [ - '@storybook/addon-onboarding', - '@storybook/addon-links', - '@storybook/addon-essentials', - '@storybook/addon-a11y', - '@chromatic-com/storybook', - '@storybook/addon-interactions', - ], - core: { - builder: '@storybook/builder-vite', - }, - framework: { - name: '@storybook/react-vite', - options: {}, - }, - async viteFinal(config) { - if (config.resolve) { - config.resolve.alias = { - ...config.resolve.alias, - '@': path.resolve(__dirname, '../src'), - '@/common': path.resolve(__dirname, '../src/common'), - '@/page': path.resolve(__dirname, '../src/page'), - '@/shared': path.resolve(__dirname, '../src/shared'), - '@/stories': path.resolve(__dirname, '../src/stories'), - }; - } - return config; - }, -}; -export default config; diff --git a/.eslintrc.cjs b/apps/client/.eslintrc.cjs similarity index 100% rename from .eslintrc.cjs rename to apps/client/.eslintrc.cjs diff --git a/apps/client/.prettierrc b/apps/client/.prettierrc new file mode 100644 index 000000000..271cb772c --- /dev/null +++ b/apps/client/.prettierrc @@ -0,0 +1,31 @@ +{ + "plugins": ["@trivago/prettier-plugin-sort-imports"], + + "printWidth": 120, + "tabWidth": 2, + "semi": true, + "singleQuote": true, + "trailingComma": "es5", + "requirePragma": false, + "arrowParens": "always", + "bracketSameLine": true, + "endOfLine": "auto", + + "importOrder": [ + "^react(.*)", + "^@emtion/(.*)$", + "^@tanstack/(.*)$", + "^zustand(.*)", + "^axios(.*)", + "^msw(.*)", + "^@/common/(.*)$", + "^@/page/(.*)$", + "^@/shared/(.*)$", + "^@/story/(.*)$", + "^@/mock/(.*)$", + "^[./]" + ], + "importOrderSeparation": true, + "importOrderSortSpecifiers": true + } + \ No newline at end of file diff --git a/apps/client/.storybook/main.ts b/apps/client/.storybook/main.ts new file mode 100644 index 000000000..e2b4412cf --- /dev/null +++ b/apps/client/.storybook/main.ts @@ -0,0 +1,47 @@ +import type { StorybookConfig } from '@storybook/react-vite'; +import { dirname, join, resolve } from 'path'; + +/** + * This function is used to resolve the absolute path of a package. + * It is needed in projects that use Yarn PnP or are set up within a monorepo. + */ +function getAbsolutePath(value: string): any { + return dirname(require.resolve(join(value, 'package.json'))); +} +const config: StorybookConfig = { + stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], + addons: [ + getAbsolutePath('@storybook/addon-links'), + getAbsolutePath('@storybook/addon-essentials'), + getAbsolutePath('@storybook/addon-onboarding'), + getAbsolutePath('@storybook/addon-interactions'), + getAbsolutePath('@storybook/addon-a11y'), + getAbsolutePath('@chromatic-com/storybook'), + ], + framework: { + name: getAbsolutePath('@storybook/react-vite'), + options: {}, + }, + docs: { + autodocs: 'tag', + }, + async viteFinal(config) { + const { mergeConfig } = await import('vite'); + + if (config.resolve) { + (config.resolve.preserveSymlinks = true), + (config.resolve.alias = { + ...config.resolve.alias, + '@': resolve(__dirname, '../src'), + '@/common': resolve(__dirname, '../src/common'), + '@/page': resolve(__dirname, '../src/page'), + '@/shared': resolve(__dirname, '../src/shared'), + }); + } + + return mergeConfig(config, { + optimizeDeps: ['@tiki/ui', '@tiki/icon'], + }); + }, +}; +export default config; diff --git a/.storybook/preview-head.html b/apps/client/.storybook/preview-head.html similarity index 100% rename from .storybook/preview-head.html rename to apps/client/.storybook/preview-head.html diff --git a/.storybook/preview.tsx b/apps/client/.storybook/preview.tsx similarity index 95% rename from .storybook/preview.tsx rename to apps/client/.storybook/preview.tsx index ad759be6d..38e1b8116 100644 --- a/.storybook/preview.tsx +++ b/apps/client/.storybook/preview.tsx @@ -1,5 +1,6 @@ import { Global, ThemeProvider } from '@emotion/react'; import type { Preview } from '@storybook/react'; +import { theme } from '@tiki/ui'; import React from 'react'; import { MemoryRouter } from 'react-router-dom'; @@ -7,7 +8,6 @@ import { MemoryRouter } from 'react-router-dom'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { GlobalStyle } from '../src/common/style/globalStyle'; -import { theme } from '../src/common/style/theme/theme'; const customViewports = { Default: { diff --git a/index.html b/apps/client/index.html similarity index 83% rename from index.html rename to apps/client/index.html index ad8ca5e73..8ab573f15 100644 --- a/index.html +++ b/apps/client/index.html @@ -2,7 +2,7 @@ - + diff --git a/apps/client/package.json b/apps/client/package.json new file mode 100644 index 000000000..10d161bc8 --- /dev/null +++ b/apps/client/package.json @@ -0,0 +1,71 @@ +{ + "name": "client", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "build": "tsc && vite build", + "build-storybook": "storybook build", + "chromatic": "npx chromatic --project-token=chpt_f4088febbfb82b7", + "dev": "vite", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview", + "storybook": "storybook dev -p 6006" + }, + "dependencies": { + "@sentry/react": "^8.22.0", + "@tanstack/react-query": "^5.49.2", + "@tanstack/react-query-devtools": "^5.49.2", + "@tiki/icon": "workspace:^", + "@tiki/ui": "workspace:^", + "@tiki/utils": "workspace:^", + "axios": "^1.7.2", + "framer-motion": "^11.11.11", + "mime": "^4.0.4", + "react-hook-form": "^7.53.1", + "react-router-dom": "^6.24.1" + }, + "devDependencies": { + "@chromatic-com/storybook": "^1.6.1", + "@eslint/js": "^9.6.0", + "@sentry/vite-plugin": "^2.21.1", + "@storybook/addon-a11y": "^8.2.6", + "@storybook/addon-essentials": "^8.2.6", + "@storybook/addon-interactions": "^8.2.6", + "@storybook/addon-links": "^8.2.6", + "@storybook/addon-onboarding": "^8.2.6", + "@storybook/blocks": "^8.2.6", + "@storybook/builder-vite": "^8.2.6", + "@storybook/react": "^8.2.6", + "@storybook/react-vite": "^8.2.6", + "@storybook/test": "^8.2.6", + "@tiki/tsconfig": "workspace:^", + "@trivago/prettier-plugin-sort-imports": "^4.3.0", + "@types/react-slick": "^0.23.13", + "@typescript-eslint/eslint-plugin": "^7.13.1", + "@typescript-eslint/parser": "^7.13.1", + "@vitejs/plugin-react": "^4.3.1", + "@vitejs/plugin-react-swc": "^3.5.0", + "chromatic": "^11.5.4", + "concurrently": "^9.0.1", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jsx-a11y": "^6.9.0", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-react": "^7.34.3", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.4.7", + "eslint-plugin-storybook": "^0.8.0", + "globals": "^15.7.0", + "msw": "^2.3.1", + "prettier": "^3.3.2", + "rollup-plugin-visualizer": "^5.12.0", + "storybook": "^8.2.6", + "typescript-eslint": "^7.14.1", + "vite": "^5.3.2", + "vite-plugin-svgr": "^4.2.0", + "vite-tsconfig-paths": "^4.3.2" + } +} diff --git a/src/common/asset/svg/favicon.svg b/apps/client/public/favicon.svg similarity index 100% rename from src/common/asset/svg/favicon.svg rename to apps/client/public/favicon.svg diff --git a/public/font/subset-PretendardVariable.woff b/apps/client/public/font/subset-PretendardVariable.woff similarity index 100% rename from public/font/subset-PretendardVariable.woff rename to apps/client/public/font/subset-PretendardVariable.woff diff --git a/public/font/subset-PretendardVariable.woff2 b/apps/client/public/font/subset-PretendardVariable.woff2 similarity index 100% rename from public/font/subset-PretendardVariable.woff2 rename to apps/client/public/font/subset-PretendardVariable.woff2 diff --git a/public/img/advBannerClub1.png b/apps/client/public/img/advBannerClub1.png similarity index 100% rename from public/img/advBannerClub1.png rename to apps/client/public/img/advBannerClub1.png diff --git a/public/img/advBannerClub1.webp b/apps/client/public/img/advBannerClub1.webp similarity index 100% rename from public/img/advBannerClub1.webp rename to apps/client/public/img/advBannerClub1.webp diff --git a/public/img/advBannerClub2.png b/apps/client/public/img/advBannerClub2.png similarity index 100% rename from public/img/advBannerClub2.png rename to apps/client/public/img/advBannerClub2.png diff --git a/public/img/advBannerClub2.webp b/apps/client/public/img/advBannerClub2.webp similarity index 100% rename from public/img/advBannerClub2.webp rename to apps/client/public/img/advBannerClub2.webp diff --git a/public/img/advBannerClub3.png b/apps/client/public/img/advBannerClub3.png similarity index 100% rename from public/img/advBannerClub3.png rename to apps/client/public/img/advBannerClub3.png diff --git a/public/img/advBannerClub3.webp b/apps/client/public/img/advBannerClub3.webp similarity index 100% rename from public/img/advBannerClub3.webp rename to apps/client/public/img/advBannerClub3.webp diff --git a/public/img/advBannerClub4.png b/apps/client/public/img/advBannerClub4.png similarity index 100% rename from public/img/advBannerClub4.png rename to apps/client/public/img/advBannerClub4.png diff --git a/public/img/advBannerClub4.webp b/apps/client/public/img/advBannerClub4.webp similarity index 100% rename from public/img/advBannerClub4.webp rename to apps/client/public/img/advBannerClub4.webp diff --git a/public/mockServiceWorker.js b/apps/client/public/mockServiceWorker.js similarity index 100% rename from public/mockServiceWorker.js rename to apps/client/public/mockServiceWorker.js diff --git a/src/App.tsx b/apps/client/src/App.tsx similarity index 100% rename from src/App.tsx rename to apps/client/src/App.tsx diff --git a/src/common/asset/img/comingsoon.png b/apps/client/src/common/asset/img/comingsoon.png similarity index 100% rename from src/common/asset/img/comingsoon.png rename to apps/client/src/common/asset/img/comingsoon.png diff --git a/src/common/asset/img/error.png b/apps/client/src/common/asset/img/error.png similarity index 100% rename from src/common/asset/img/error.png rename to apps/client/src/common/asset/img/error.png diff --git a/src/common/asset/img/landing01.png b/apps/client/src/common/asset/img/landing01.png similarity index 100% rename from src/common/asset/img/landing01.png rename to apps/client/src/common/asset/img/landing01.png diff --git a/src/common/asset/img/landing01.webp b/apps/client/src/common/asset/img/landing01.webp similarity index 100% rename from src/common/asset/img/landing01.webp rename to apps/client/src/common/asset/img/landing01.webp diff --git a/src/common/asset/img/service01.png b/apps/client/src/common/asset/img/service01.png similarity index 100% rename from src/common/asset/img/service01.png rename to apps/client/src/common/asset/img/service01.png diff --git a/src/common/asset/img/service01.webp b/apps/client/src/common/asset/img/service01.webp similarity index 100% rename from src/common/asset/img/service01.webp rename to apps/client/src/common/asset/img/service01.webp diff --git a/src/common/asset/img/service02.png b/apps/client/src/common/asset/img/service02.png similarity index 100% rename from src/common/asset/img/service02.png rename to apps/client/src/common/asset/img/service02.png diff --git a/src/common/asset/img/service02.webp b/apps/client/src/common/asset/img/service02.webp similarity index 100% rename from src/common/asset/img/service02.webp rename to apps/client/src/common/asset/img/service02.webp diff --git a/src/common/asset/img/workspace_complete.png b/apps/client/src/common/asset/img/workspace_complete.png similarity index 100% rename from src/common/asset/img/workspace_complete.png rename to apps/client/src/common/asset/img/workspace_complete.png diff --git a/src/common/asset/img/workspace_complete.webp b/apps/client/src/common/asset/img/workspace_complete.webp similarity index 100% rename from src/common/asset/img/workspace_complete.webp rename to apps/client/src/common/asset/img/workspace_complete.webp diff --git a/src/shared/component/CachedImage/CachedImage.tsx b/apps/client/src/common/component/CachedImage/CachedImage.tsx similarity index 92% rename from src/shared/component/CachedImage/CachedImage.tsx rename to apps/client/src/common/component/CachedImage/CachedImage.tsx index 578659aa7..7ba3577ed 100644 --- a/src/shared/component/CachedImage/CachedImage.tsx +++ b/apps/client/src/common/component/CachedImage/CachedImage.tsx @@ -1,6 +1,6 @@ -import { HTMLAttributes } from 'react'; +import { useCachedImage } from '@tiki/utils'; -import useCachedImage from '@/common/hook/useCachedImage'; +import { HTMLAttributes } from 'react'; interface CachedImageProps extends HTMLAttributes { imageUrl: string; diff --git a/src/common/component/ErrorBoundary/ErrorBoundary.tsx b/apps/client/src/common/component/ErrorBoundary/ErrorBoundary.tsx similarity index 100% rename from src/common/component/ErrorBoundary/ErrorBoundary.tsx rename to apps/client/src/common/component/ErrorBoundary/ErrorBoundary.tsx diff --git a/src/common/router/Router.tsx b/apps/client/src/common/router/Router.tsx similarity index 100% rename from src/common/router/Router.tsx rename to apps/client/src/common/router/Router.tsx diff --git a/src/common/router/lazy.ts b/apps/client/src/common/router/lazy.ts similarity index 100% rename from src/common/router/lazy.ts rename to apps/client/src/common/router/lazy.ts diff --git a/src/common/style/ellipsis.ts b/apps/client/src/common/style/ellipsis.ts similarity index 100% rename from src/common/style/ellipsis.ts rename to apps/client/src/common/style/ellipsis.ts diff --git a/src/common/style/globalStyle.ts b/apps/client/src/common/style/globalStyle.ts similarity index 100% rename from src/common/style/globalStyle.ts rename to apps/client/src/common/style/globalStyle.ts diff --git a/src/common/style/theme/emotion.d.ts b/apps/client/src/common/style/theme/emotion.d.ts similarity index 100% rename from src/common/style/theme/emotion.d.ts rename to apps/client/src/common/style/theme/emotion.d.ts diff --git a/src/main.tsx b/apps/client/src/main.tsx similarity index 88% rename from src/main.tsx rename to apps/client/src/main.tsx index dd4b77495..14a7e481d 100644 --- a/src/main.tsx +++ b/apps/client/src/main.tsx @@ -1,4 +1,5 @@ import { Global, ThemeProvider } from '@emotion/react'; +import { ToastContainer, ToastProvider, theme } from '@tiki/ui'; import React from 'react'; import { createRoot } from 'react-dom/client'; @@ -6,11 +7,8 @@ import { createRoot } from 'react-dom/client'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; -import ToastContainer from '@/common/component/ToastContainer/ToastContainer'; -import ToastProvider from '@/common/component/ToastContainer/ToastProvider'; import { AppRouter } from '@/common/router/Router'; import { GlobalStyle } from '@/common/style/globalStyle'; -import { theme } from '@/common/style/theme/theme'; import { worker } from '@/mock/browser'; diff --git a/src/mock/browser.ts b/apps/client/src/mock/browser.ts similarity index 100% rename from src/mock/browser.ts rename to apps/client/src/mock/browser.ts diff --git a/src/mock/data/drive.ts b/apps/client/src/mock/data/drive.ts similarity index 100% rename from src/mock/data/drive.ts rename to apps/client/src/mock/data/drive.ts diff --git a/src/mock/data/showCase.ts b/apps/client/src/mock/data/showCase.ts similarity index 100% rename from src/mock/data/showCase.ts rename to apps/client/src/mock/data/showCase.ts diff --git a/src/mock/data/term.ts b/apps/client/src/mock/data/term.ts similarity index 100% rename from src/mock/data/term.ts rename to apps/client/src/mock/data/term.ts diff --git a/src/mock/data/timeLine.ts b/apps/client/src/mock/data/timeLine.ts similarity index 100% rename from src/mock/data/timeLine.ts rename to apps/client/src/mock/data/timeLine.ts diff --git a/src/mock/handler/index.ts b/apps/client/src/mock/handler/index.ts similarity index 100% rename from src/mock/handler/index.ts rename to apps/client/src/mock/handler/index.ts diff --git a/src/mock/handler/showCase.ts b/apps/client/src/mock/handler/showCase.ts similarity index 100% rename from src/mock/handler/showCase.ts rename to apps/client/src/mock/handler/showCase.ts diff --git a/src/mock/handler/timeLine.ts b/apps/client/src/mock/handler/timeLine.ts similarity index 100% rename from src/mock/handler/timeLine.ts rename to apps/client/src/mock/handler/timeLine.ts diff --git a/src/mock/handler/workspace.ts b/apps/client/src/mock/handler/workspace.ts similarity index 100% rename from src/mock/handler/workspace.ts rename to apps/client/src/mock/handler/workspace.ts diff --git a/src/page/archiving/index/ArchivingPage.style.ts b/apps/client/src/page/archiving/index/ArchivingPage.style.ts similarity index 100% rename from src/page/archiving/index/ArchivingPage.style.ts rename to apps/client/src/page/archiving/index/ArchivingPage.style.ts diff --git a/src/page/archiving/index/ArchivingPage.tsx b/apps/client/src/page/archiving/index/ArchivingPage.tsx similarity index 96% rename from src/page/archiving/index/ArchivingPage.tsx rename to apps/client/src/page/archiving/index/ArchivingPage.tsx index b0f4901ee..63ac8111f 100644 --- a/src/page/archiving/index/ArchivingPage.tsx +++ b/apps/client/src/page/archiving/index/ArchivingPage.tsx @@ -1,9 +1,8 @@ +import { Button, Flex } from '@tiki/ui'; + import { Suspense, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; - import { contentStyle, pageStyle, timelineStyle } from '@/page/archiving/index/ArchivingPage.style'; import DateProvider from '@/page/archiving/index/DateProvider'; import TimeLine from '@/page/archiving/index/component/TimeLine'; diff --git a/src/page/archiving/index/DateProvider.tsx b/apps/client/src/page/archiving/index/DateProvider.tsx similarity index 100% rename from src/page/archiving/index/DateProvider.tsx rename to apps/client/src/page/archiving/index/DateProvider.tsx diff --git a/src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts b/apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts similarity index 89% rename from src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts rename to apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts index 615254574..398ed8cfc 100644 --- a/src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts +++ b/apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const containerStyle = (blockSelected: string) => css({ diff --git a/src/page/archiving/index/component/DocumentBar/DocumentBar.tsx b/apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.tsx similarity index 92% rename from src/page/archiving/index/component/DocumentBar/DocumentBar.tsx rename to apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.tsx index 9b5c7ddee..fd4bf6304 100644 --- a/src/page/archiving/index/component/DocumentBar/DocumentBar.tsx +++ b/apps/client/src/page/archiving/index/component/DocumentBar/DocumentBar.tsx @@ -1,6 +1,6 @@ -import { ForwardedRef, forwardRef } from 'react'; +import { theme } from '@tiki/ui'; -import { theme } from '@/common/style/theme/theme'; +import { ForwardedRef, forwardRef } from 'react'; import { containerStyle } from '@/page/archiving/index/component/DocumentBar/DocumentBar.style'; import { Block } from '@/page/archiving/index/type/blockType'; diff --git a/src/page/archiving/index/component/DocumentBar/Item/Item.style.ts b/apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.style.ts similarity index 93% rename from src/page/archiving/index/component/DocumentBar/Item/Item.style.ts rename to apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.style.ts index 9a67ef4b0..c0e7593cf 100644 --- a/src/page/archiving/index/component/DocumentBar/Item/Item.style.ts +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const containerStyle = css({ display: 'flex', diff --git a/src/page/archiving/index/component/DocumentBar/Item/Item.tsx b/apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.tsx similarity index 79% rename from src/page/archiving/index/component/DocumentBar/Item/Item.tsx rename to apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.tsx index 67d5da42d..535e46ca1 100644 --- a/src/page/archiving/index/component/DocumentBar/Item/Item.tsx +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Item/Item.tsx @@ -1,10 +1,8 @@ /* eslint-disable jsx-a11y/click-events-have-key-events */ -import { ReactNode } from 'react'; +import { IcDelete, IcDownload } from '@tiki/icon'; +import { Flex, Text } from '@tiki/ui'; -import TrashBox from '@/common/asset/svg/ic_delete.svg?react'; -import Download from '@/common/asset/svg/ic_download.svg?react'; -import Flex from '@/common/component/Flex/Flex'; -import Text from '@/common/component/Text/Text'; +import { ReactNode } from 'react'; import { containerStyle, fileNameStyle } from '@/page/archiving/index/component/DocumentBar/Item/Item.style'; import { downloadDocument } from '@/page/archiving/index/util/document'; @@ -50,8 +48,8 @@ const Item = ({ documentId, children, fileUrl, fileName }: ItemProps) => { {fileName} - - handleTrashBoxClick(e)} css={{ cursor: 'pointer' }} /> + + handleTrashBoxClick(e)} css={{ cursor: 'pointer' }} /> diff --git a/src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts b/apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts similarity index 85% rename from src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts rename to apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts index e5fb97f27..761477647 100644 --- a/src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const blockNameStyle = css({ paddingRight: '0.4rem', diff --git a/src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx b/apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx similarity index 89% rename from src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx rename to apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx index f6d4706fb..37f73d7a7 100644 --- a/src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Selected/Selected.tsx @@ -1,8 +1,4 @@ -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; -import Heading from '@/common/component/Heading/Heading'; -import Text from '@/common/component/Text/Text'; -import { theme } from '@/common/style/theme/theme'; +import { Button, Flex, Heading, Text, theme } from '@tiki/ui'; import DocumentItem from '@/page/archiving/index/component/DocumentBar/Item/Item'; import { blockNameStyle, deleteBtnStyle } from '@/page/archiving/index/component/DocumentBar/Selected/Selected.style'; diff --git a/src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts b/apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts similarity index 93% rename from src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts rename to apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts index 317ba0c90..463bfaff8 100644 --- a/src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const buttonStyle = css({ display: 'flex', diff --git a/src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx b/apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx similarity index 88% rename from src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx rename to apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx index 334a9cedb..304ff9fb3 100644 --- a/src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Sort/Sort.tsx @@ -1,7 +1,7 @@ -import { useEffect } from 'react'; +import { Select } from '@tiki/ui'; +import { useOutsideClick, useOverlay } from '@tiki/utils'; -import Select from '@/common/component/Select/Select'; -import { useOutsideClick, useOverlay } from '@/common/hook'; +import { useEffect } from 'react'; import { fontStyle } from '@/page/archiving/index/component/DocumentBar/Sort/Sort.style'; import { OPTIONS } from '@/page/archiving/index/constant/sortOption'; diff --git a/src/page/archiving/index/component/DocumentBar/Total/Total.tsx b/apps/client/src/page/archiving/index/component/DocumentBar/Total/Total.tsx similarity index 89% rename from src/page/archiving/index/component/DocumentBar/Total/Total.tsx rename to apps/client/src/page/archiving/index/component/DocumentBar/Total/Total.tsx index af14c4f3a..207bc8e8e 100644 --- a/src/page/archiving/index/component/DocumentBar/Total/Total.tsx +++ b/apps/client/src/page/archiving/index/component/DocumentBar/Total/Total.tsx @@ -1,10 +1,8 @@ -import { useState } from 'react'; +import { IcSearch } from '@tiki/icon'; +import { Flex, Input, Text } from '@tiki/ui'; +import { useDebounce } from '@tiki/utils'; -import SearchIc from '@/common/asset/svg/ic_search.svg?react'; -import Flex from '@/common/component/Flex/Flex'; -import Input from '@/common/component/Input/Input'; -import Text from '@/common/component/Text/Text'; -import { useDebounce } from '@/common/hook'; +import { useState } from 'react'; import Item from '@/page/archiving/index/component/DocumentBar/Item/Item'; import { blockNameStyle } from '@/page/archiving/index/component/DocumentBar/Item/Item.style'; @@ -41,7 +39,7 @@ const DocumentTotal = () => { } + LeftIcon={} onChange={(e) => { setSearchWord(e.target.value); }} diff --git a/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts similarity index 76% rename from src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts index 962604c7c..dfc61cc92 100644 --- a/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const periodStyle = css({ color: theme.colors.gray_800, diff --git a/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx similarity index 76% rename from src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx index 8280dbf57..d06302a23 100644 --- a/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.tsx @@ -1,8 +1,4 @@ -import DatePicker from '@/common/component/DatePicker'; -import Flex from '@/common/component/Flex/Flex'; -import Heading from '@/common/component/Heading/Heading'; -import Input from '@/common/component/Input/Input'; -import Text from '@/common/component/Text/Text'; +import { DatePicker, Flex, Heading, Input, Text } from '@tiki/ui'; import { periodStyle, titleInputStyle } from '@/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo.style'; import { formattingDate } from '@/page/archiving/index/util/date'; diff --git a/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style.ts diff --git a/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx similarity index 70% rename from src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx index 34548bc6d..a4e4b25b9 100644 --- a/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.tsx @@ -1,6 +1,5 @@ -import IcArrowRight from '@/common/asset/svg/ic_subdirectory_arrow_right.svg?react'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; +import { IcSubdirectoryArrowRight } from '@tiki/icon'; +import { Button, Flex } from '@tiki/ui'; import { handoverNoteItemStyle } from '@/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem.style'; @@ -12,7 +11,7 @@ interface TaggedNoteItemProps { const TaggedNoteItem = ({ title, isEditable }: TaggedNoteItemProps) => { return ( - + diff --git a/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx similarity index 84% rename from src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx index be917a1a1..e33e8f5a6 100644 --- a/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes.tsx @@ -1,6 +1,5 @@ -import IcNote from '@/common/asset/svg/ic_note_black.svg?react'; -import Flex from '@/common/component/Flex/Flex'; -import Text from '@/common/component/Text/Text'; +import { IcNoteBlack } from '@tiki/icon'; +import { Flex, Text } from '@tiki/ui'; import TaggedNoteItem from '@/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNoteItem/TaggedNoteItem'; import { listHeaderStyle } from '@/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style'; @@ -20,7 +19,7 @@ const TaggedNotes = ({ isEditable }: TaggedNotesProps) => { return ( - + 태그된 인수인계 노트 diff --git a/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts similarity index 89% rename from src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts index c31beeb72..4efdef76e 100644 --- a/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const closeBtnStyle = css({ position: 'absolute', diff --git a/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx similarity index 86% rename from src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx index 452d239e9..af8a4fc55 100644 --- a/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/TimeBlockBar.tsx @@ -1,8 +1,7 @@ -import { useState } from 'react'; +import { IcClose } from '@tiki/icon'; +import { CommandButton, Flex } from '@tiki/ui'; -import CloseButton from '@/common/asset/svg/ic_close.svg?react'; -import CommandButton from '@/common/component/CommandButton/CommandButton'; -import Flex from '@/common/component/Flex/Flex'; +import { useState } from 'react'; import BlockInfo from '@/page/archiving/index/component/TimeBlockBar/BlockInfo/BlockInfo'; import TaggedNotes from '@/page/archiving/index/component/TimeBlockBar/TaggedNotes/TaggedNotes'; @@ -27,7 +26,7 @@ const TimeBlockBar = ({ content, onCloseDrawer }: TimeBlockBarProps) => { return ( content && (
- + diff --git a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts similarity index 93% rename from src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts index be85e05f6..60bb13957 100644 --- a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const containerStyle = css({ gap: '1.2rem', diff --git a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx similarity index 69% rename from src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx index 20d570c9d..a8622f288 100644 --- a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem.tsx @@ -1,7 +1,5 @@ -import CloseButton from '@/common/asset/svg/ic_close.svg?react'; -import IcPDF from '@/common/asset/svg/ic_pdf_file.svg?react'; -import Flex from '@/common/component/Flex/Flex'; -import Text from '@/common/component/Text/Text'; +import { IcClose, IcPdfFile } from '@tiki/icon'; +import { Flex, Text } from '@tiki/ui'; import { circleStyle, @@ -22,7 +20,7 @@ const FileItem = ({ title, capacity, isEditable }: FileItemProps) => {
  • - + @@ -34,7 +32,7 @@ const FileItem = ({ title, capacity, isEditable }: FileItemProps) => { - {isEditable && } + {isEditable && }
  • ); }; diff --git a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx similarity index 83% rename from src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx index 2103196d4..384a306c3 100644 --- a/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockBar/UploadedFiles/UploadedFiles.tsx @@ -1,8 +1,5 @@ -import IcCloudUpload from '@/common/asset/svg/ic_cloud_upload.svg?react'; -import IcPaper from '@/common/asset/svg/ic_paper.svg?react'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; -import Text from '@/common/component/Text/Text'; +import { IcCloudUpload, IcPaper } from '@tiki/icon'; +import { Button, Flex, Text } from '@tiki/ui'; import { listHeaderStyle } from '@/page/archiving/index/component/TimeBlockBar/TimeBlockBar.style'; import FileItem from '@/page/archiving/index/component/TimeBlockBar/UploadedFiles/FileItem/FileItem'; diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts similarity index 87% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts index 916c8f21e..fa5e96ad0 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const buttonStyle = (isActive: boolean) => css({ diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx similarity index 94% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx index da1867160..5f8e59619 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/BlockModal.tsx @@ -1,9 +1,6 @@ -import { useState } from 'react'; +import { Button, Flex, Input, Text } from '@tiki/ui'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; -import Input from '@/common/component/Input/Input'; -import Text from '@/common/component/Text/Text'; +import { useState } from 'react'; import { buttonStyle, diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts similarity index 81% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts index c837bdec2..2f3c522d5 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const textStyle = css({ color: theme.colors.gray_500, diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx similarity index 91% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx index 2c6b594e4..fc61086b7 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Date/BlockDate.tsx @@ -1,8 +1,5 @@ import { css } from '@emotion/react'; - -import Flex from '@/common/component/Flex/Flex'; -import Input from '@/common/component/Input/Input'; -import SupportingText from '@/common/component/SupportingText/SupportingText'; +import { Flex, Input, SupportingText } from '@tiki/ui'; import { supportStyle, diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts similarity index 92% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts index c46b957b5..c4e73eaca 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const iconStyle = css({ display: 'flex', diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.tsx similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Block/Icon/BlockIcon.tsx diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.style.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.style.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx similarity index 80% rename from src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx index 34e649bc5..c6f539db3 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Box/BlockBox.tsx @@ -1,7 +1,6 @@ -import { ReactNode } from 'react'; +import { Flex, Heading } from '@tiki/ui'; -import Flex from '@/common/component/Flex/Flex'; -import Heading from '@/common/component/Heading/Heading'; +import { ReactNode } from 'react'; interface BlockBoxProps { title: string; diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts similarity index 88% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts index df9f06239..4f5d9ff0c 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const boxStyle = css({ borderRadius: '8px', diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx similarity index 92% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx index 5bc71005c..23bb8cd68 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd.tsx @@ -1,8 +1,6 @@ -import { Dispatch, SetStateAction } from 'react'; +import { Button, Flex, Text } from '@tiki/ui'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; -import Text from '@/common/component/Text/Text'; +import { Dispatch, SetStateAction } from 'react'; import { boxStyle, diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts similarity index 83% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts index 0991959a7..55af7d710 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const borderStyle = css({ borderRadius: '8px', diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx similarity index 67% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx index bcd6c0d38..f29eff067 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem.tsx @@ -1,7 +1,5 @@ -import Delete from '@/common/asset/svg/ic_file_delete.svg?react'; -import Flex from '@/common/component/Flex/Flex'; -import Spinner from '@/common/component/Spinner/Spinner'; -import Text from '@/common/component/Text/Text'; +import { IcFileDelete } from '@tiki/icon'; +import { Flex, Spinner, Text } from '@tiki/ui'; import { borderStyle, @@ -25,7 +23,7 @@ const BlockItem = ({ title, onDelete, isUploading }: BlockItemProps) => { {isUploading ? ( ) : ( - + )}
    ); diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts similarity index 93% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts index 96e3fafc3..b54f61191 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const scrollStyle = css({ display: 'flex', diff --git a/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx similarity index 96% rename from src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx index 68004846a..7a18ca1ea 100644 --- a/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/component/Upload/UploadModal.tsx @@ -1,7 +1,7 @@ -import { useEffect, useState } from 'react'; +import { Button, Flex } from '@tiki/ui'; +import { useToastAction } from '@tiki/utils'; -import Button from '@/common/component/Button/Button'; -import Flex from '@/common/component/Flex/Flex'; +import { useEffect, useState } from 'react'; import BlockAdd from '@/page/archiving/index/component/TimeBlockModal/component/Upload/File/Add/BlockAdd'; import BlockItem from '@/page/archiving/index/component/TimeBlockModal/component/Upload/File/List/BlockItem'; @@ -19,7 +19,6 @@ import WorkSapceInfo from '@/shared/component/WorkSpaceModal/info/WorkSpaceInfo' import { useBlockContext } from '@/shared/hook/common/useBlockContext'; import { useInitializeTeamId } from '@/shared/hook/common/useInitializeTeamId'; import { useCloseModal } from '@/shared/store/modal'; -import { useToastAction } from '@/shared/store/toast'; interface UploadModalProps { isVisible: boolean; diff --git a/src/page/archiving/index/component/TimeBlockModal/constant/color.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/constant/color.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/constant/color.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/constant/color.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/constant/error.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/constant/error.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/constant/error.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/constant/error.ts diff --git a/apps/client/src/page/archiving/index/component/TimeBlockModal/constant/iconBlock.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/constant/iconBlock.tsx new file mode 100644 index 000000000..89c0fc754 --- /dev/null +++ b/apps/client/src/page/archiving/index/component/TimeBlockModal/constant/iconBlock.tsx @@ -0,0 +1,35 @@ +import { IcAccounting, IcEvent, IcMeeting, IcNotice, IcStudy, IcTask } from '@tiki/icon'; + +import { ReactNode } from 'react'; + +type BlockIconType = { + name: string; + icon: ReactNode; +}; + +export const BLOCK_ICON: BlockIconType[] = [ + { + name: 'MEETING', + icon: , + }, + { + name: 'ACCOUNTING', + icon: , + }, + { + name: 'TASK', + icon: , + }, + { + name: 'NOTICE', + icon: , + }, + { + name: 'STUDY', + icon: , + }, + { + name: 'EVENT', + icon: , + }, +]; diff --git a/src/page/archiving/index/component/TimeBlockModal/hook/api/useDeleteFileMutation.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/useDeleteFileMutation.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/hook/api/useDeleteFileMutation.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/useDeleteFileMutation.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/hook/api/usePostTimeBlockMutation.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/usePostTimeBlockMutation.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/hook/api/usePostTimeBlockMutation.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/usePostTimeBlockMutation.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/hook/api/usePutUploadMutation.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/usePutUploadMutation.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/hook/api/usePutUploadMutation.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/hook/api/usePutUploadMutation.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/hook/common/useDateRange.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/hook/common/useDateRange.tsx similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/hook/common/useDateRange.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/hook/common/useDateRange.tsx diff --git a/src/page/archiving/index/component/TimeBlockModal/hook/common/useFile.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/hook/common/useFile.tsx similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/hook/common/useFile.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/hook/common/useFile.tsx diff --git a/src/page/archiving/index/component/TimeBlockModal/index.tsx b/apps/client/src/page/archiving/index/component/TimeBlockModal/index.tsx similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/index.tsx rename to apps/client/src/page/archiving/index/component/TimeBlockModal/index.tsx diff --git a/src/page/archiving/index/component/TimeBlockModal/type/blockType.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/type/blockType.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/type/blockType.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/type/blockType.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/util/color.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/util/color.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/util/color.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/util/color.ts diff --git a/src/page/archiving/index/component/TimeBlockModal/util/date.ts b/apps/client/src/page/archiving/index/component/TimeBlockModal/util/date.ts similarity index 100% rename from src/page/archiving/index/component/TimeBlockModal/util/date.ts rename to apps/client/src/page/archiving/index/component/TimeBlockModal/util/date.ts diff --git a/src/page/archiving/index/component/TimeLine/Day/Day.style.ts b/apps/client/src/page/archiving/index/component/TimeLine/Day/Day.style.ts similarity index 96% rename from src/page/archiving/index/component/TimeLine/Day/Day.style.ts rename to apps/client/src/page/archiving/index/component/TimeLine/Day/Day.style.ts index fcfefb14a..8771c41aa 100644 --- a/src/page/archiving/index/component/TimeLine/Day/Day.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeLine/Day/Day.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const entireDayStyle = css({ display: 'flex', diff --git a/src/page/archiving/index/component/TimeLine/Day/Day.tsx b/apps/client/src/page/archiving/index/component/TimeLine/Day/Day.tsx similarity index 100% rename from src/page/archiving/index/component/TimeLine/Day/Day.tsx rename to apps/client/src/page/archiving/index/component/TimeLine/Day/Day.tsx diff --git a/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts b/apps/client/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts similarity index 96% rename from src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts rename to apps/client/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts index d488ad516..e221c8fc6 100644 --- a/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; import { BlockColor } from '@/page/archiving/index/type/color'; diff --git a/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.tsx b/apps/client/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.tsx similarity index 100% rename from src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.tsx rename to apps/client/src/page/archiving/index/component/TimeLine/TimeBlock/TimeBlock.tsx diff --git a/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts b/apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts similarity index 92% rename from src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts rename to apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts index ebe0cf6ee..cec5e3128 100644 --- a/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts +++ b/apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style.ts @@ -1,6 +1,5 @@ import { css } from '@emotion/react'; - -import { theme } from '@/common/style/theme/theme'; +import { theme } from '@tiki/ui'; export const headerStyle = css({ position: 'sticky', diff --git a/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx b/apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx similarity index 74% rename from src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx rename to apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx index 3dcf003d6..42c3417f4 100644 --- a/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx +++ b/apps/client/src/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.tsx @@ -1,6 +1,5 @@ -import ArrowLeft from '@/common/asset/svg/ic_arrow_back.svg?react'; -import ArrowRight from '@/common/asset/svg/ic_arrow_forward.svg?react'; -import Button from '@/common/component/Button/Button'; +import { IcArrowBack, IcArrowForward } from '@tiki/icon'; +import { Button } from '@tiki/ui'; import { useDateContext } from '@/page/archiving/index/DateProvider'; import { dateStyle, headerStyle } from '@/page/archiving/index/component/TimeLine/TimeLineHeader/TimeLineHeader.style'; @@ -11,13 +10,13 @@ const TimeLineHeader = () => { return (
    {currentYear}년 {currentMonth}월