Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6892b7b
개발 환경 구축
vanillovin Jan 20, 2022
68c3778
svg & css assets
vanillovin Jan 20, 2022
8b5a295
delete stories/assets
vanillovin Jan 20, 2022
422b688
storybook files
vanillovin Jan 20, 2022
b2ea21b
create App & index
vanillovin Jan 20, 2022
6140e5d
CreateCard page
vanillovin Jan 20, 2022
f041841
CardList markup
vanillovin Jan 20, 2022
c85dce3
CompleteCard markup
vanillovin Jan 20, 2022
ceeb78c
CreateCard에 month, year input state 추가
vanillovin Jan 20, 2022
baa2537
o
vanillovin Jan 20, 2022
61a4798
CardSelectorModal 컴포넌트 분리
vanillovin Jan 23, 2022
1480554
style
vanillovin Jan 23, 2022
37e2b01
label tag htmlFor - id 연결
vanillovin Jan 23, 2022
4a92d18
카드선택모달 추가 & pattern을 이용한 검증 & 카드번호에 따라 카드이름과 색상 결정
vanillovin Jan 24, 2022
db76e92
prettier 적용
vanillovin Jan 24, 2022
2fde06e
마우스를 올리면 커서모양 포인터 설정
vanillovin Jan 24, 2022
1edec0b
prettier 적용
vanillovin Jan 24, 2022
2d7f6e6
id로 다음 input으로 포커싱 & isNaN을 isNumberTest로 wrapping
vanillovin Jan 24, 2022
84a18d0
CardSelectorModal component에 close modal button 추가
vanillovin Jan 25, 2022
ee2fb70
type과 조건에 맞게 메시지를 만드는 Message component 추가
vanillovin Jan 25, 2022
cfa8cf2
arr로 cardNumInput을 map & CardExpirationInput 분리
vanillovin Jan 25, 2022
12abf04
inline style -> className
vanillovin Jan 26, 2022
537c771
cardInMaking와 completedCards를 context로 분리
vanillovin Jan 31, 2022
d06d237
카드사 데이터를 js 파일로 분리
vanillovin Jan 31, 2022
3745011
버튼들의 css
vanillovin Jan 31, 2022
37d8225
uuid module 추가
vanillovin Jan 31, 2022
6fb5509
input을 종류에따라 분리
vanillovin Jan 31, 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
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// module.exports = {
export default {
env: {
browser: true,
es2021: true,
},
extends: [
"plugin:react/recommended",
"google",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
ecmaFeatures: {
jsx: true,
},
ecmaVersion: "2018",
sourceType: "module",
},
plugins: ["react", "@typescript-eslint"],
rules: {},
ignorePatterns: ["dist/", "node_modules/"],
};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid"
}
11 changes: 11 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials"
],
"framework": "@storybook/react"
}
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$/,
},
},
}
115 changes: 0 additions & 115 deletions README.md

This file was deleted.

11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = function(api) {
api.cache(true);
return {
presets: [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
],
plugins: []
};
};
32 changes: 32 additions & 0 deletions dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<head><script defer src="bundle.js"></script></head>
Loading