-
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.
* ♻️ refactor(component): width, height 속성 필수로 설정 및 각 변에 축을 그리도록 설정 * 💄 style(css): label을 height 중앙에 오도록 수정, textAlign 삭제 및 tickAlign 추가 * 📝 docs(story): bandAxis Story 수정 * 🚚 chore(component): 주석 추가 * 🚚 chore(component): barChart에서 Axis 제거 및 animate 제거 * ♻️ refactor(component): bar 제거 및 방향 추가 * 💄 style(constant): orient를 BarChart와 동일하게 수정 및 불필요한 속성 css로 이동 * ✨ feat(component): label 및 showLabel props 추가 * 💄 style(css): labelOffset 및 style 조정 * 🚚 chore(type): barProps 삭제 * 📝 docs(story): padding Story 추가
- Loading branch information
Showing
11 changed files
with
180 additions
and
204 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
import { tv } from "@utils/customTV"; | ||
|
||
export const BandAxisVariants = tv({ | ||
base: "stroke-black", | ||
slots: { | ||
root: "stroke-surface-on", | ||
axisLine: "fill-none", | ||
labelText: "stroke-none", | ||
}, | ||
variants: { | ||
lineHide: { | ||
true: { | ||
axisLine: "hidden", | ||
}, | ||
}, | ||
labelHide: { | ||
true: { | ||
labelText: "hidden", | ||
}, | ||
}, | ||
}, | ||
defaultVariants: { | ||
lineHide: false, | ||
labelHide: false, | ||
}, | ||
}); |
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
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.