-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 사진 아이콘 추가 * feat: 이미지 업로더 개편 * feat: 별점 작성 개편 * feat: 리뷰 설명 개편 * refactor: 안 쓰는 스타일 파일 삭제 * feat: 재구매 체크박스 개편 * feat: 재구매 타이틀 추가 * feat: 태그 선택 바텀시트 열기 버튼 추가 * feat: 태그 선택 구현 * feat: 태그 최대 3개 선택 구현 * feat: 체크 되어 있는 태그 스타일 * feat: 선택 태그 폼에서 렌더링 * feat: 폼에서 태그 삭제 * refactor: 안 쓰는 컴포넌트 삭제 * feat: 태그 선택 바텀시트 컴포넌트 추가 * feat: 리뷰 등록 페이지 추가 * feat: 태그 바텀시트 prop 추가 * refactor: 리뷰 태그 바텀시트 index export * refactor: Text 컴포넌트 사용 * style: 태그 조건 이름 수정 * feat: 태그 선택 최소 조건 추가 * feat: 태그 선택 바텀시트 높이 추가 * refactor: Text 컴포넌트 사용 * feat: 이미지 업로더 스타일 개편 * feat: 리뷰 설명 에러 처리 * feat: 설명 에러 메시지 추가 구현 * feat: 리뷰 태그 바텀시트 스토리 추가
- Loading branch information
1 parent
4196d6b
commit 0c9edba
Showing
29 changed files
with
728 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { vars } from '@/styles/theme.css'; | ||
import { style, styleVariants } from '@vanilla-extract/css'; | ||
|
||
export const container = style({ | ||
display: 'flex', | ||
gap: 8, | ||
}); | ||
|
||
export const uploadLabelBase = style({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
width: 80, | ||
height: 80, | ||
borderRadius: 6, | ||
cursor: 'pointer', | ||
}); | ||
|
||
export const uploadLabel = styleVariants({ | ||
default: [uploadLabelBase, { backgroundColor: vars.colors.background.category }], | ||
uploaded: [ | ||
uploadLabelBase, | ||
{ backgroundColor: vars.colors.background.default, border: `1px solid ${vars.colors.border.default}` }, | ||
], | ||
}); | ||
|
||
export const uploadInput = style({ | ||
display: 'none', | ||
}); | ||
|
||
export const imageWrapper = style({ | ||
position: 'relative', | ||
width: 80, | ||
height: 80, | ||
}); | ||
|
||
export const image = style({ | ||
objectFit: 'cover', | ||
borderRadius: 6, | ||
}); | ||
|
||
export const deleteButton = style({ | ||
position: 'absolute', | ||
top: 4, | ||
right: 4, | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
width: 18, | ||
height: 18, | ||
borderRadius: '50%', | ||
backgroundColor: vars.colors.black, | ||
opacity: 0.5, | ||
cursor: 'pointer', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { vars } from '@/styles/theme.css'; | ||
import { style, styleVariants } from '@vanilla-extract/css'; | ||
|
||
export const container = style({ | ||
display: 'inline-flex', | ||
alignItems: 'center', | ||
gap: 8, | ||
cursor: 'pointer', | ||
}); | ||
|
||
export const checkbox = style({ | ||
display: 'none', | ||
}); | ||
|
||
const checkBase = style({ | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
width: 17, | ||
height: 17, | ||
borderRadius: '50%', | ||
}); | ||
|
||
export const check = styleVariants({ | ||
default: [checkBase, { backgroundColor: vars.colors.icon.light }], | ||
checked: [checkBase, { backgroundColor: vars.colors.black }], | ||
}); |
Oops, something went wrong.