From b363753dca1e631615156ad572353ca2a2391e34 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 21 Oct 2026 20:48:53 +0900 Subject: feat(tabs): GSAP Flip animation when subagents are summoned or tabs close --- src/features/tabs/ui/TabCard.svelte | 2 + src/features/tabs/ui/TabGroupBox.svelte | 19 +++- src/features/tabs/ui/TabList.svelte | 22 ++++- src/features/tabs/ui/tab-flip.ts | 157 ++++++++++++++++++++++++++++++++ 4 files changed, 193 insertions(+), 7 deletions(-) create mode 100644 src/features/tabs/ui/tab-flip.ts (limited to 'src/features/tabs/ui') diff --git a/src/features/tabs/ui/TabCard.svelte b/src/features/tabs/ui/TabCard.svelte index a95f8e6..ae891c0 100644 --- a/src/features/tabs/ui/TabCard.svelte +++ b/src/features/tabs/ui/TabCard.svelte @@ -1,4 +1,5 @@
-
+ +
{@render card(node.tab, true, node.children.length)} {#each node.children as child (child.tab.conversationId)} {#if child.children.length > 0} @@ -70,7 +79,7 @@ /* Opaque tint: the tone mixed into the sidebar's `.inset-well` colour (the surface the tab grid sits on), so nested boxes replace — never compound with — the colour around them. */ - .tab-group-box { + .tab-group-backdrop { background-color: color-mix( in oklab, var(--group-tone) 16%, diff --git a/src/features/tabs/ui/TabList.svelte b/src/features/tabs/ui/TabList.svelte index 06d5aa6..5bfabf6 100644 --- a/src/features/tabs/ui/TabList.svelte +++ b/src/features/tabs/ui/TabList.svelte @@ -1,4 +1,6 @@