diff options
| author | Adam Malczewski <[email protected]> | 2026-06-07 14:35:53 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-07 14:35:53 +0900 |
| commit | 34bed91f2e0ee2484df6be9d2fc8742f64b24941 (patch) | |
| tree | babf67ec1b744ea0f8845627ec54bb55c100cdf4 /src/features/tabs/index.ts | |
| parent | 7769c61faea446d4bd2ae6d400314aa433d405e8 (diff) | |
| download | dispatch-web-34bed91f2e0ee2484df6be9d2fc8742f64b24941.tar.gz dispatch-web-34bed91f2e0ee2484df6be9d2fc8742f64b24941.zip | |
feat(tabs): extract TabBar component with horizontal scroll + sticky end '+'
Move inline tab-bar markup from the composition root into a thin
presentational TabBar in the tabs feature (feature-as-a-library: pure
reducer -> reactive store -> UI). Adds overflow-x scroll (min-w-max strip)
and a sticky right-pinned new-chat '+' that floats over scrolling tabs.
Draft-on-select / create-on-send behavior unchanged.
Diffstat (limited to 'src/features/tabs/index.ts')
| -rw-r--r-- | src/features/tabs/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/tabs/index.ts b/src/features/tabs/index.ts index c01d4ac..835788a 100644 --- a/src/features/tabs/index.ts +++ b/src/features/tabs/index.ts @@ -12,3 +12,4 @@ export { } from "./tabs"; export type { TabsStorage, TabsStore } from "./tabs-store.svelte"; export { createTabsStore } from "./tabs-store.svelte"; +export { default as TabBar } from "./ui/TabBar.svelte"; |
