feat(patient): enhance patient detail view with accordion and timezone support

- Add date-fns-tz for timezone-aware date formatting
- Refactor patient detail view to use accordion components
- Improve date display formatting with locale support
- Update navigation handling for edit and back actions
- Extend ClickType enum to include 'edit' action
This commit is contained in:
Khafid Prayoga
2025-12-05 19:24:40 +07:00
parent d848e5bd07
commit 41985ea89f
5 changed files with 241 additions and 140 deletions
+11
View File
@@ -26,6 +26,9 @@ dependencies:
date-fns:
specifier: ^4.1.0
version: 4.1.0
date-fns-tz:
specifier: ^3.2.0
version: 3.2.0(date-fns@4.1.0)
embla-carousel:
specifier: ^8.5.2
version: 8.6.0
@@ -5709,6 +5712,14 @@ packages:
d3-zoom: 3.0.0
dev: false
/date-fns-tz@3.2.0(date-fns@4.1.0):
resolution: {integrity: sha512-sg8HqoTEulcbbbVXeg84u5UnlsQa8GS5QXMqjjYIhS4abEVVKIUwe0/l/UhrZdKaL/W5eWZNlbTeEIiOXTcsBQ==}
peerDependencies:
date-fns: ^3.0.0 || ^4.0.0
dependencies:
date-fns: 4.1.0
dev: false
/date-fns@4.1.0:
resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}
dev: false