Skip to content

Commit

Permalink
♻️ - refactor: attempt to fix PyCharm reporting import errors in stor…
Browse files Browse the repository at this point in the history
…y files
  • Loading branch information
svenvandescheur committed Feb 26, 2024
1 parent 66b7d12 commit 7de85e9
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/components/boolean/bool.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { expect, within } from "@storybook/test";
import React from "react";
import * as React from "react";

import { Body, H1, H2, H3, P } from "../typography";
import { Bool } from "./bool";
Expand Down
2 changes: 1 addition & 1 deletion src/components/breadcrumbs/breadcrumbs.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Page } from "../page";
import { Breadcrumbs } from "./breadcrumbs";
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Toolbar } from "../toolbar";
import { Button, ButtonLink } from "./button";
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/card.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Page } from "../page";
import { Body, P } from "../typography";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Grid } from "../../layout";
import { Column } from "../../layout/column";
Expand Down
2 changes: 1 addition & 1 deletion src/components/data/paginator/paginator.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { expect, userEvent, waitFor, within } from "@storybook/test";
import React from "react";
import * as React from "react";

import { allModes } from "../../../../.storybook/modes";
import { Page } from "../../page";
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/dropdown.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { expect, userEvent, waitFor, within } from "@storybook/test";
import React from "react";
import * as React from "react";

import { Button, ButtonLink } from "../button";
import { Outline } from "../icon";
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/form/form.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";
import { userEvent, within } from "@storybook/test";
import { Formik } from "formik";
import React from "react";
import * as React from "react";

import { formatMessage } from "../../../lib/i18n/formatmessage";
import { Form } from "./form";
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/input/input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { action } from "@storybook/addon-actions";
import type { Meta, StoryObj } from "@storybook/react";
import { expect, fn, userEvent, waitFor, within } from "@storybook/test";
import { Formik } from "formik";
import React from "react";
import * as React from "react";

import { Button } from "../../button";
import { Page } from "../../page";
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/select/select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { action } from "@storybook/addon-actions";
import type { Meta, StoryFn, StoryObj } from "@storybook/react";
import { expect, fn, userEvent, waitFor, within } from "@storybook/test";
import { Formik } from "formik";
import React from "react";
import * as React from "react";

import { Button } from "../../button";
import { Page } from "../../page";
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/icon.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Button, ButtonLink } from "../button";
import { Body, H1, H2, H3, P } from "../typography";
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/column/column.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Container } from "../container";
import { Grid } from "../grid";
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/grid/grid.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Container } from "../container";
import { Grid } from "./grid";
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/layout.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Column } from "./column";
import { Container } from "./container";
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/navbar.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { expect, userEvent, waitFor, within } from "@storybook/test";
import React from "react";
import * as React from "react";

import { allModes } from "../../../.storybook/modes";
import { Button, ButtonLink } from "../button";
Expand Down
2 changes: 1 addition & 1 deletion src/components/page/page.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Button, ButtonLink } from "../button";
import { Card } from "../card";
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/tabs.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Card } from "../card";
import { Page } from "../page";
Expand Down
2 changes: 1 addition & 1 deletion src/components/toolbar/toolbar.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Button, ButtonLink } from "../button";
import { Outline } from "../icon";
Expand Down
2 changes: 1 addition & 1 deletion src/components/tooltip/tooltip.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { Button } from "../button";
import { Outline } from "../icon";
Expand Down
2 changes: 1 addition & 1 deletion src/components/typography/99-typography.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta } from "@storybook/react";
import React from "react";
import * as React from "react";

import { H1 } from "./h1";
import { H2 } from "./h2";
Expand Down
2 changes: 1 addition & 1 deletion src/components/typography/body/body.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { A } from "../a";
import { H1 } from "../h1";
Expand Down
2 changes: 1 addition & 1 deletion src/components/typography/ol/ol.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { A } from "../a";
import { Li } from "../li";
Expand Down
2 changes: 1 addition & 1 deletion src/components/typography/ul/ul.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import * as React from "react";

import { A } from "../a";
import { Li } from "../li";
Expand Down

0 comments on commit 7de85e9

Please sign in to comment.