diff --git a/.storybook/themes/spotify.css b/.storybook/themes/spotify.css
index 47706497d8..add82b87ab 100644
--- a/.storybook/themes/spotify.css
+++ b/.storybook/themes/spotify.css
@@ -258,19 +258,12 @@
}
.bui-PluginHeaderTabsWrapper {
- margin: 0;
padding: 0;
border: none;
background: none;
}
-}
-[data-theme-mode='light'][data-theme-name='spotify'] {
- .bui-HeaderToolbarWrapper {
- border: 1px solid var(--bui-border-2);
- }
-
- .bui-HeaderTabsWrapper {
- border: 1px solid var(--bui-border-2);
+ .bui-PluginHeaderTabsWrapper {
+ margin-left: -8px;
}
}
diff --git a/packages/ui/src/components/Header/Header.stories.tsx b/packages/ui/src/components/Header/Header.stories.tsx
index 0adfb43d55..82f0df7311 100644
--- a/packages/ui/src/components/Header/Header.stories.tsx
+++ b/packages/ui/src/components/Header/Header.stories.tsx
@@ -95,42 +95,6 @@ const withRouter = (Story: StoryFn) => (
);
-// Extract layout decorator as a reusable constant
-const layoutDecorator = [
- (Story: StoryFn) => (
- <>
-
-
-
-
-
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
- quos.
-
-
-
- >
- ),
-];
-
export const Default = meta.story({
args: {
title: 'Page Title',
@@ -208,10 +172,6 @@ export const WithEverything = meta.story({
),
});
-export const WithLayout = WithEverything.extend({
- decorators: [...layoutDecorator],
-});
-
export const WithTabsMatchingStrategies = meta.story({
args: {
title: 'Route Matching Demo',
diff --git a/packages/ui/src/components/PluginHeader/PluginHeader.stories.tsx b/packages/ui/src/components/PluginHeader/PluginHeader.stories.tsx
index faadd4fc67..815fadf6e7 100644
--- a/packages/ui/src/components/PluginHeader/PluginHeader.stories.tsx
+++ b/packages/ui/src/components/PluginHeader/PluginHeader.stories.tsx
@@ -119,11 +119,11 @@ export const WithCustomActions = meta.story({
{...args}
customActions={
<>
- } />
- } />
- } />
+ } />
+ } />
+ } />
- } />
+ } />
-
- }
- />
-
- >
- ),
-});
-
-// ---------------------------------------------------------------------------
-// Story: Security / compliance audit page
-// ---------------------------------------------------------------------------
-
-export const SecurityAuditPage = meta.story({
- decorators: [withLayout],
- render: () => (
- <>
- }
- title="Security"
- titleLink="/"
- tabs={[
- { id: 'overview', label: 'Overview', href: '/overview' },
- { id: 'vulnerabilities', label: 'Vulnerabilities', href: '/vulns' },
- { id: 'policies', label: 'Policies', href: '/policies' },
- { id: 'audits', label: 'Audits', href: '/audits' },
+ { id: 'builds', label: 'Builds', href: '/builds' },
+ { id: 'pipelines', label: 'Pipelines', href: '/pipelines' },
+ { id: 'deployments', label: 'Deployments', href: '/deployments' },
+ { id: 'settings', label: 'Settings', href: '/settings' },
]}
customActions={
<>
}
- aria-label="Refresh scan"
+ aria-label="Refresh"
/>
- }>
- Run scan
-
>
}
/>
}>
- Export report
+ Download logs
+
+ }>
+ Re-run pipeline
>
}
@@ -309,18 +256,3 @@ export const SecurityAuditPage = meta.story({
>
),
});
-
-// ---------------------------------------------------------------------------
-// Story: Minimal — no tabs, no actions
-// ---------------------------------------------------------------------------
-
-export const Minimal = meta.story({
- decorators: [withLayout],
- render: () => (
- <>
- } title="APIs" titleLink="/" />
-
-
- >
- ),
-});