-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feat] Docs 작업내역 #176
Merged
[Feat] Docs 작업내역 #176
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e96ce38
build: :heavy_plus_sign: @babel/preset-react dev dependencies 추가
strawji02 731f95c
fix: :bug: ischecked non-boolean 속성 타입 오류 수정
strawji02 899eccb
chore: :bento: add folder, home icon
strawji02 556268f
docs: :memo: update wow-icons changelog
strawji02 dd1c460
chore: sidebar temp
strawji02 1795712
Update packages/wow-ui/src/components/Chip/index.tsx
strawji02 723710e
docs: :memo: update changelog
strawji02 7d982d9
chore: update aside area-label
strawji02 8079afe
fix: :bug: update html lang, hydration error
strawji02 97ef445
chore: wow-icon changelog 쪽 원복
SeieunYoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"wowds-icons": patch | ||
--- | ||
|
||
Home, Folder 컴포넌트를 추가합니다. |
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,40 @@ | ||
import { css } from "@styled-system/css"; | ||
import type { CSSProperties } from "react"; | ||
import { GdscLogo } from "wowds-icons"; | ||
|
||
/** | ||
* @description Sidebar 컴포넌트는 탭을 통해 페이지 내비게이션을 제공하는 컴포넌트입니다. | ||
*/ | ||
export interface SidebarProps { | ||
style?: CSSProperties; | ||
} | ||
|
||
const Sidebar = ({ style }: SidebarProps) => { | ||
return ( | ||
<aside | ||
aria-label="navigation bar" | ||
className={sidebarContainerStyle} | ||
style={style} | ||
> | ||
<GdscLogo /> | ||
<div className={titleTextStyle}>Wow Design System</div> | ||
</aside> | ||
); | ||
}; | ||
|
||
export default Sidebar; | ||
|
||
const sidebarContainerStyle = css({ | ||
width: 250, | ||
height: "100%", | ||
flexShrink: 0, | ||
}); | ||
|
||
const titleTextStyle = css({ | ||
color: "textBlack", | ||
fontFamily: "Product Sans", | ||
fontSize: "20px", | ||
fontWeight: 700, | ||
lineHeight: "130%", | ||
letterSpacing: "-0.2px", | ||
}); |
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,53 @@ | ||
import { Folder, Home } from "wowds-icons"; | ||
export const navMenu = [ | ||
{ | ||
href: "/overview", | ||
icon: Home, | ||
alt: "home icon", | ||
label: "Overview", | ||
}, | ||
{ | ||
href: "/foundation", | ||
icon: Folder, | ||
alt: "folder icon", | ||
label: "Foundation", | ||
children: [ | ||
{ href: "/color", label: "Color" }, | ||
{ href: "/typography", label: "Typography" }, | ||
{ href: "/grid", label: "Grid" }, | ||
{ href: "/spacing", label: "Spacing" }, | ||
{ href: "/icon", label: "Icon" }, | ||
{ href: "/graphic", label: "Graphic" }, | ||
], | ||
}, | ||
{ | ||
href: "/component", | ||
icon: Folder, | ||
alt: "folder icon", | ||
label: "Component", | ||
children: [ | ||
{ label: "Avatar", href: "/avatar" }, | ||
{ label: "Box", href: "/box" }, | ||
{ label: "Button", href: "/button" }, | ||
{ label: "Checkbox", href: "/checkbox" }, | ||
{ label: "Chip", href: "/chip" }, | ||
{ label: "Divider", href: "/divider" }, | ||
{ label: "DropDown", href: "/dropdown" }, | ||
{ label: "Header", href: "/header" }, | ||
{ label: "MultiGroup", href: "/multigroup" }, | ||
{ label: "Pagination", href: "/pagination" }, | ||
{ label: "Picker", href: "/picker" }, | ||
{ label: "RadioGroup", href: "/radiogroup" }, | ||
{ label: "SearchBar", href: "/searchbar" }, | ||
{ label: "Spinner", href: "/spinner" }, | ||
{ label: "Stepper", href: "/stepper" }, | ||
{ label: "Switch", href: "/switch" }, | ||
{ label: "Table", href: "/table" }, | ||
{ label: "Tabs", href: "/tabs" }, | ||
{ label: "Tag", href: "/tag" }, | ||
{ label: "TextButton", href: "/textbutton" }, | ||
{ label: "TextField", href: "/textfield" }, | ||
{ label: "Toast", href: "/toast" }, | ||
], | ||
}, | ||
]; |
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.24.5", | ||
"@babel/preset-react": "^7.25.9", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@changesets/changelog-git": "^0.2.0", | ||
"@changesets/cli": "^2.27.1", | ||
|
@@ -72,20 +73,20 @@ | |
"jest-dom": "link:@types/testing-library/jest-dom", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"postcss": "^8.4.38", | ||
"prettier": "^3.2.5", | ||
"rollup": "^4.17.2", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-preserve-directives": "^0.4.0", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"shared-config": "workspace:^", | ||
"wowds-theme": "workspace:^", | ||
"ts-jest": "^29.1.2", | ||
"ts-node": "^10.9.2", | ||
"tsc-alias": "^1.8.10", | ||
"tsx": "^4.11.0", | ||
"turbo": "latest", | ||
"typescript": "^5.3.3", | ||
"wowds-theme": "workspace:^", | ||
"wowds-tokens": "workspace:^" | ||
}, | ||
"packageManager": "[email protected]", | ||
|
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# wowds-icons | ||
|
||
## 0.1.5 | ||
|
||
### Patch Changes | ||
|
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,46 @@ | ||
import { forwardRef } from "react"; | ||
import { color } from "wowds-tokens"; | ||
|
||
import type { IconProps } from "@/types/Icon.ts"; | ||
|
||
const Folder = forwardRef<SVGSVGElement, IconProps>( | ||
( | ||
{ | ||
className, | ||
width = "20", | ||
height = "20", | ||
viewBox = "0 0 20 20", | ||
stroke = "white", | ||
...rest | ||
}, | ||
ref | ||
) => { | ||
return ( | ||
<svg | ||
aria-label="folder icon" | ||
className={className} | ||
fill="none" | ||
height={height} | ||
ref={ref} | ||
viewBox={viewBox} | ||
width={width} | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...rest} | ||
> | ||
<path | ||
d="M10.802 5.37344L10.9769 5.58333H11.2502H17.7502V16.9167H2.25016V3.08333L8.89361 3.08333L10.802 5.37344Z" | ||
stroke={color[stroke]} | ||
strokeWidth="1.16667" | ||
/> | ||
<path | ||
d="M8.33333 12.4999C8.33333 13.4204 7.58714 14.1666 6.66667 14.1666C5.74619 14.1666 5 13.4204 5 12.4999C5 11.5794 5.74619 10.8333 6.66667 10.8333C7.58714 10.8333 8.33333 11.5794 8.33333 12.4999Z" | ||
stroke={color[stroke]} | ||
strokeWidth="1.16667" | ||
/> | ||
</svg> | ||
); | ||
} | ||
); | ||
|
||
Folder.displayName = "Folder"; | ||
export default Folder; |
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,57 @@ | ||
import { forwardRef } from "react"; | ||
import { color } from "wowds-tokens"; | ||
|
||
import type { IconProps } from "@/types/Icon.ts"; | ||
|
||
const Home = forwardRef<SVGSVGElement, IconProps>( | ||
( | ||
{ | ||
className, | ||
width = "20", | ||
height = "20", | ||
viewBox = "0 0 20 20", | ||
stroke = "white", | ||
...rest | ||
}, | ||
ref | ||
) => { | ||
return ( | ||
<svg | ||
aria-label="home icon" | ||
className={className} | ||
fill="none" | ||
height={height} | ||
ref={ref} | ||
viewBox={viewBox} | ||
width={width} | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...rest} | ||
> | ||
<g id="홈"> | ||
<path | ||
d="M16.6665 7.91675V17.7399H3.33317V7.91675" | ||
id="Vector 497" | ||
stroke={color[stroke]} | ||
strokeWidth="1.16667" | ||
/> | ||
<path | ||
d="M2.08317 8.75L9.99984 2.5L17.9165 8.75" | ||
id="Vector 499" | ||
stroke={color[stroke]} | ||
strokeLinejoin="bevel" | ||
strokeWidth="1.16667" | ||
/> | ||
<path | ||
d="M11.6666 13.3334C11.6666 14.2539 10.9204 15.0001 9.99992 15.0001C9.07944 15.0001 8.33325 14.2539 8.33325 13.3334C8.33325 12.4129 9.07944 11.6667 9.99992 11.6667C10.9204 11.6667 11.6666 12.4129 11.6666 13.3334Z" | ||
id="Ellipse 37" | ||
stroke={color[stroke]} | ||
strokeWidth="1.16667" | ||
/> | ||
</g> | ||
</svg> | ||
); | ||
} | ||
); | ||
|
||
Home.displayName = "Home"; | ||
export default Home; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 부분 원복해주지면 좋을 것 같아요!!