Skip to content

Commit caf890a

Browse files
committed
feat(stories): add planets stories
1 parent bab5202 commit caf890a

9 files changed

Lines changed: 253 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Aws } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Aws',
9+
component: Aws,
10+
11+
parameters: {
12+
layout: 'centered',
13+
},
14+
tags: ['autodocs', 'aws', 'planets', 'component'],
15+
argTypes: {
16+
className: {
17+
name: 'Class Name',
18+
description: 'Tailwind class name.',
19+
type: 'string',
20+
},
21+
},
22+
} satisfies Meta<typeof Aws>
23+
24+
export default meta
25+
type Story = StoryObj<typeof meta>
26+
27+
export const Default: Story = {
28+
args: {},
29+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Docker } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Docker',
9+
component: Docker,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'docker', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Docker>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Jest } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Jest',
9+
component: Jest,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'jest', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Jest>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { MongoDB } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/MongoDB',
9+
component: MongoDB,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'mongodb', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof MongoDB>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { NextJs } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/NextJs',
9+
component: NextJs,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'aws', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof NextJs>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Node } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Node',
9+
component: Node,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'node', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Node>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Playwright } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Playwright',
9+
component: Playwright,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'playwright', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Playwright>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Postgres } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Postgres',
9+
component: Postgres,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'postgres', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Postgres>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type { Meta, StoryObj } from '@storybook/react'
2+
3+
import { Planets } from '@/components/Planets'
4+
5+
const { Tailwind } = Planets
6+
7+
const meta = {
8+
title: 'Design System/Components/Planets/Tailwind',
9+
component: Tailwind,
10+
parameters: {
11+
layout: 'centered',
12+
},
13+
tags: ['autodocs', 'tailwind', 'planets', 'component'],
14+
argTypes: {
15+
className: {
16+
name: 'Class Name',
17+
description: 'Tailwind class name.',
18+
type: 'string',
19+
},
20+
},
21+
} satisfies Meta<typeof Tailwind>
22+
23+
export default meta
24+
type Story = StoryObj<typeof meta>
25+
26+
export const Default: Story = {
27+
args: {},
28+
}

0 commit comments

Comments
 (0)