From 3c35de96000e4745a75f43d6546d1aece2a01683 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN <128459613+leeeyubin@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:35:27 +0900 Subject: [PATCH] =?UTF-8?q?CheckBox=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat : checkbox with icon * feat : icon color * chore : 줄바꿈 * chore : delete color * chore : add padding * chore : delete icon * chore : fix icon size * feat : make CheckCircleSelected * feat : 불필요한 코드 삭제 * feat : 불필요한 코드 삭제 * feat : make CheckCircleUnselected * feat : iconColor 구현 * feat : text가 empty일 때의 간격 수정 * feat : 버튼 아이콘 위치 수정 * feat : add CheckBoxPreview * feat : delete ic_checkcircle_unselected.xml * feat : icon 수정 * chore : move CheckBox file * feat : add surface * feat : add svg icons * chore : isDisabled -> enabled * feat : add icon color * chore : change checkbox icon * chore : change disabled text color * chore : add preview * chore : 주석 추가 * add : checkbox preview --------- Co-authored-by: cometj03 --- .idea/other.xml | 11 -- .../com/yourssu/handy/demo/CheckBoxPreview.kt | 109 ++++++++++++++++++ .../com/yourssu/handy/demo/MainActivity.kt | 2 +- .../com/yourssu/handy/compose/CheckBox.kt | 85 ++++++++++++++ .../res/drawable/ic_checkcircle_disabled.xml | 10 ++ .../res/drawable/ic_checkcircle_filled.xml | 10 ++ .../main/res/drawable/ic_checkcircle_line.xml | 14 +++ 7 files changed, 229 insertions(+), 12 deletions(-) create mode 100644 app/src/main/kotlin/com/yourssu/handy/demo/CheckBoxPreview.kt create mode 100644 compose/src/main/kotlin/com/yourssu/handy/compose/CheckBox.kt create mode 100644 compose/src/main/res/drawable/ic_checkcircle_disabled.xml create mode 100644 compose/src/main/res/drawable/ic_checkcircle_filled.xml create mode 100644 compose/src/main/res/drawable/ic_checkcircle_line.xml diff --git a/.idea/other.xml b/.idea/other.xml index 0d3a1fb..4604c44 100644 --- a/.idea/other.xml +++ b/.idea/other.xml @@ -179,17 +179,6 @@