chore(storybook): localize sidebar menus and hide unused stories

This commit is contained in:
shkim4 committed 2026-11-09 19:58:38 +09:00
1 parent 2e203627c5
commit 237866385a
7 files changed
+95 -4

No files matched your search

+2
View File
@@ -27,6 +27,8 @@ function SpecimenGrid({ states }: { states: BoardState[] }) {
const meta = {
title: "Components/Form/Label",
// `internal` keeps it out of the sidebar by default; Story IDs and direct URLs stay valid.
tags: ["internal"],
component: Label,
parameters: {
layout: "padded",
+2 -1
View File
@@ -116,7 +116,8 @@ function Sizes() {
}
// No `component`: ToggleGroup props are a union (single | multiple), so Stories without args would not type-check.
const meta = { title: "Components/Form/Toggle Group", parameters: { layout: "padded" } } satisfies Meta
// `internal` keeps it out of the sidebar by default; Story IDs and direct URLs stay valid.
const meta = { title: "Components/Form/Toggle Group", tags: ["internal"], parameters: { layout: "padded" } } satisfies Meta
export default meta
type Story = StoryObj<typeof meta>
+2 -1
View File
@@ -22,7 +22,8 @@ function Fullscreen() {
)
}
const meta = { title: "Patterns/Layout/Loading Screen", parameters: { layout: "padded", controls: { disable: true } } } satisfies Meta
// `internal` keeps it out of the sidebar by default; Story IDs and direct URLs stay valid.
const meta = { title: "Patterns/Layout/Loading Screen", tags: ["internal"], parameters: { layout: "padded", controls: { disable: true } } } satisfies Meta
export default meta
type Story = StoryObj<typeof meta>
+2
View File
@@ -116,6 +116,8 @@ function FitToPanel({ children }: { children: ReactNode }) {
/** The sidebar Story: the logo menu of SWHeader (SW normal mode) with its Figma states and sub panel (the Escape stack demo is the hidden Integration Story). */
export const HomeMenu: Story = {
name: "Home Menu",
// `internal` keeps it out of the sidebar by default; Story ID and direct URL stay valid.
tags: ["internal"],
render: () => (
<StoryPage>
<StoryPageHeader title="Home Menu — 로고(홈) 버튼 메뉴" description="SW 일반 모드 전용(뷰어 모드 미적용) · 로고 클릭으로 열고 닫기 · 상세 동작은 SW AI 가이드 COMPONENT_CATALOG" />
+2
View File
@@ -453,6 +453,8 @@ const LOGO_CASES: { title: string; props: Partial<SWHeaderProps> }[] = [
export const LogoSlot: Story = {
name: "로고",
// `internal` keeps it out of the sidebar by default; Story ID and direct URL stay valid.
tags: ["internal"],
parameters: { controls: { disable: true } },
render: () => (
<StoryPage>