Skip to content

Commit

Permalink
Tried to set up storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasStrom committed Nov 14, 2024
1 parent fc8b7b2 commit 6b3b9e6
Show file tree
Hide file tree
Showing 153 changed files with 65,936 additions and 12 deletions.
16 changes: 16 additions & 0 deletions src/components/ui/button.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Meta, StoryObj } from '@storybook/react';

import { Button } from './button';

const meta: Meta<typeof Button> = {
component: Button,
};

export default meta;
type Story = StoryObj<typeof Button>;

export const Primary: Story = {
args: {
variant: "default",
},
};
23 changes: 11 additions & 12 deletions src/components/ui/separator.stories.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import type { Meta, StoryObj } from '@storybook/react';

import { Separator } from './separator';
const meta: Meta<typeof Separator> = {

const meta: Meta = {
component: Separator,
};
export default meta;
type Story = StoryObj<typeof Separator>;

type Story = StoryObj;

export const Basic: Story = {};
// export const Primary: Story = {
// args: {
// primary: true,
// },
// };

export const Primary: Story = {
args: {
primary: true,
},
};
12 changes: 12 additions & 0 deletions src/components/ui/stories/icons.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { meta } from "@storybook/blocks";
import { ColorPalette, Coloritem } from "@storybook/blocks";

<meta title="System/Colors" />

<ColorPalette>
<ColorItem
title="Apple"
subtitle="A delicious brand color."
colors={{ Apple: "#66bf3c" }}
/>
</ColorPalette>
4 changes: 4 additions & 0 deletions storybook-static/.well-known/security.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contact: mailto:[email protected]
Expires: 2028-01-03T23:00:00.000Z
Preferred-Languages: en,no
Canonical: https://tihlde.org/.well-known/security.txt
1 change: 1 addition & 0 deletions storybook-static/assets/Color-ERTF36HU-zSQ7OPNz.js

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 2 additions & 0 deletions storybook-static/assets/DocsRenderer-CFRXHY34-nLmr5FuC.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
5 changes: 5 additions & 0 deletions storybook-static/assets/button.stories-a5prLMWF.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
1 change: 1 addition & 0 deletions storybook-static/assets/chunk-H6MOWX77-DTQOW814.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions storybook-static/assets/colors-nnDhxOiQ.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions storybook-static/assets/entry-preview-BsdXkE6_.js

Large diffs are not rendered by default.

Binary file not shown.
54 changes: 54 additions & 0 deletions storybook-static/assets/entry-preview-docs-DocRI-Q_.js

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 2 additions & 0 deletions storybook-static/assets/iframe-BS61bZ89.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added storybook-static/assets/iframe-BS61bZ89.js.br
Binary file not shown.
Loading

0 comments on commit 6b3b9e6

Please sign in to comment.