feat: redesign halaman create project dan task divisi dengan section card

- Ganti ButtonSelect dengan section card (Tanggal & Tugas, File, Anggota)
- Tiap card: header pressable dengan icon, badge count, chevron, dan preview isi
- Background item list (file & anggota) dibuat transparan (hanya border)
- Badge file seragam dengan badge tugas dan orang
- Tambah prop showTitle pada SectionListAddTask
- Ekstrak inline style ke Styles.ts: sectionActionRow, sectionBadge, positionBadge, listItemCard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 17:10:08 +08:00
parent 11bb1ddc98
commit bdfb3a8b2b
4 changed files with 269 additions and 159 deletions

View File

@@ -891,6 +891,31 @@ const Styles = StyleSheet.create({
alignItems: 'center',
gap: 10,
},
sectionActionRow: {
flexDirection: 'row',
alignItems: 'center',
gap: 10,
},
sectionBadge: {
borderRadius: 10,
paddingHorizontal: 8,
paddingVertical: 2,
},
positionBadge: {
borderRadius: 20,
paddingHorizontal: 8,
paddingVertical: 3,
},
listItemCard: {
flexDirection: 'row',
alignItems: 'center',
backgroundColor: 'transparent',
borderRadius: 10,
borderWidth: 1,
paddingHorizontal: 12,
paddingVertical: 10,
gap: 12,
},
flex1: {
flex: 1
},