From fb96f5298cfff797d8e46b113fb6b406f0d80065 Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Tue, 3 Sep 2024 13:53:07 +0200 Subject: [PATCH] build: remove chromatic artifacts --- .gitignore | 1 - .storybook/preview-head.html | 17 +- .storybook/preview.ts | 53 +++--- docs/CODING_STANDARDS.md | 3 +- docs/REVIEW.md | 4 +- eslint.config.js | 1 - package.json | 3 - scripts/chromatic-stories-generator.ts | 156 ------------------ .../journey-summary.stories.ts | 3 +- .../pearl-chain-time.stories.ts | 3 +- .../pearl-chain-vertical.stories.ts | 3 +- .../pearl-chain/pearl-chain.stories.ts | 3 +- .../timetable-row/timetable-row.stories.ts | 3 +- src/elements-experimental/tsconfig.json | 3 +- .../autocomplete-grid-button.stories.ts | 48 +----- .../autocomplete-grid-option.stories.ts | 17 -- .../autocomplete-grid.stories.ts | 41 ----- .../autocomplete/autocomplete.stories.ts | 46 +----- .../button/button-link/button-link.stories.ts | 7 - .../button-static/button-static.stories.ts | 7 - src/elements/button/button/button.stories.ts | 7 - src/elements/button/common/common-stories.ts | 19 +-- .../secondary-button-link.stories.ts | 7 - .../secondary-button-static.stories.ts | 7 - .../secondary-button.stories.ts | 7 - .../tertiary-button-link.stories.ts | 7 - .../tertiary-button-static.stories.ts | 7 - .../tertiary-button.stories.ts | 7 - .../transparent-button-link.stories.ts | 7 - .../transparent-button-static.stories.ts | 7 - .../transparent-button.stories.ts | 7 - src/elements/calendar/calendar.stories.ts | 49 +----- .../card/card-button/card-button.stories.ts | 1 - .../card/card-link/card-link.stories.ts | 1 - src/elements/clock/clock.stories.ts | 10 +- .../container/container/container.stories.ts | 19 --- .../sticky-bar/sticky-bar.stories.ts | 13 +- .../datepicker-toggle.stories.ts | 40 +---- .../datepicker/datepicker.stories.ts | 32 +--- src/elements/dialog/dialog/dialog.stories.ts | 37 +---- .../expansion-panel-content.stories.ts | 1 - .../expansion-panel-header.stories.ts | 1 - .../file-selector/file-selector.stories.ts | 40 +---- src/elements/footer/footer.stories.ts | 8 +- .../form-field/form-field.stories.ts | 52 +----- src/elements/header/header/header.stories.ts | 29 +--- src/elements/image/image.stories.ts | 1 - src/elements/logo/logo.stories.ts | 3 - .../map-container/map-container.stories.ts | 1 - src/elements/menu/menu/menu.scss | 2 +- src/elements/menu/menu/menu.stories.ts | 34 +--- .../navigation-section.scss | 4 +- .../navigation-section.stories.ts | 31 +--- .../navigation/navigation/navigation.scss | 4 +- .../navigation/navigation.stories.ts | 43 +---- .../notification/notification.stories.ts | 2 - src/elements/option/option/option.stories.ts | 17 -- src/elements/overlay/overlay.stories.ts | 37 +---- .../popover-trigger.stories.ts | 32 +--- .../popover/popover/popover.stories.ts | 50 +----- src/elements/select/select.stories.ts | 54 +----- src/elements/select/select.ts | 52 +++--- .../selection-expansion-panel.stories.ts | 1 - src/elements/signet/signet.stories.ts | 3 - .../skiplink-list/skiplink-list.stories.ts | 19 +-- .../teaser-hero/teaser-hero.stories.ts | 1 - .../timetable-occupancy.stories.ts | 1 - src/elements/toast/toast.stories.ts | 31 +--- src/elements/tsconfig.json | 3 +- .../pages/home/home--logged-in.stories.ts | 1 - src/storybook/pages/home/home.common.ts | 5 +- src/storybook/pages/home/home.stories.ts | 1 - src/storybook/styles/list/list.stories.ts | 1 - .../styles/scrollbar/scrollbar.stories.ts | 1 - .../styles/typography/typography.stories.ts | 24 --- src/storybook/testing/chromatic.ts | 73 -------- .../testing/wait-for-components-ready.ts | 13 -- .../testing/wait-for-stable-position.ts | 15 -- .../testing/with-background-decorator.ts | 42 ----- yarn.lock | 5 - 80 files changed, 118 insertions(+), 1333 deletions(-) delete mode 100644 scripts/chromatic-stories-generator.ts delete mode 100644 src/storybook/testing/chromatic.ts delete mode 100644 src/storybook/testing/wait-for-components-ready.ts delete mode 100644 src/storybook/testing/wait-for-stable-position.ts delete mode 100644 src/storybook/testing/with-background-decorator.ts diff --git a/.gitignore b/.gitignore index bce4206f1a..421318fa87 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ log.txt *.sublime-project *.sublime-workspace -**/*.chromatic.stories.* package-lock.json .idea/ diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 19cce4138c..8721ec8e0a 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -54,7 +54,7 @@