Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d0bf68d
remove: 스토리북 기본 컴포넌트 삭제
leeleeleeleejun Aug 10, 2025
5d578fc
chore: Storybook configuration 수정
leeleeleeleejun Aug 10, 2025
8fac0f7
chore: TypeScript 파일에서 prop-types 룰 비활성화하도록 ESLint 설정 업데이트
leeleeleeleejun Aug 10, 2025
713f198
feat: 다형성 컴포넌트 타입 정의 추가
leeleeleeleejun Aug 10, 2025
e030c72
feat: 공통 Flex 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 10, 2025
9686f4c
feat: layout 컴포넌트에 Colum 컴포넌트 적용
leeleeleeleejun Aug 10, 2025
994d56a
feat: 공통 Typography 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 11, 2025
b11b9d5
feat: Column 컴포넌트에서 불필요한 gap 클래스 제거
leeleeleeleejun Aug 13, 2025
8f62c5e
feat: shared styles에 red color 추가
leeleeleeleejun Aug 14, 2025
23f306e
feat: SVG components 추가 작업 (tsx로 변환)
leeleeleeleejun Aug 14, 2025
f8dcc6a
feat: Icon 컴포넌트 및 스토리북 추가
leeleeleeleejun Aug 14, 2025
d1b00e6
feat: 공통 Button 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 14, 2025
aa76bbe
feat: 공통 Chip 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 14, 2025
2491ed2
feat: Icon.tsx에서 IconType의 타입 가져오기 방식 수정
leeleeleeleejun Aug 14, 2025
6d3ae17
feat: search.tsx에서 SVG 아이콘 수정
leeleeleeleejun Aug 15, 2025
71d4caa
feat: Text.tsx에서 FontWeight 타입 주석 업데이트
leeleeleeleejun Aug 15, 2025
57f31a9
feat: 공통 SearchBar 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 15, 2025
9b5a8bc
feat: Flex 컴포넌트 및 정렬 컴포넌트에서 items-center 클래스 추가
leeleeleeleejun Aug 15, 2025
36f9d3f
feat: Header 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 15, 2025
831c188
feat: scrollbar-hide class 추가
leeleeleeleejun Aug 15, 2025
82dd54d
feat: Textarea 컴포넌트 & 스토리북 구현
leeleeleeleejun Aug 15, 2025
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
38 changes: 29 additions & 9 deletions apps/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,44 @@
import type { StorybookConfig } from '@storybook/nextjs'

const config: StorybookConfig = {
stories: [
'../stories/**/*.mdx',
'../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)',
// '../../../packages/ui/src/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
stories: ['../../../packages/ui/src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@chromatic-com/storybook',
'@storybook/addon-docs',
'@storybook/addon-a11y',
{
name: '@storybook/addon-styling-webpack',
options: {
rules: [
{
test: /\.css$/,
use: [
'style-loader',
{
loader: 'css-loader',
options: {
importLoaders: 1,
},
},
{
loader: 'postcss-loader',
options: {
postcssOptions: {
plugins: [['@tailwindcss/postcss', {}]],
},
},
},
],
},
],
},
},
],
framework: {
name: '@storybook/nextjs',
options: {},
},
staticDirs: [
'../../../packages/ui/public', // UI 컴포넌트용 리소스
'../public', // Storybook 전용 리소스
],
staticDirs: ['../../../packages/ui/public'],
}

export default config
9 changes: 5 additions & 4 deletions apps/storybook/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import type { Preview } from '@storybook/nextjs'
import '@repo/styles'

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};
}

export default preview;
export default preview
12 changes: 8 additions & 4 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,31 @@
"@repo/ui": "workspace:^"
},
"devDependencies": {
"@chromatic-com/storybook": "^4.1.0",
"@eslint/eslintrc": "^3",
"@repo/eslint-config": "workspace:*",
"@repo/tailwind-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@chromatic-com/storybook": "^4.1.0",
"@eslint/eslintrc": "^3",
"@storybook/addon-a11y": "^9.1.0",
"@storybook/addon-docs": "^9.1.0",
"@storybook/addon-styling-webpack": "^2.0.0",
"@storybook/nextjs": "^9.1.0",
"@tailwindcss/postcss": "^4",
"@tailwindcss/postcss": "^4.1.5",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"chromatic": "^13.1.3",
"css-loader": "^7.1.2",
"eslint": "^9.32.0",
"eslint-config-next": "15.4.5",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-storybook": "^9.1.0",
"postcss-loader": "^8.1.1",
"storybook": "^9.1.0",
"tailwindcss": "^4",
"style-loader": "^4.0.0",
"tailwindcss": "^4.1.5",
"typescript": "^5.8.2",
"typescript-eslint": "^8.37.0"
}
Expand Down
5 changes: 0 additions & 5 deletions apps/storybook/postcss.config.mjs

This file was deleted.

Binary file removed apps/storybook/public/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion apps/storybook/public/file.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/storybook/public/globe.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/storybook/public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/storybook/public/vercel.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/storybook/public/window.svg

This file was deleted.

54 changes: 0 additions & 54 deletions apps/storybook/stories/Button.stories.ts

This file was deleted.

39 changes: 0 additions & 39 deletions apps/storybook/stories/Button.tsx

This file was deleted.

Loading