Skip to content

Commit

Permalink
docs(layout-v5): add legacy title
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Aug 13, 2024
1 parent f1769a2 commit 60f565d
Show file tree
Hide file tree
Showing 46 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutAppAnalytics } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/App/Analytics",
title: "Layout v5 (LEGACY)/App/Analytics",
component: LayoutAppAnalytics,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-app-analytics/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5AppAnalytics?raw";

<Meta title="Layout v5/App/Analytics" />
<Meta title="Layout v5 (LEGACY)/App/Analytics" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutAppMessenger } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/App/Messenger",
title: "Layout v5 (LEGACY)/App/Messenger",
component: LayoutAppMessenger,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-app-messenger/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5AppMessenger?raw";

<Meta title="Layout v5/App/Messenger" />
<Meta title="Layout v5 (LEGACY)/App/Messenger" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutAppReactLegacy } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/App/ReactLegacy",
title: "Layout v5 (LEGACY)/App/ReactLegacy",
component: LayoutAppReactLegacy,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-app-reactLegacy/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5AppReactLegacy?raw";

<Meta title="Layout v5/App/ReactLegacy" />
<Meta title="Layout v5 (LEGACY)/App/ReactLegacy" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutAppShoppingCart } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/App/ShoppingCart",
title: "Layout v5 (LEGACY)/App/ShoppingCart",
component: LayoutAppShoppingCart,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-app-shoppingCart/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5AppShoppingCart?raw";

<Meta title="Layout v5/App/ShoppingCart" />
<Meta title="Layout v5 (LEGACY)/App/ShoppingCart" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleControlEdgeSidebar } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/ControlEdgeSidebar",
title: "Layout v5 (LEGACY)/Example/ControlEdgeSidebar",
component: LayoutExampleControlEdgeSidebar,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-controlEdgeSidebar/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleControlEdgeSidebar?raw";

<Meta title="Layout v5/Example/ControlEdgeSidebar" />
<Meta title="Layout v5 (LEGACY)/Example/ControlEdgeSidebar" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleGlobalTheme } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/GlobalTheme",
title: "Layout v5 (LEGACY)/Example/GlobalTheme",
component: LayoutExampleGlobalTheme,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-globalTheme/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleGlobalTheme?raw";

<Meta title="Layout v5/Example/GlobalTheme" />
<Meta title="Layout v5 (LEGACY)/Example/GlobalTheme" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleInsetSidebarPosition } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/InsetSidebarPosition",
title: "Layout v5 (LEGACY)/Example/InsetSidebarPosition",
component: LayoutExampleInsetSidebarPosition,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-insetSidebarPosition/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleInsetSidebarPosition?raw";

<Meta title="Layout v5/Example/InsetSidebarPosition" />
<Meta title="Layout v5 (LEGACY)/Example/InsetSidebarPosition" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleMultipleHeaders } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/MultipleHeaders",
title: "Layout v5 (LEGACY)/Example/MultipleHeaders",
component: LayoutExampleMultipleHeaders,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-multipleHeaders/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleMultipleHeaders?raw";

<Meta title="Layout v5/Example/MultipleHeaders" />
<Meta title="Layout v5 (LEGACY)/Example/MultipleHeaders" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleRightEdgeSidebar } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/RightEdgeSidebar",
title: "Layout v5 (LEGACY)/Example/RightEdgeSidebar",
component: LayoutExampleRightEdgeSidebar,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-rightEdgeSidebar/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleRightEdgeSidebar?raw";

<Meta title="Layout v5/Example/RightEdgeSidebar" />
<Meta title="Layout v5 (LEGACY)/Example/RightEdgeSidebar" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutExampleRtl } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Example/Right-to-Left",
title: "Layout v5 (LEGACY)/Example/Right-to-Left",
component: LayoutExampleRtl,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-example-rtl/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5ExampleRtl?raw";

<Meta title="Layout v5/Example/Right-to-Left" />
<Meta title="Layout v5 (LEGACY)/Example/Right-to-Left" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutPresetContentBased } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Preset/ContentBased",
title: "Layout v5 (LEGACY)/Preset/ContentBased",
component: LayoutPresetContentBased,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-preset-contentBased/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5PresetContentBased?raw";

<Meta title="Layout v5/Preset/ContentBased" />
<Meta title="Layout v5 (LEGACY)/Preset/ContentBased" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutPresetCozy } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Preset/Cozy",
title: "Layout v5 (LEGACY)/Preset/Cozy",
component: LayoutPresetCozy,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-preset-cozy/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5PresetCozy?raw";

