Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1단계 - 페이먼츠] 유세지(김용래) 미션 제출합니다. #81

Merged
merged 47 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
5100e0b
chore: Creating React App init
kwannee Apr 26, 2022
7b6f4ea
chore: 초기 개발 환경 설정
kwannee Apr 26, 2022
52aa06e
docs: 기능 요구사항 작성
kwannee Apr 26, 2022
59ca4c6
chore: styled-components 설치
kwannee Apr 26, 2022
f899339
chore: storybook 충돌로 인한 eslint 삭제
kwannee Apr 26, 2022
c4ffaf7
chore: storybook 설치
kwannee Apr 26, 2022
0a6c04e
feat: InputBox Component 구현
kwannee Apr 26, 2022
e49e68a
feat: InputBasic Component 구현
kwannee Apr 26, 2022
0f463d4
refactor: 구현한 컴포넌트 디렉토리 변경
kwannee Apr 26, 2022
69d39a3
feat: Card Page 컴포넌트 구현
kwannee Apr 27, 2022
974c69b
refactor: 디렉토리 구조 개선
kwannee Apr 27, 2022
33ecbf7
feat: CardNumberInputForm 컴포넌트 구현 및 연결
kwannee Apr 27, 2022
d620661
feat: ExpireDate 컴포넌트 구현
kwannee Apr 27, 2022
94b10b6
feat: OwnerInputForm 컴포넌트 구현
kwannee Apr 27, 2022
46e1610
feat: CVCInputForm 컴포넌트 구현
kwannee Apr 27, 2022
14a4d8c
feat: CardPasswordInputForm 컴포넌트 구현
kwannee Apr 27, 2022
8602727
feat: CardSelectModal 컴포넌트 구현
kwannee Apr 28, 2022
13984c7
feat: state 유효성 체크
kwannee Apr 28, 2022
3b3e5cd
feat: Card 클릭으로 Card Type 선택 모달 열기
kwannee Apr 28, 2022
392eaa8
feat: CVC 물음표 클릭 시 CVC 모달 열기
kwannee Apr 28, 2022
a682db4
fix: 이미지 사이즈 축소
kwannee Apr 28, 2022
0ab93b2
feat: PageTitle 컴포넌트 구현
kwannee Apr 28, 2022
5bf5183
feat: 카드 타입이 이미 선택돼 있는 경우, 카드 넘버를 다 채워도 카드 선택 모달창이 안뜨도록 수정
kwannee Apr 28, 2022
219b7fe
style: 모바일 뷰 최적화
kwannee Apr 28, 2022
bf583c0
style: modal css 수정
kwannee Apr 28, 2022
8dbf4c7
docs: 구현 완료 사항 체크
kwannee Apr 28, 2022
3538846
feat: Common 컴포넌트 스토리 작성 완료
kwannee Apr 28, 2022
99bace0
feat: 입력 완료시 다음 입력창 포커스 기능 구현
usageness Apr 28, 2022
77c1cef
chore: 코드 정리
usageness Apr 28, 2022
568445f
chore: gh pages 배포 설정
usageness Apr 28, 2022
da34ca8
refactor: 반복되는 import를 제거하기 위해 각 디렉토리에 index 추가
usageness May 1, 2022
c2e7c8b
refactor: checkerFactory 메서드 이름을 setCheckInputStateOf으로 변경
usageness May 1, 2022
3b7810d
refactor: 삼항연산자 제거
usageness May 2, 2022
7e62165
refactor: QuestionMark 컴포넌트를 확장성 있게 변경
usageness May 2, 2022
965a2e8
chore: 리액트 컴포넌트 파일 확장자 jsx로 변경
usageness May 2, 2022
1eee4de
refactor: input 최대 길이 확인 로직을 input maxLength 로 변경
usageness May 2, 2022
b5ded5f
refactor: BEM으로 된 컴포넌트 이름 변경 및 스타일 코드 위치 변경
usageness May 2, 2022
59e6682
refactor: modal 부분 hooks로 분리
usageness May 2, 2022
3f05a77
chore: storybook 최신 realese 업데이트
usageness May 2, 2022
e08fdd2
fix: 스토리북을 현재 컴포넌트 구조에 맞도록 수정
usageness May 2, 2022
7501512
fix: storybook에 특정 속성이 적용되지 않던 버그 수정
usageness May 2, 2022
d44e384
chore: 코드 순서 정리
usageness May 2, 2022
5dd1620
refactor: 상수 처리 가능한 변수 분리
usageness May 2, 2022
7f1db18
feat: 카드번호가 지워질경우 선택한 카드타입 제거
usageness May 2, 2022
e677d34
chore: inputTitle에 label 태그, inputBasic에 id 속성 적용
usageness May 3, 2022
8c9e7bd
fix: check 객체 내에 의도치 않은 object가 들어오는 버그 수정
usageness May 3, 2022
309f037
chore: 이름 입력 input에 placeholder 추가
usageness May 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: storybook 설치
Co-authored-by: YongRae_Kim <kyr9389@naver.com>
  • Loading branch information
kwannee and usageness committed Apr 26, 2022
commit c4ffaf7a1d0a8db66ece0b3ef00708c1901cfbd7
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
.env.production.local

npm-debug.log*

yarn.lock
16 changes: 16 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-create-react-app"
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
9 changes: 9 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
26 changes: 25 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test"
"test": "react-scripts test",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"browserslist": {
"production": [
Expand All @@ -26,6 +28,28 @@
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-interactions": "^6.4.22",
"@storybook/addon-links": "^6.4.22",
"@storybook/builder-webpack5": "^6.4.22",
"@storybook/manager-webpack5": "^6.4.22",
"@storybook/node-logger": "^6.4.22",
"@storybook/preset-create-react-app": "^4.1.0",
"@storybook/react": "^6.4.22",
"@storybook/testing-library": "^0.0.11",
"webpack": "^5.72.0"
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
}
}