From a5e1a07e6977f7cd5a5d06759fe983cc0ec25de7 Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Sat, 12 Apr 2025 04:17:59 +0800 Subject: [PATCH] refactor: Add GroupedListContent and enhance GroupedList components --- .../GroupedList/GroupedListContent.svelte | 14 ++++++++++++ .../GroupedList/GroupedListSection.svelte | 22 +++++++++++++------ .../(app)/settings/account/new/+page.svelte | 21 ++++++++---------- 3 files changed, 38 insertions(+), 19 deletions(-) create mode 100644 src/lib/components/GroupedList/GroupedListContent.svelte diff --git a/src/lib/components/GroupedList/GroupedListContent.svelte b/src/lib/components/GroupedList/GroupedListContent.svelte new file mode 100644 index 0000000..d426eb4 --- /dev/null +++ b/src/lib/components/GroupedList/GroupedListContent.svelte @@ -0,0 +1,14 @@ + + +
+ {@render children?.()} +
diff --git a/src/lib/components/GroupedList/GroupedListSection.svelte b/src/lib/components/GroupedList/GroupedListSection.svelte index fc7cdb4..94bd496 100644 --- a/src/lib/components/GroupedList/GroupedListSection.svelte +++ b/src/lib/components/GroupedList/GroupedListSection.svelte @@ -1,8 +1,8 @@