Skip to content

Commit

Permalink
docs: refactor import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Dec 18, 2024
1 parent d07602e commit 739b088
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 0 additions & 2 deletions packages/api/.storybook/preview.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/** @type { import('@storybook/react').Preview } */
import "./styles.css";
import "@versini/ui-button/dist/style.css";
import "@versini/ui-pill/dist/style.css";

const preview = {
parameters: {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/stories/Bubble.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";
import { Bubble } from "@versini/ui-bubble/src/components";
import "@versini/ui-pill/dist/style.css";

import "@versini/ui-bubble/dist/style.css";
import { Bubble } from "../../../ui-bubble/src/components";

type Story = StoryObj<typeof Bubble>;

Expand Down
3 changes: 2 additions & 1 deletion packages/api/src/stories/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { Meta, StoryObj } from "@storybook/react";
import { fn } from "@storybook/test";

import { Button } from "@versini/ui-button/src/components";
import "@versini/ui-button/dist/style.css";
import { Button } from "../../../ui-button/src/components";

type Story = StoryObj<typeof Button>;

Expand Down
4 changes: 3 additions & 1 deletion packages/api/src/stories/ButtonIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { Meta, StoryObj } from "@storybook/react";
import { fn } from "@storybook/test";

import { ButtonIcon } from "@versini/ui-button/src/components";
import "@versini/ui-button/dist/style.css";
import { ButtonIcon } from "../../../ui-button/src/components";

import {
IconEdit,
IconNext,
Expand Down
3 changes: 2 additions & 1 deletion packages/api/src/stories/ButtonLink.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { Meta, StoryObj } from "@storybook/react";
import { fn } from "@storybook/test";

import { ButtonLink } from "@versini/ui-button/src/components";
import "@versini/ui-button/dist/style.css";
import { ButtonLink } from "../../../ui-button/src/components";

type Story = StoryObj<typeof ButtonLink>;

Expand Down

0 comments on commit 739b088

Please sign in to comment.