Skip to content

Commit

Permalink
docs(Modal): remove usage of index.ts for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Dec 5, 2024
1 parent 2c3b0fa commit 19e3135
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { ModalTip } from "./Modal.stories.helpers";
import { Overview as BasicModalPreview } from "../../layouts/ModalBasicLayout/__stories__/ModalBasicLayout.stories";
import { Overview as SideBySideModalPreview } from "../../layouts/ModalSideBySideLayout/__stories__/ModalSideBySideLayout.stories";
import { Overview as MediaModalPreview } from "../../layouts/ModalMediaLayout/__stories__/ModalMediaLayout.stories";
import { backdropDo, backdropDont, loadingDo, loadingDont, ctaDo, ctaDont } from "./assets";
import backdropDo from "./assets/backdrop-do.png";
import backdropDont from "./assets/backdrop-dont.png";
import loadingDo from "./assets/loading-do.png";
import loadingDont from "./assets/loading-dont.png";
import ctaDo from "./assets/cta-do.png";
import ctaDont from "./assets/cta-dont.png";
import styles from "./Modal.stories.module.scss";
import { StorybookLink } from "vibe-storybook-components";
import {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Meta } from "@storybook/blocks";
import * as ModalBasicLayoutStories from "./ModalBasicLayout.stories";
import { actionDo, actionDont } from "./assets";
import actionDo from "./assets/action-do.png";
import actionDont from "./assets/action-dont.png";
import styles from "../../../Modal/__stories__/Modal.stories.module.scss";
import {
MODAL_MEDIA_LAYOUT,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Meta } from "@storybook/blocks";
import * as MediaModalStories from "./ModalMediaLayout.stories";
import { ratioDo, ratioDont } from "./assets";
import ratioDo from "./assets/ratio-do.png";
import ratioDont from "./assets/ratio-dont.png";

import styles from "../../../Modal/__stories__/Modal.stories.module.scss";
import {
MODAL_BASIC_LAYOUT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createStoryMetaSettingsDecorator } from "../../../../../storybook";
import ModalHeader from "../../../ModalHeader/ModalHeader";
import ModalContent from "../../../ModalContent/ModalContent";
import ModalMedia from "../../ModalMedia";
import { mediaImage } from "./assets";
import mediaImage from "./assets/media-image.png";
import ModalFooter from "../../../footers/ModalFooter/ModalFooter";
import ModalMediaLayout from "../ModalMediaLayout";
import Text from "../../../../Text/Text";
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { Meta } from "@storybook/blocks";
import * as SideBySideModalStories from "./ModalSideBySideLayout.stories";
import { breakdownDo, breakdownDont, columnsDo, columnsDont, wizardDo, wizardDont } from "./assets";
import breakdownDo from "./assets/breakdown-do.png";
import breakdownDont from "./assets/breakdown-dont.png";
import columnsDo from "./assets/columns-do.png";
import columnsDont from "./assets/columns-dont.png";
import wizardDo from "./assets/wizard-do.png";
import wizardDont from "./assets/wizard-dont.png";
import styles from "../../../Modal/__stories__/Modal.stories.module.scss";
import {
MODAL_BASIC_LAYOUT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ModalHeader from "../../../ModalHeader/ModalHeader";
import ModalContent from "../../../ModalContent/ModalContent";
import ModalSideBySideLayout from "../ModalSideBySideLayout";
import ModalMedia from "../../ModalMedia";
import { mediaImage } from "./assets";
import mediaImage from "./assets/media-image.png";
import useWizard from "../../../../../hooks/useWizard/useWizard";
import TransitionView from "../../../../TransitionView/TransitionView";
import ModalFooterWizard from "../../../footers/ModalFooterWizard/ModalFooterWizard";
Expand Down

This file was deleted.

0 comments on commit 19e3135

Please sign in to comment.