From 07e540651653a6980ae9470cf582fcdb3ab49316 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Tue, 26 Nov 2024 22:55:01 +0100 Subject: [PATCH] fix stories --- src/components/Anchor/Anchor.stories.jsx | 2 +- src/components/EditGrid/EditGrid.stories.jsx | 2 +- src/components/EditGrid/EditGridItem.stories.jsx | 2 +- .../EmailVerification/EmailVerificationForm.stories.jsx | 2 +- .../EmailVerification/EmailVerificationModal.stories.jsx | 2 +- src/components/FormStep/FormStep.stories.jsx | 2 +- src/components/FormStepSummary/FormStepSummary.stories.jsx | 2 +- src/components/IntroductionPage/IntroductionPage.stories.jsx | 2 +- src/components/LanguageSelection/LanguageSelection.stories.jsx | 2 +- src/components/LoginOptions/LoginOptions.stories.jsx | 2 +- src/components/Map/Map.stories.jsx | 2 +- src/components/ProgressIndicator/ProgressIndicator.stories.jsx | 2 +- src/components/SummaryProgress/SummaryProgress.stories.jsx | 2 +- src/components/formio/index.stories.jsx | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Anchor/Anchor.stories.jsx b/src/components/Anchor/Anchor.stories.jsx index f6f11885a..0263be677 100644 --- a/src/components/Anchor/Anchor.stories.jsx +++ b/src/components/Anchor/Anchor.stories.jsx @@ -1,4 +1,4 @@ -import Anchor, {ANCHOR_MODIFIERS} from '.'; +import Anchor, {ANCHOR_MODIFIERS} from './index'; export default { title: 'Pure React components / Anchor', diff --git a/src/components/EditGrid/EditGrid.stories.jsx b/src/components/EditGrid/EditGrid.stories.jsx index af7e7a818..5547ac299 100644 --- a/src/components/EditGrid/EditGrid.stories.jsx +++ b/src/components/EditGrid/EditGrid.stories.jsx @@ -3,7 +3,7 @@ import {fn} from '@storybook/test'; import Body from 'components/Body'; import {OFButton} from 'components/Button'; -import {EditGrid, EditGridButtonGroup, EditGridItem} from '.'; +import {EditGrid, EditGridButtonGroup, EditGridItem} from './index'; export default { title: 'Pure React components / EditGrid / EditGrid', diff --git a/src/components/EditGrid/EditGridItem.stories.jsx b/src/components/EditGrid/EditGridItem.stories.jsx index d63ceca57..0cf294383 100644 --- a/src/components/EditGrid/EditGridItem.stories.jsx +++ b/src/components/EditGrid/EditGridItem.stories.jsx @@ -1,7 +1,7 @@ import Body from 'components/Body'; import {OFButton} from 'components/Button'; -import {EditGridButtonGroup, EditGridItem as EditGridItemComponent} from '.'; +import {EditGridButtonGroup, EditGridItem as EditGridItemComponent} from './index'; export default { title: 'Pure React components / EditGrid / Item', diff --git a/src/components/EmailVerification/EmailVerificationForm.stories.jsx b/src/components/EmailVerification/EmailVerificationForm.stories.jsx index 3bc0f4f10..405f6e706 100644 --- a/src/components/EmailVerification/EmailVerificationForm.stories.jsx +++ b/src/components/EmailVerification/EmailVerificationForm.stories.jsx @@ -4,7 +4,7 @@ import {withRouter} from 'storybook-addon-remix-react-router'; import {BASE_URL} from 'api-mocks'; import {ConfigDecorator} from 'story-utils/decorators'; -import {EmailVerificationForm} from '.'; +import {EmailVerificationForm} from './index'; import { mockEmailVerificationErrorPost, mockEmailVerificationPost, diff --git a/src/components/EmailVerification/EmailVerificationModal.stories.jsx b/src/components/EmailVerification/EmailVerificationModal.stories.jsx index 42299cfee..b403f72c7 100644 --- a/src/components/EmailVerification/EmailVerificationModal.stories.jsx +++ b/src/components/EmailVerification/EmailVerificationModal.stories.jsx @@ -3,7 +3,7 @@ import {fn} from '@storybook/test'; import {BASE_URL} from 'api-mocks'; import {ConfigDecorator} from 'story-utils/decorators'; -import {EmailVerificationModal} from '.'; +import {EmailVerificationModal} from './index'; import {mockEmailVerificationPost, mockEmailVerificationVerifyCodePost} from './mocks'; export default { diff --git a/src/components/FormStep/FormStep.stories.jsx b/src/components/FormStep/FormStep.stories.jsx index b1cfb717e..f5fb10926 100644 --- a/src/components/FormStep/FormStep.stories.jsx +++ b/src/components/FormStep/FormStep.stories.jsx @@ -12,7 +12,7 @@ import { import {AnalyticsToolsDecorator, ConfigDecorator} from 'story-utils/decorators'; import {sleep} from 'utils'; -import FormStep from '.'; +import FormStep from './index'; import { getSubmissionStepDetail, mockSubmissionLogicCheckPost, diff --git a/src/components/FormStepSummary/FormStepSummary.stories.jsx b/src/components/FormStepSummary/FormStepSummary.stories.jsx index 9c834320c..eac37a508 100644 --- a/src/components/FormStepSummary/FormStepSummary.stories.jsx +++ b/src/components/FormStepSummary/FormStepSummary.stories.jsx @@ -1,7 +1,7 @@ import {expect, within} from '@storybook/test'; import {withRouter} from 'storybook-addon-remix-react-router'; -import FormStepSummary from '.'; +import FormStepSummary from './index'; export default { title: 'Private API / FormStepSummary', diff --git a/src/components/IntroductionPage/IntroductionPage.stories.jsx b/src/components/IntroductionPage/IntroductionPage.stories.jsx index 1fb5ad3d4..baf53848e 100644 --- a/src/components/IntroductionPage/IntroductionPage.stories.jsx +++ b/src/components/IntroductionPage/IntroductionPage.stories.jsx @@ -4,7 +4,7 @@ import {withRouter} from 'storybook-addon-remix-react-router'; import {buildForm} from 'api-mocks'; import {withForm} from 'story-utils/decorators'; -import IntroductionPage from '.'; +import IntroductionPage from './index'; const DEFAULT_CONTENT = `

Voorwaarden

diff --git a/src/components/LanguageSelection/LanguageSelection.stories.jsx b/src/components/LanguageSelection/LanguageSelection.stories.jsx index ea44a058e..b24929459 100644 --- a/src/components/LanguageSelection/LanguageSelection.stories.jsx +++ b/src/components/LanguageSelection/LanguageSelection.stories.jsx @@ -7,7 +7,7 @@ import ErrorBoundary from 'components/Errors/ErrorBoundary'; import {I18NContext} from 'i18n'; import {ConfigDecorator} from 'story-utils/decorators'; -import {LanguageSelection, LanguageSelectionDisplay} from '.'; +import {LanguageSelection, LanguageSelectionDisplay} from './index'; import { DEFAULT_LANGUAGES, mockInvalidLanguageChoicePut, diff --git a/src/components/LoginOptions/LoginOptions.stories.jsx b/src/components/LoginOptions/LoginOptions.stories.jsx index 96a8789bf..a0753b01b 100644 --- a/src/components/LoginOptions/LoginOptions.stories.jsx +++ b/src/components/LoginOptions/LoginOptions.stories.jsx @@ -4,8 +4,8 @@ import {withRouter} from 'storybook-addon-remix-react-router'; import {buildForm} from 'api-mocks'; import {LiteralDecorator} from 'story-utils/decorators'; -import LoginOptions from '.'; import LoginOptionsDisplay from './LoginOptionsDisplay'; +import LoginOptions from './index'; export default { title: 'Composites / Login Options', diff --git a/src/components/Map/Map.stories.jsx b/src/components/Map/Map.stories.jsx index 578cbe13c..3d9c8f100 100644 --- a/src/components/Map/Map.stories.jsx +++ b/src/components/Map/Map.stories.jsx @@ -2,7 +2,7 @@ import {userEvent, within} from '@storybook/test'; import {ConfigDecorator} from 'story-utils/decorators'; -import LeafletMap from '.'; +import LeafletMap from './index'; import {mockAddressSearchGet, mockLatLngSearchEmptyGet, mockLatLngSearchGet} from './mocks'; const withMapLayout = Story => ( diff --git a/src/components/ProgressIndicator/ProgressIndicator.stories.jsx b/src/components/ProgressIndicator/ProgressIndicator.stories.jsx index 79cf6a6d1..a68802977 100644 --- a/src/components/ProgressIndicator/ProgressIndicator.stories.jsx +++ b/src/components/ProgressIndicator/ProgressIndicator.stories.jsx @@ -2,7 +2,7 @@ import {MINIMAL_VIEWPORTS} from '@storybook/addon-viewport'; import {expect, userEvent, within} from '@storybook/test'; import {withRouter} from 'storybook-addon-remix-react-router'; -import ProgressIndicator from '.'; +import ProgressIndicator from './index'; export default { title: 'Private API / ProgressIndicator', diff --git a/src/components/SummaryProgress/SummaryProgress.stories.jsx b/src/components/SummaryProgress/SummaryProgress.stories.jsx index 206aadb25..8545f0e55 100644 --- a/src/components/SummaryProgress/SummaryProgress.stories.jsx +++ b/src/components/SummaryProgress/SummaryProgress.stories.jsx @@ -1,6 +1,6 @@ import {withRouter} from 'storybook-addon-remix-react-router'; -import SummaryProgress from '.'; +import SummaryProgress from './index'; export default { title: 'Private API / SummaryProgress', diff --git a/src/components/formio/index.stories.jsx b/src/components/formio/index.stories.jsx index 9881ce31a..c4d8a64e1 100644 --- a/src/components/formio/index.stories.jsx +++ b/src/components/formio/index.stories.jsx @@ -1,6 +1,6 @@ import {FormikDecorator} from 'story-utils/decorators'; -import {FormioComponent} from '.'; +import {FormioComponent} from './index'; export default { title: 'Private API / Formio',