<Meta title="Layout v5/Preset/Cozy" />
<Meta title="Layout v5 (LEGACY)/Preset/Cozy" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutPresetFixed } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Preset/Fixed",
title: "Layout v5 (LEGACY)/Preset/Fixed",
component: LayoutPresetFixed,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-preset-fixed/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5PresetFixed?raw";

<Meta title="Layout v5/Preset/Fixed" />
<Meta title="Layout v5 (LEGACY)/Preset/Fixed" />

## CLI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LayoutPresetStandard } from "./index";
import Usage from "./usage.mdx";

const meta = {
title: "Layout v5/Preset/Standard",
title: "Layout v5 (LEGACY)/Preset/Standard",
component: LayoutPresetStandard,
parameters: {
layout: "fullscreen",
Expand Down
2 changes: 1 addition & 1 deletion blocks/layout-v5-preset-standard/usage.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Source } from "@storybook/blocks";
import raw from "./LayoutV5PresetStandard?raw";

<Meta title="Layout v5/Preset/Standard" />
<Meta title="Layout v5 (LEGACY)/Preset/Standard" />

## CLI

Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/Installation.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/blocks";

<Meta title="Layout v5/Installation" />
<Meta title="Layout v5 (LEGACY)/Installation" />

<style>{`
.sbdocs.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/configuration/edgeSidebar-config.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Configuration/EdgeSidebar" />
<Meta title="Layout v5 (LEGACY)/Configuration/EdgeSidebar" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/configuration/header-config.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Configuration/Header" />
<Meta title="Layout v5 (LEGACY)/Configuration/Header" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/configuration/insetSidebar-config.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Configuration/InsetSidebar" />
<Meta title="Layout v5 (LEGACY)/Configuration/InsetSidebar" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/configuration/overall-config.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Configuration/Overall" />
<Meta title="Layout v5 (LEGACY)/Configuration/Overall" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/core-concept.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/blocks";

<Meta title="Layout v5/Core Concept" />
<Meta title="Layout v5 (LEGACY)/Core Concept" />

<style>{`
.sbdocs.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/feature/auto-collapse.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Auto-collapse" />
<Meta title="Layout v5 (LEGACY)/Feature/Auto-collapse" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/feature/header-magnet.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Header Magnet" />
<Meta title="Layout v5 (LEGACY)/Feature/Header Magnet" />

<style>{`
.sbdocs-content {
Expand Down
4 changes: 2 additions & 2 deletions docs/layout-v5/feature/multiple-headers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Multiple Headers" />
<Meta title="Layout v5 (LEGACY)/Feature/Multiple Headers" />

<style>{`
.sbdocs-content {
Expand Down Expand Up @@ -104,7 +104,7 @@ Now if you refresh the page, you will see that subheader appear again. To fix th

function App() {
const [hidden, setHidden] = React.useState(
localStorage.getItem("topHeaderHidden") === "true"
localStorage.getItem("topHeaderHidden") === "true",
);

const onHideTopHeader = () => {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/feature/persistent-behavior.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Persistent Behavior" />
<Meta title="Layout v5 (LEGACY)/Feature/Persistent Behavior" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/feature/right-to-left.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Right to Left" />
<Meta title="Layout v5 (LEGACY)/Feature/Right to Left" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/feature/uncollapsed-on-hover.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Canvas, Meta, Story } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Feature/Uncollapsed on Hover" />
<Meta title="Layout v5 (LEGACY)/Feature/Uncollapsed on Hover" />

<style>{`
.sbdocs-content {
Expand Down
4 changes: 2 additions & 2 deletions docs/layout-v5/layout-intro.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Meta } from "@storybook/blocks";

<Meta title="Layout v5/Introduction" />
<Meta title="Layout v5 (LEGACY)/Introduction" />

<style>{`
.sbdocs.sbdocs-content {
max-width: 720px;
}
`}</style>

# Layout V5
# Layout v5 (LEGACY)

Built for `material-ui v5`. This library exposes a group of enhanced Material UI components to build modern-web layout instantly.

Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/migration-v5.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/blocks";

<Meta title="Layout v5/Migration to v5" />
<Meta title="Layout v5 (LEGACY)/Migration to v5" />

<style>{`
.sbdocs-content {
Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/starter-templates.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/blocks";

<Meta title="Layout v5/Starter Templates" />
<Meta title="Layout v5 (LEGACY)/Starter Templates" />

# Starter Templates

Expand Down
2 changes: 1 addition & 1 deletion docs/layout-v5/tutorial/blog-layout.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from "@storybook/addon-docs/blocks";

<Meta title="Layout v5/Tutorials/Blog" />
<Meta title="Layout v5 (LEGACY)/Tutorials/Blog" />

<style>{`
.sbdocs-content {
Expand Down
Loading

0 comments on commit 60f565d

Please sign in to comment.