diff --git a/.storybook/main.ts b/.storybook/main.ts index f8f4a5b6a..8ba2919bc 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -24,6 +24,7 @@ const config = { '@storybook/addon-knobs', './addons/yaml-addon/preset', './addons/theme-addon/register.tsx', + 'storycap', ], webpackFinal: (storybookBaseConfig: any) => { storybookBaseConfig.plugins.push( diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index ca93546a3..d30c9e97d 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -5,6 +5,7 @@ import {MobileProvider, Platform} from '@gravity-ui/uikit'; import React from 'react'; import {MINIMAL_VIEWPORTS} from '@storybook/addon-viewport'; import type {Decorator, Preview} from '@storybook/react'; +import {withScreenshot} from 'storycap'; import {themeLight} from './theme/light'; import {PageConstructorProvider} from '../src/containers/PageConstructor/Provider'; import {withMobile} from './decorators/withMobile'; @@ -56,7 +57,13 @@ const withPageConstructorProvider: Decorator = (Story, context) => { }; const preview: Preview = { - decorators: [withLang, withMobile, withContextProvider, withPageConstructorProvider], + decorators: [ + withLang, + withMobile, + withContextProvider, + withPageConstructorProvider, + withScreenshot, + ], parameters: { layout: 'fullscreen', docs: { @@ -89,6 +96,10 @@ const preview: Preview = { method: 'alphabetical', }, }, + screenshot: { + fullPage: false, + delay: 2000, + }, }, globalTypes: { theme: { diff --git a/__screenshots__/Blocks/Banner/Dark Theme.png b/__screenshots__/Blocks/Banner/Dark Theme.png new file mode 100644 index 000000000..203891acf Binary files /dev/null and b/__screenshots__/Blocks/Banner/Dark Theme.png differ diff --git a/__screenshots__/Blocks/Banner/Default.png b/__screenshots__/Blocks/Banner/Default.png new file mode 100644 index 000000000..7962c3f68 Binary files /dev/null and b/__screenshots__/Blocks/Banner/Default.png differ diff --git a/__screenshots__/Blocks/CardLayout/Col Size.png b/__screenshots__/Blocks/CardLayout/Col Size.png new file mode 100644 index 000000000..0822fce44 Binary files /dev/null and b/__screenshots__/Blocks/CardLayout/Col Size.png differ diff --git a/__screenshots__/Blocks/CardLayout/Default.png b/__screenshots__/Blocks/CardLayout/Default.png new file mode 100644 index 000000000..0a2d17578 Binary files /dev/null and b/__screenshots__/Blocks/CardLayout/Default.png differ diff --git a/__screenshots__/Blocks/Companies/Default.png b/__screenshots__/Blocks/Companies/Default.png new file mode 100644 index 000000000..db24cf842 Binary files /dev/null and b/__screenshots__/Blocks/Companies/Default.png differ diff --git a/__screenshots__/Blocks/ContentLayout/Default.png b/__screenshots__/Blocks/ContentLayout/Default.png new file mode 100644 index 000000000..033693711 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/Default.png differ diff --git a/__screenshots__/Blocks/ContentLayout/Size.png b/__screenshots__/Blocks/ContentLayout/Size.png new file mode 100644 index 000000000..a4cbe16e1 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/Size.png differ diff --git a/__screenshots__/Blocks/ContentLayout/Text Align Center.png b/__screenshots__/Blocks/ContentLayout/Text Align Center.png new file mode 100644 index 000000000..f01d57179 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/Text Align Center.png differ diff --git a/__screenshots__/Blocks/ContentLayout/Text Width.png b/__screenshots__/Blocks/ContentLayout/Text Width.png new file mode 100644 index 000000000..319f994b4 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/Text Width.png differ diff --git a/__screenshots__/Blocks/ContentLayout/Theme.png b/__screenshots__/Blocks/ContentLayout/Theme.png new file mode 100644 index 000000000..3b5734591 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/Theme.png differ diff --git a/__screenshots__/Blocks/ContentLayout/With Background Color.png b/__screenshots__/Blocks/ContentLayout/With Background Color.png new file mode 100644 index 000000000..dff836a25 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/With Background Color.png differ diff --git a/__screenshots__/Blocks/ContentLayout/With Background Image And Color.png b/__screenshots__/Blocks/ContentLayout/With Background Image And Color.png new file mode 100644 index 000000000..9a2499791 Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/With Background Image And Color.png differ diff --git a/__screenshots__/Blocks/ContentLayout/With Files.png b/__screenshots__/Blocks/ContentLayout/With Files.png new file mode 100644 index 000000000..137f306ed Binary files /dev/null and b/__screenshots__/Blocks/ContentLayout/With Files.png differ diff --git a/__screenshots__/Blocks/ExtendedFeatures/Col Sizes.png b/__screenshots__/Blocks/ExtendedFeatures/Col Sizes.png new file mode 100644 index 000000000..73fdb2674 Binary files /dev/null and b/__screenshots__/Blocks/ExtendedFeatures/Col Sizes.png differ diff --git a/__screenshots__/Blocks/ExtendedFeatures/Default.png b/__screenshots__/Blocks/ExtendedFeatures/Default.png new file mode 100644 index 000000000..0fb4069da Binary files /dev/null and b/__screenshots__/Blocks/ExtendedFeatures/Default.png differ diff --git a/__screenshots__/Blocks/ExtendedFeatures/With Label.png b/__screenshots__/Blocks/ExtendedFeatures/With Label.png new file mode 100644 index 000000000..831a98515 Binary files /dev/null and b/__screenshots__/Blocks/ExtendedFeatures/With Label.png differ diff --git a/__screenshots__/Blocks/Filter Block/Default.png b/__screenshots__/Blocks/Filter Block/Default.png new file mode 100644 index 000000000..fe1fabb76 Binary files /dev/null and b/__screenshots__/Blocks/Filter Block/Default.png differ diff --git a/__screenshots__/Blocks/Filter Block/With Custom All Tag.png b/__screenshots__/Blocks/Filter Block/With Custom All Tag.png new file mode 100644 index 000000000..fefa0baa2 Binary files /dev/null and b/__screenshots__/Blocks/Filter Block/With Custom All Tag.png differ diff --git a/__screenshots__/Blocks/Filter Block/With Default All Tag.png b/__screenshots__/Blocks/Filter Block/With Default All Tag.png new file mode 100644 index 000000000..ae0427272 Binary files /dev/null and b/__screenshots__/Blocks/Filter Block/With Default All Tag.png differ diff --git a/__screenshots__/Blocks/Header/Background.png b/__screenshots__/Blocks/Header/Background.png new file mode 100644 index 000000000..a1fe52dcb Binary files /dev/null and b/__screenshots__/Blocks/Header/Background.png differ diff --git a/__screenshots__/Blocks/Header/Breadcrumbs.png b/__screenshots__/Blocks/Header/Breadcrumbs.png new file mode 100644 index 000000000..1cea10704 Binary files /dev/null and b/__screenshots__/Blocks/Header/Breadcrumbs.png differ diff --git a/__screenshots__/Blocks/Header/Dark Theme.png b/__screenshots__/Blocks/Header/Dark Theme.png new file mode 100644 index 000000000..4f01a1c11 Binary files /dev/null and b/__screenshots__/Blocks/Header/Dark Theme.png differ diff --git a/__screenshots__/Blocks/Header/Default.png b/__screenshots__/Blocks/Header/Default.png new file mode 100644 index 000000000..81a3982b8 Binary files /dev/null and b/__screenshots__/Blocks/Header/Default.png differ diff --git a/__screenshots__/Blocks/Header/Full Width Media Background.png b/__screenshots__/Blocks/Header/Full Width Media Background.png new file mode 100644 index 000000000..d9af9a0ea Binary files /dev/null and b/__screenshots__/Blocks/Header/Full Width Media Background.png differ diff --git a/__screenshots__/Blocks/Header/Full With Background.png b/__screenshots__/Blocks/Header/Full With Background.png new file mode 100644 index 000000000..fa837af64 Binary files /dev/null and b/__screenshots__/Blocks/Header/Full With Background.png differ diff --git a/__screenshots__/Blocks/Header/Image.png b/__screenshots__/Blocks/Header/Image.png new file mode 100644 index 000000000..913d2d319 Binary files /dev/null and b/__screenshots__/Blocks/Header/Image.png differ diff --git a/__screenshots__/Blocks/Header/Size.png b/__screenshots__/Blocks/Header/Size.png new file mode 100644 index 000000000..d4699b600 Binary files /dev/null and b/__screenshots__/Blocks/Header/Size.png differ diff --git a/__screenshots__/Blocks/Header/Vertical Offset.png b/__screenshots__/Blocks/Header/Vertical Offset.png new file mode 100644 index 000000000..9988df2f1 Binary files /dev/null and b/__screenshots__/Blocks/Header/Vertical Offset.png differ diff --git a/__screenshots__/Blocks/HeaderSlider/Auto Play.png b/__screenshots__/Blocks/HeaderSlider/Auto Play.png new file mode 100644 index 000000000..dc196f1f5 Binary files /dev/null and b/__screenshots__/Blocks/HeaderSlider/Auto Play.png differ diff --git a/__screenshots__/Blocks/HeaderSlider/Default.png b/__screenshots__/Blocks/HeaderSlider/Default.png new file mode 100644 index 000000000..dc196f1f5 Binary files /dev/null and b/__screenshots__/Blocks/HeaderSlider/Default.png differ diff --git a/__screenshots__/Blocks/Icons/Default.png b/__screenshots__/Blocks/Icons/Default.png new file mode 100644 index 000000000..11a2e7aee Binary files /dev/null and b/__screenshots__/Blocks/Icons/Default.png differ diff --git a/__screenshots__/Blocks/Icons/Size.png b/__screenshots__/Blocks/Icons/Size.png new file mode 100644 index 000000000..787a63821 Binary files /dev/null and b/__screenshots__/Blocks/Icons/Size.png differ diff --git a/__screenshots__/Blocks/Info/Default.png b/__screenshots__/Blocks/Info/Default.png new file mode 100644 index 000000000..71bb116b5 Binary files /dev/null and b/__screenshots__/Blocks/Info/Default.png differ diff --git a/__screenshots__/Blocks/Info/Light Theme.png b/__screenshots__/Blocks/Info/Light Theme.png new file mode 100644 index 000000000..15f2f52b3 Binary files /dev/null and b/__screenshots__/Blocks/Info/Light Theme.png differ diff --git a/__screenshots__/Blocks/Map/Default.png b/__screenshots__/Blocks/Map/Default.png new file mode 100644 index 000000000..3a471f13a Binary files /dev/null and b/__screenshots__/Blocks/Map/Default.png differ diff --git a/__screenshots__/Blocks/Map/Direction.png b/__screenshots__/Blocks/Map/Direction.png new file mode 100644 index 000000000..e9033d8c9 Binary files /dev/null and b/__screenshots__/Blocks/Map/Direction.png differ diff --git a/__screenshots__/Blocks/Map/Maps Types.png b/__screenshots__/Blocks/Map/Maps Types.png new file mode 100644 index 000000000..bb1eced15 Binary files /dev/null and b/__screenshots__/Blocks/Map/Maps Types.png differ diff --git a/__screenshots__/Blocks/Map/Size.png b/__screenshots__/Blocks/Map/Size.png new file mode 100644 index 000000000..c84cde114 Binary files /dev/null and b/__screenshots__/Blocks/Map/Size.png differ diff --git a/__screenshots__/Blocks/Media/Data Lens.png b/__screenshots__/Blocks/Media/Data Lens.png new file mode 100644 index 000000000..845892406 Binary files /dev/null and b/__screenshots__/Blocks/Media/Data Lens.png differ diff --git a/__screenshots__/Blocks/Media/Default.png b/__screenshots__/Blocks/Media/Default.png new file mode 100644 index 000000000..16e9d3903 Binary files /dev/null and b/__screenshots__/Blocks/Media/Default.png differ diff --git a/__screenshots__/Blocks/Media/Direction.png b/__screenshots__/Blocks/Media/Direction.png new file mode 100644 index 000000000..933303715 Binary files /dev/null and b/__screenshots__/Blocks/Media/Direction.png differ diff --git a/__screenshots__/Blocks/Media/Image Slider.png b/__screenshots__/Blocks/Media/Image Slider.png new file mode 100644 index 000000000..ab4cd0a40 Binary files /dev/null and b/__screenshots__/Blocks/Media/Image Slider.png differ diff --git a/__screenshots__/Blocks/Media/Size.png b/__screenshots__/Blocks/Media/Size.png new file mode 100644 index 000000000..88d767e66 Binary files /dev/null and b/__screenshots__/Blocks/Media/Size.png differ diff --git a/__screenshots__/Blocks/Media/Video.png b/__screenshots__/Blocks/Media/Video.png new file mode 100644 index 000000000..a6db15e88 Binary files /dev/null and b/__screenshots__/Blocks/Media/Video.png differ diff --git a/__screenshots__/Blocks/Media/Without Shadow.png b/__screenshots__/Blocks/Media/Without Shadow.png new file mode 100644 index 000000000..084db90ed Binary files /dev/null and b/__screenshots__/Blocks/Media/Without Shadow.png differ diff --git a/__screenshots__/Blocks/PromoFeaturesBlock/Default Theme.png b/__screenshots__/Blocks/PromoFeaturesBlock/Default Theme.png new file mode 100644 index 000000000..edf7d1d2a Binary files /dev/null and b/__screenshots__/Blocks/PromoFeaturesBlock/Default Theme.png differ diff --git a/__screenshots__/Blocks/PromoFeaturesBlock/Grey Theme.png b/__screenshots__/Blocks/PromoFeaturesBlock/Grey Theme.png new file mode 100644 index 000000000..25b38f4fb Binary files /dev/null and b/__screenshots__/Blocks/PromoFeaturesBlock/Grey Theme.png differ diff --git a/__screenshots__/Blocks/Questions/Default.png b/__screenshots__/Blocks/Questions/Default.png new file mode 100644 index 000000000..f2ec34762 Binary files /dev/null and b/__screenshots__/Blocks/Questions/Default.png differ diff --git a/__screenshots__/Blocks/Questions/Text With List Bullet.png b/__screenshots__/Blocks/Questions/Text With List Bullet.png new file mode 100644 index 000000000..844535155 Binary files /dev/null and b/__screenshots__/Blocks/Questions/Text With List Bullet.png differ diff --git a/__screenshots__/Blocks/Questions/Text With List Dash.png b/__screenshots__/Blocks/Questions/Text With List Dash.png new file mode 100644 index 000000000..cef0a4a93 Binary files /dev/null and b/__screenshots__/Blocks/Questions/Text With List Dash.png differ diff --git a/__screenshots__/Blocks/Share/Custom Title.png b/__screenshots__/Blocks/Share/Custom Title.png new file mode 100644 index 000000000..6241b0df6 Binary files /dev/null and b/__screenshots__/Blocks/Share/Custom Title.png differ diff --git a/__screenshots__/Blocks/Share/Default.png b/__screenshots__/Blocks/Share/Default.png new file mode 100644 index 000000000..829cd7b8a Binary files /dev/null and b/__screenshots__/Blocks/Share/Default.png differ diff --git a/__screenshots__/Blocks/Slider/Auto Play.png b/__screenshots__/Blocks/Slider/Auto Play.png new file mode 100644 index 000000000..83bda1e12 Binary files /dev/null and b/__screenshots__/Blocks/Slider/Auto Play.png differ diff --git a/__screenshots__/Blocks/Slider/Banners.png b/__screenshots__/Blocks/Slider/Banners.png new file mode 100644 index 000000000..34538468a Binary files /dev/null and b/__screenshots__/Blocks/Slider/Banners.png differ diff --git a/__screenshots__/Blocks/Slider/Default.png b/__screenshots__/Blocks/Slider/Default.png new file mode 100644 index 000000000..cc3e017c5 Binary files /dev/null and b/__screenshots__/Blocks/Slider/Default.png differ diff --git a/__screenshots__/Blocks/Slider/Quote Cards.png b/__screenshots__/Blocks/Slider/Quote Cards.png new file mode 100644 index 000000000..e4beeb0df Binary files /dev/null and b/__screenshots__/Blocks/Slider/Quote Cards.png differ diff --git a/__screenshots__/Blocks/Slider/Slides To Show.png b/__screenshots__/Blocks/Slider/Slides To Show.png new file mode 100644 index 000000000..bc93198a0 Binary files /dev/null and b/__screenshots__/Blocks/Slider/Slides To Show.png differ diff --git a/__screenshots__/Blocks/Slider/Without Arrows.png b/__screenshots__/Blocks/Slider/Without Arrows.png new file mode 100644 index 000000000..53a18a714 Binary files /dev/null and b/__screenshots__/Blocks/Slider/Without Arrows.png differ diff --git a/__screenshots__/Blocks/Slider/Without Dots.png b/__screenshots__/Blocks/Slider/Without Dots.png new file mode 100644 index 000000000..b5d016d25 Binary files /dev/null and b/__screenshots__/Blocks/Slider/Without Dots.png differ diff --git a/__screenshots__/Blocks/Table/Default.png b/__screenshots__/Blocks/Table/Default.png new file mode 100644 index 000000000..da93880c1 Binary files /dev/null and b/__screenshots__/Blocks/Table/Default.png differ diff --git a/__screenshots__/Blocks/Tabs/Caption.png b/__screenshots__/Blocks/Tabs/Caption.png new file mode 100644 index 000000000..648c07d80 Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Caption.png differ diff --git a/__screenshots__/Blocks/Tabs/Centered.png b/__screenshots__/Blocks/Tabs/Centered.png new file mode 100644 index 000000000..6fa188536 Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Centered.png differ diff --git a/__screenshots__/Blocks/Tabs/Default.png b/__screenshots__/Blocks/Tabs/Default.png new file mode 100644 index 000000000..c5f814c81 Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Default.png differ diff --git a/__screenshots__/Blocks/Tabs/Direction.png b/__screenshots__/Blocks/Tabs/Direction.png new file mode 100644 index 000000000..49bedf59b Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Direction.png differ diff --git a/__screenshots__/Blocks/Tabs/Only Media.png b/__screenshots__/Blocks/Tabs/Only Media.png new file mode 100644 index 000000000..b80123cc9 Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Only Media.png differ diff --git a/__screenshots__/Blocks/Tabs/Only Text.png b/__screenshots__/Blocks/Tabs/Only Text.png new file mode 100644 index 000000000..e52f1b99d Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Only Text.png differ diff --git a/__screenshots__/Blocks/Tabs/Tabs Buttons Col Sizes.png b/__screenshots__/Blocks/Tabs/Tabs Buttons Col Sizes.png new file mode 100644 index 000000000..bf245c507 Binary files /dev/null and b/__screenshots__/Blocks/Tabs/Tabs Buttons Col Sizes.png differ diff --git a/__screenshots__/Components/AnimateBlock/Default.png b/__screenshots__/Components/AnimateBlock/Default.png new file mode 100644 index 000000000..c01667567 Binary files /dev/null and b/__screenshots__/Components/AnimateBlock/Default.png differ diff --git a/__screenshots__/Components/Author/Default.png b/__screenshots__/Components/Author/Default.png new file mode 100644 index 000000000..bc07eac7b Binary files /dev/null and b/__screenshots__/Components/Author/Default.png differ diff --git a/__screenshots__/Components/Author/Types.png b/__screenshots__/Components/Author/Types.png new file mode 100644 index 000000000..f710886aa Binary files /dev/null and b/__screenshots__/Components/Author/Types.png differ diff --git a/__screenshots__/Components/BalancedMasonry/Default.png b/__screenshots__/Components/BalancedMasonry/Default.png new file mode 100644 index 000000000..eeca1939c Binary files /dev/null and b/__screenshots__/Components/BalancedMasonry/Default.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/Background Color.png b/__screenshots__/Components/Cards/BackgroundCard/Background Color.png new file mode 100644 index 000000000..dc10dd79d Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/Background Color.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/Border Line.png b/__screenshots__/Components/Cards/BackgroundCard/Border Line.png new file mode 100644 index 000000000..773118ef7 Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/Border Line.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/Card Themes.png b/__screenshots__/Components/Cards/BackgroundCard/Card Themes.png new file mode 100644 index 000000000..4107e381f Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/Card Themes.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/Default.png b/__screenshots__/Components/Cards/BackgroundCard/Default.png new file mode 100644 index 000000000..17088ff8e Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/Default.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/Paddings.png b/__screenshots__/Components/Cards/BackgroundCard/Paddings.png new file mode 100644 index 000000000..f014a04d5 Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/Paddings.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/With Background Image.png b/__screenshots__/Components/Cards/BackgroundCard/With Background Image.png new file mode 100644 index 000000000..8a9ae024b Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/With Background Image.png differ diff --git a/__screenshots__/Components/Cards/BackgroundCard/With Url.png b/__screenshots__/Components/Cards/BackgroundCard/With Url.png new file mode 100644 index 000000000..c68f28a89 Binary files /dev/null and b/__screenshots__/Components/Cards/BackgroundCard/With Url.png differ diff --git a/__screenshots__/Components/Cards/BasicCard/Default.png b/__screenshots__/Components/Cards/BasicCard/Default.png new file mode 100644 index 000000000..cb672b7ab Binary files /dev/null and b/__screenshots__/Components/Cards/BasicCard/Default.png differ diff --git a/__screenshots__/Components/Cards/BasicCard/With Border.png b/__screenshots__/Components/Cards/BasicCard/With Border.png new file mode 100644 index 000000000..0c6d94dd7 Binary files /dev/null and b/__screenshots__/Components/Cards/BasicCard/With Border.png differ diff --git a/__screenshots__/Components/Cards/BasicCard/With Icon.png b/__screenshots__/Components/Cards/BasicCard/With Icon.png new file mode 100644 index 000000000..78a566f8a Binary files /dev/null and b/__screenshots__/Components/Cards/BasicCard/With Icon.png differ diff --git a/__screenshots__/Components/Cards/BasicCard/With Url.png b/__screenshots__/Components/Cards/BasicCard/With Url.png new file mode 100644 index 000000000..756866247 Binary files /dev/null and b/__screenshots__/Components/Cards/BasicCard/With Url.png differ diff --git a/__screenshots__/Components/Cards/LayoutItem/Default.png b/__screenshots__/Components/Cards/LayoutItem/Default.png new file mode 100644 index 000000000..649857fdb Binary files /dev/null and b/__screenshots__/Components/Cards/LayoutItem/Default.png differ diff --git a/__screenshots__/Components/Cards/LayoutItem/Fullscreen.png b/__screenshots__/Components/Cards/LayoutItem/Fullscreen.png new file mode 100644 index 000000000..63685ec41 Binary files /dev/null and b/__screenshots__/Components/Cards/LayoutItem/Fullscreen.png differ diff --git a/__screenshots__/Components/Cards/LayoutItem/Meta Info.png b/__screenshots__/Components/Cards/LayoutItem/Meta Info.png new file mode 100644 index 000000000..6c670989f Binary files /dev/null and b/__screenshots__/Components/Cards/LayoutItem/Meta Info.png differ diff --git a/__screenshots__/Components/Cards/LayoutItem/Youtube.png b/__screenshots__/Components/Cards/LayoutItem/Youtube.png new file mode 100644 index 000000000..194215c66 Binary files /dev/null and b/__screenshots__/Components/Cards/LayoutItem/Youtube.png differ diff --git a/__screenshots__/Components/Cards/MediaCard/Data Lens.png b/__screenshots__/Components/Cards/MediaCard/Data Lens.png new file mode 100644 index 000000000..bfa904411 Binary files /dev/null and b/__screenshots__/Components/Cards/MediaCard/Data Lens.png differ diff --git a/__screenshots__/Components/Cards/MediaCard/Image Slider.png b/__screenshots__/Components/Cards/MediaCard/Image Slider.png new file mode 100644 index 000000000..9ddf47a8a Binary files /dev/null and b/__screenshots__/Components/Cards/MediaCard/Image Slider.png differ diff --git a/__screenshots__/Components/Cards/MediaCard/Image.png b/__screenshots__/Components/Cards/MediaCard/Image.png new file mode 100644 index 000000000..eb846d5da Binary files /dev/null and b/__screenshots__/Components/Cards/MediaCard/Image.png differ diff --git a/__screenshots__/Components/Cards/MediaCard/Video.png b/__screenshots__/Components/Cards/MediaCard/Video.png new file mode 100644 index 000000000..726a116fd Binary files /dev/null and b/__screenshots__/Components/Cards/MediaCard/Video.png differ diff --git a/__screenshots__/Components/Cards/MediaCard/Youtube.png b/__screenshots__/Components/Cards/MediaCard/Youtube.png new file mode 100644 index 000000000..1a80aea59 Binary files /dev/null and b/__screenshots__/Components/Cards/MediaCard/Youtube.png differ diff --git a/__screenshots__/Components/Cards/PriceDetailed/Marked List.png b/__screenshots__/Components/Cards/PriceDetailed/Marked List.png new file mode 100644 index 000000000..628fdf242 Binary files /dev/null and b/__screenshots__/Components/Cards/PriceDetailed/Marked List.png differ diff --git a/__screenshots__/Components/Cards/PriceDetailed/Settings.png b/__screenshots__/Components/Cards/PriceDetailed/Settings.png new file mode 100644 index 000000000..787cb9d78 Binary files /dev/null and b/__screenshots__/Components/Cards/PriceDetailed/Settings.png differ diff --git a/__screenshots__/Components/Cards/PriceDetailed/With Black Text.png b/__screenshots__/Components/Cards/PriceDetailed/With Black Text.png new file mode 100644 index 000000000..8eecfda3a Binary files /dev/null and b/__screenshots__/Components/Cards/PriceDetailed/With Black Text.png differ diff --git a/__screenshots__/Components/Cards/Quote/Border Line.png b/__screenshots__/Components/Cards/Quote/Border Line.png new file mode 100644 index 000000000..2fa96d8b1 Binary files /dev/null and b/__screenshots__/Components/Cards/Quote/Border Line.png differ diff --git a/__screenshots__/Components/Cards/Quote/Dark Theme.png b/__screenshots__/Components/Cards/Quote/Dark Theme.png new file mode 100644 index 000000000..ce9a69c4b Binary files /dev/null and b/__screenshots__/Components/Cards/Quote/Dark Theme.png differ diff --git a/__screenshots__/Components/Cards/Quote/Default.png b/__screenshots__/Components/Cards/Quote/Default.png new file mode 100644 index 000000000..dd6eef26e Binary files /dev/null and b/__screenshots__/Components/Cards/Quote/Default.png differ diff --git a/__screenshots__/Components/Content/Centered.png b/__screenshots__/Components/Content/Centered.png new file mode 100644 index 000000000..8459d9022 Binary files /dev/null and b/__screenshots__/Components/Content/Centered.png differ diff --git a/__screenshots__/Components/Content/Default.png b/__screenshots__/Components/Content/Default.png new file mode 100644 index 000000000..0e651b5ce Binary files /dev/null and b/__screenshots__/Components/Content/Default.png differ diff --git a/__screenshots__/Components/Content/Size.png b/__screenshots__/Components/Content/Size.png new file mode 100644 index 000000000..501df1562 Binary files /dev/null and b/__screenshots__/Components/Content/Size.png differ diff --git a/__screenshots__/Components/Content/Theme.png b/__screenshots__/Components/Content/Theme.png new file mode 100644 index 000000000..a2ee9d95d Binary files /dev/null and b/__screenshots__/Components/Content/Theme.png differ diff --git a/__screenshots__/Components/Divider/Default.png b/__screenshots__/Components/Divider/Default.png new file mode 100644 index 000000000..f23feb412 Binary files /dev/null and b/__screenshots__/Components/Divider/Default.png differ diff --git a/__screenshots__/Components/Divider/Sizes.png b/__screenshots__/Components/Divider/Sizes.png new file mode 100644 index 000000000..1cdf4fbbe Binary files /dev/null and b/__screenshots__/Components/Divider/Sizes.png differ diff --git a/__screenshots__/Components/ErrorWrapper/Default.png b/__screenshots__/Components/ErrorWrapper/Default.png new file mode 100644 index 000000000..cd2723f86 Binary files /dev/null and b/__screenshots__/Components/ErrorWrapper/Default.png differ diff --git a/__screenshots__/Components/FullWidthBackground/Default.png b/__screenshots__/Components/FullWidthBackground/Default.png new file mode 100644 index 000000000..340377ca6 Binary files /dev/null and b/__screenshots__/Components/FullWidthBackground/Default.png differ diff --git a/__screenshots__/Components/FullWidthBackground/Rounded.png b/__screenshots__/Components/FullWidthBackground/Rounded.png new file mode 100644 index 000000000..60ba0399b Binary files /dev/null and b/__screenshots__/Components/FullWidthBackground/Rounded.png differ diff --git a/__screenshots__/Components/HubspotForm/Default.png b/__screenshots__/Components/HubspotForm/Default.png new file mode 100644 index 000000000..0c06f1a13 Binary files /dev/null and b/__screenshots__/Components/HubspotForm/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/BackLink/Default.png b/__screenshots__/Components/Links and buttons/BackLink/Default.png new file mode 100644 index 000000000..974740f5f Binary files /dev/null and b/__screenshots__/Components/Links and buttons/BackLink/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/BackLink/Themes Sizes.png b/__screenshots__/Components/Links and buttons/BackLink/Themes Sizes.png new file mode 100644 index 000000000..d458be64e Binary files /dev/null and b/__screenshots__/Components/Links and buttons/BackLink/Themes Sizes.png differ diff --git a/__screenshots__/Components/Links and buttons/Button/Default.png b/__screenshots__/Components/Links and buttons/Button/Default.png new file mode 100644 index 000000000..dc95ffb0b Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Button/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/Button/Themes Sizes.png b/__screenshots__/Components/Links and buttons/Button/Themes Sizes.png new file mode 100644 index 000000000..a5fa65319 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Button/Themes Sizes.png differ diff --git a/__screenshots__/Components/Links and buttons/Button/Width.png b/__screenshots__/Components/Links and buttons/Button/Width.png new file mode 100644 index 000000000..09adb4833 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Button/Width.png differ diff --git a/__screenshots__/Components/Links and buttons/Control/Default.png b/__screenshots__/Components/Links and buttons/Control/Default.png new file mode 100644 index 000000000..633a22106 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Control/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/Control/Sizes Themes.png b/__screenshots__/Components/Links and buttons/Control/Sizes Themes.png new file mode 100644 index 000000000..720652a5d Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Control/Sizes Themes.png differ diff --git a/__screenshots__/Components/Links and buttons/FileLink/Default.png b/__screenshots__/Components/Links and buttons/FileLink/Default.png new file mode 100644 index 000000000..9c5687ccc Binary files /dev/null and b/__screenshots__/Components/Links and buttons/FileLink/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/FileLink/Extensions.png b/__screenshots__/Components/Links and buttons/FileLink/Extensions.png new file mode 100644 index 000000000..e4d2bf2e9 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/FileLink/Extensions.png differ diff --git a/__screenshots__/Components/Links and buttons/FileLink/Types Themes.png b/__screenshots__/Components/Links and buttons/FileLink/Types Themes.png new file mode 100644 index 000000000..70ddc9d28 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/FileLink/Types Themes.png differ diff --git a/__screenshots__/Components/Links and buttons/HeaderBreadcrumbs/Default.png b/__screenshots__/Components/Links and buttons/HeaderBreadcrumbs/Default.png new file mode 100644 index 000000000..3fd8446d2 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/HeaderBreadcrumbs/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Back With Children.png b/__screenshots__/Components/Links and buttons/Link/Back With Children.png new file mode 100644 index 000000000..dc92231be Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Back With Children.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Default.png b/__screenshots__/Components/Links and buttons/Link/Default.png new file mode 100644 index 000000000..0e70b6be4 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Default.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Normal Arrow.png b/__screenshots__/Components/Links and buttons/Link/Normal Arrow.png new file mode 100644 index 000000000..6f94ef2b6 Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Normal Arrow.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Normal For Dark Theme.png b/__screenshots__/Components/Links and buttons/Link/Normal For Dark Theme.png new file mode 100644 index 000000000..6accec06a Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Normal For Dark Theme.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Normal With Children.png b/__screenshots__/Components/Links and buttons/Link/Normal With Children.png new file mode 100644 index 000000000..d23b6ac3e Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Normal With Children.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Themes Sizes.png b/__screenshots__/Components/Links and buttons/Link/Themes Sizes.png new file mode 100644 index 000000000..2723b602e Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Themes Sizes.png differ diff --git a/__screenshots__/Components/Links and buttons/Link/Underline With Children.png b/__screenshots__/Components/Links and buttons/Link/Underline With Children.png new file mode 100644 index 000000000..2200520df Binary files /dev/null and b/__screenshots__/Components/Links and buttons/Link/Underline With Children.png differ diff --git a/__screenshots__/Components/Map/Google Map.png b/__screenshots__/Components/Map/Google Map.png new file mode 100644 index 000000000..cdf83e71f Binary files /dev/null and b/__screenshots__/Components/Map/Google Map.png differ diff --git a/__screenshots__/Components/Map/Y Map.png b/__screenshots__/Components/Map/Y Map.png new file mode 100644 index 000000000..ff3b0d404 Binary files /dev/null and b/__screenshots__/Components/Map/Y Map.png differ diff --git a/__screenshots__/Components/MetaInfo/Default.png b/__screenshots__/Components/MetaInfo/Default.png new file mode 100644 index 000000000..e74db6698 Binary files /dev/null and b/__screenshots__/Components/MetaInfo/Default.png differ diff --git a/__screenshots__/Components/OverflowScroller/Default.png b/__screenshots__/Components/OverflowScroller/Default.png new file mode 100644 index 000000000..762809fc6 Binary files /dev/null and b/__screenshots__/Components/OverflowScroller/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/BackgroundImage/Default.png b/__screenshots__/Components/Pics, video, DataLens/BackgroundImage/Default.png new file mode 100644 index 000000000..9d2a16363 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/BackgroundImage/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Image.png b/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Image.png new file mode 100644 index 000000000..4c0275e14 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Image.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Video.png b/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Video.png new file mode 100644 index 000000000..9f9129b91 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/BackgroundMedia/Video.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/FullscreenImage/Default.png b/__screenshots__/Components/Pics, video, DataLens/FullscreenImage/Default.png new file mode 100644 index 000000000..739720d3d Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/FullscreenImage/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/FullscreenMedia/Default.png b/__screenshots__/Components/Pics, video, DataLens/FullscreenMedia/Default.png new file mode 100644 index 000000000..fe2f30c98 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/FullscreenMedia/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Image/Default.png b/__screenshots__/Components/Pics, video, DataLens/Image/Default.png new file mode 100644 index 000000000..9ccb72b88 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Image/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens Dark Theme.png b/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens Dark Theme.png new file mode 100644 index 000000000..927f57f2a Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens Dark Theme.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens.png b/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens.png new file mode 100644 index 000000000..5e00e7930 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Data Lens.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Image Slider.png b/__screenshots__/Components/Pics, video, DataLens/Media/Image Slider.png new file mode 100644 index 000000000..7b0814947 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Image Slider.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Image.png b/__screenshots__/Components/Pics, video, DataLens/Media/Image.png new file mode 100644 index 000000000..1caa8d58f Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Image.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Video.png b/__screenshots__/Components/Pics, video, DataLens/Media/Video.png new file mode 100644 index 000000000..c53502031 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Video.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/Media/Youtube.png b/__screenshots__/Components/Pics, video, DataLens/Media/Youtube.png new file mode 100644 index 000000000..5d09c7901 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/Media/Youtube.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/ReactPlayer/Default.png b/__screenshots__/Components/Pics, video, DataLens/ReactPlayer/Default.png new file mode 100644 index 000000000..e1e64e885 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/ReactPlayer/Default.png differ diff --git a/__screenshots__/Components/Pics, video, DataLens/VideoBlock/Default.png b/__screenshots__/Components/Pics, video, DataLens/VideoBlock/Default.png new file mode 100644 index 000000000..2667ec3d6 Binary files /dev/null and b/__screenshots__/Components/Pics, video, DataLens/VideoBlock/Default.png differ diff --git a/__screenshots__/Components/Table/Default.png b/__screenshots__/Components/Table/Default.png new file mode 100644 index 000000000..0f3bf170e Binary files /dev/null and b/__screenshots__/Components/Table/Default.png differ diff --git a/__screenshots__/Components/Title/Custom Title.png b/__screenshots__/Components/Title/Custom Title.png new file mode 100644 index 000000000..cd9108d3b Binary files /dev/null and b/__screenshots__/Components/Title/Custom Title.png differ diff --git a/__screenshots__/Components/Title/Default.png b/__screenshots__/Components/Title/Default.png new file mode 100644 index 000000000..37c500d92 Binary files /dev/null and b/__screenshots__/Components/Title/Default.png differ diff --git a/__screenshots__/Components/Title/Sizes.png b/__screenshots__/Components/Title/Sizes.png new file mode 100644 index 000000000..9ecc7273e Binary files /dev/null and b/__screenshots__/Components/Title/Sizes.png differ diff --git a/__screenshots__/Components/Title/Title Link.png b/__screenshots__/Components/Title/Title Link.png new file mode 100644 index 000000000..3129878a0 Binary files /dev/null and b/__screenshots__/Components/Title/Title Link.png differ diff --git a/__screenshots__/Components/Title/Title Without Description.png b/__screenshots__/Components/Title/Title Without Description.png new file mode 100644 index 000000000..ffa12aeeb Binary files /dev/null and b/__screenshots__/Components/Title/Title Without Description.png differ diff --git a/__screenshots__/Components/ToggleArrow/Horizontal.png b/__screenshots__/Components/ToggleArrow/Horizontal.png new file mode 100644 index 000000000..be39bb88c Binary files /dev/null and b/__screenshots__/Components/ToggleArrow/Horizontal.png differ diff --git a/__screenshots__/Components/ToggleArrow/Vertical.png b/__screenshots__/Components/ToggleArrow/Vertical.png new file mode 100644 index 000000000..e32b9acd3 Binary files /dev/null and b/__screenshots__/Components/ToggleArrow/Vertical.png differ diff --git a/__screenshots__/Components/UnpublishedLabel/Label.png b/__screenshots__/Components/UnpublishedLabel/Label.png new file mode 100644 index 000000000..72f1bfe7b Binary files /dev/null and b/__screenshots__/Components/UnpublishedLabel/Label.png differ diff --git a/__screenshots__/Components/UnpublishedLabel/Line.png b/__screenshots__/Components/UnpublishedLabel/Line.png new file mode 100644 index 000000000..bdbc39134 Binary files /dev/null and b/__screenshots__/Components/UnpublishedLabel/Line.png differ diff --git a/__screenshots__/Components/YFMWrapper/Default.png b/__screenshots__/Components/YFMWrapper/Default.png new file mode 100644 index 000000000..daa9af3ff Binary files /dev/null and b/__screenshots__/Components/YFMWrapper/Default.png differ diff --git a/__screenshots__/Components/YandexForm/Default.png b/__screenshots__/Components/YandexForm/Default.png new file mode 100644 index 000000000..c53502031 Binary files /dev/null and b/__screenshots__/Components/YandexForm/Default.png differ diff --git a/__screenshots__/Containers/PageConstructor/Default.png b/__screenshots__/Containers/PageConstructor/Default.png new file mode 100644 index 000000000..aed13404b Binary files /dev/null and b/__screenshots__/Containers/PageConstructor/Default.png differ diff --git a/__screenshots__/Containers/PageConstructor/With Full Width Background Media.png b/__screenshots__/Containers/PageConstructor/With Full Width Background Media.png new file mode 100644 index 000000000..aed13404b Binary files /dev/null and b/__screenshots__/Containers/PageConstructor/With Full Width Background Media.png differ diff --git a/__screenshots__/Containers/PageConstructor/With Navigation.png b/__screenshots__/Containers/PageConstructor/With Navigation.png new file mode 100644 index 000000000..8d061554c Binary files /dev/null and b/__screenshots__/Containers/PageConstructor/With Navigation.png differ diff --git a/__screenshots__/Editor/Main/Default.png b/__screenshots__/Editor/Main/Default.png new file mode 100644 index 000000000..99b1a3c10 Binary files /dev/null and b/__screenshots__/Editor/Main/Default.png differ diff --git a/__screenshots__/NAVIGATION/Navigation/Default Navigation.png b/__screenshots__/NAVIGATION/Navigation/Default Navigation.png new file mode 100644 index 000000000..ea2471376 Binary files /dev/null and b/__screenshots__/NAVIGATION/Navigation/Default Navigation.png differ diff --git a/__screenshots__/NAVIGATION/Navigation/Navigation With Border.png b/__screenshots__/NAVIGATION/Navigation/Navigation With Border.png new file mode 100644 index 000000000..f247fc324 Binary files /dev/null and b/__screenshots__/NAVIGATION/Navigation/Navigation With Border.png differ diff --git a/__screenshots__/NAVIGATION/Navigation/Navigation With Custom Items.png b/__screenshots__/NAVIGATION/Navigation/Navigation With Custom Items.png new file mode 100644 index 000000000..136f66421 Binary files /dev/null and b/__screenshots__/NAVIGATION/Navigation/Navigation With Custom Items.png differ diff --git a/package-lock.json b/package-lock.json index b53601b1f..3901c9544 100644 --- a/package-lock.json +++ b/package-lock.json @@ -103,6 +103,7 @@ "sass": "^1.63.6", "sass-loader": "^10.4.1", "storybook": "^7.1.0", + "storycap": "^4.2.0", "style-loader": "^2.0.0", "stylelint": "^14.11.0", "svg-sprite-loader": "^6.0.11", @@ -4432,6 +4433,21 @@ "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/@hapi/hoek": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", + "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", + "dev": true + }, + "node_modules/@hapi/topo": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", + "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "dev": true, + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", @@ -5200,6 +5216,27 @@ "zdog": ">=1.0" } }, + "node_modules/@sideway/address": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", + "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", + "dev": true, + "dependencies": { + "@hapi/hoek": "^9.0.0" + } + }, + "node_modules/@sideway/formula": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", + "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", + "dev": true + }, + "node_modules/@sideway/pinpoint": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", + "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", + "dev": true + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -8198,6 +8235,16 @@ "integrity": "sha512-frsJrz2t/CeGifcu/6uRo4b+SzAwT4NYCVPu1GN8IB9XTzrpPkGuV0tmh9mN+/L0PklAlsC3u5Fxt0ju00LXIw==", "dev": true }, + "node_modules/@types/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==", + "dev": true, + "dependencies": { + "@types/minimatch": "^5.1.2", + "@types/node": "*" + } + }, "node_modules/@types/graceful-fs": { "version": "4.1.6", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz", @@ -8318,12 +8365,27 @@ "integrity": "sha512-vXOTGVSLR2jMw440moWTC7H19iUyLtP3Z1YTj7cSsubOICinjMxFeb/V57v9QdyyPGbbWolUFSSmSiRSn94tFw==", "dev": true }, + "node_modules/@types/minimatch": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "dev": true + }, "node_modules/@types/minimist": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, + "node_modules/@types/mkdirp": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-1.0.2.tgz", + "integrity": "sha512-o0K1tSO0Dx5X6xlU5F1D6625FawhC3dU3iqr25lluNv/+/QIVH8RLNEiVokgIZo+mz+87w/3Mkg/VvQS+J51fQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/node": { "version": "18.11.18", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", @@ -8420,6 +8482,16 @@ "@types/react": "*" } }, + "node_modules/@types/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-F3OznnSLAUxFrCEu/L5PY8+ny8DtcFRjx7fZZ9bycvXRi3KPTRS9HOitGZwvPg0juRhXFWIeKX58cnX5YqLohQ==", + "dev": true, + "dependencies": { + "@types/glob": "*", + "@types/node": "*" + } + }, "node_modules/@types/sanitize-html": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/@types/sanitize-html/-/sanitize-html-2.6.1.tgz", @@ -8505,6 +8577,15 @@ "@types/node": "*" } }, + "node_modules/@types/wait-on": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@types/wait-on/-/wait-on-5.3.1.tgz", + "integrity": "sha512-2FFOKCF/YydrMUaqg+fkk49qf0e5rDgwt6aQsMzFQzbS419h2gNOXyiwp/o2yYy27bi/C1z+HgfncryjGzlvgQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/webpack-env": { "version": "1.18.1", "resolved": "https://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.18.1.tgz", @@ -8526,6 +8607,16 @@ "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", "dev": true }, + "node_modules/@types/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", + "dev": true, + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.40.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.0.tgz", @@ -9787,6 +9878,30 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/babel-core": { "version": "7.0.0-bridge.0", "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz", @@ -10297,30 +10412,6 @@ "readable-stream": "^3.4.0" } }, - "node_modules/bl/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -10507,6 +10598,30 @@ "node-int64": "^0.4.0" } }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -12393,6 +12508,12 @@ "detect-port": "bin/detect-port.js" } }, + "node_modules/devtools-protocol": { + "version": "0.0.869402", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.869402.tgz", + "integrity": "sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA==", + "dev": true + }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -14754,6 +14875,26 @@ "tabbable": "^6.2.0" } }, + "node_modules/follow-redirects": { + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", @@ -18719,6 +18860,19 @@ } } }, + "node_modules/joi": { + "version": "17.10.1", + "resolved": "https://registry.npmjs.org/joi/-/joi-17.10.1.tgz", + "integrity": "sha512-vIiDxQKmRidUVp8KngT8MZSOcmRVm2zV7jbMjNYWuHcJWI0bUck3nRTGQjhpPlQenIQIBC5Vp9AhcnHbWQqafw==", + "dev": true, + "dependencies": { + "@hapi/hoek": "^9.0.0", + "@hapi/topo": "^5.0.0", + "@sideway/address": "^4.1.3", + "@sideway/formula": "^3.0.1", + "@sideway/pinpoint": "^2.0.0" + } + }, "node_modules/js-base64": { "version": "2.6.4", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", @@ -25059,6 +25213,15 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "node_modules/sanitize-filename": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz", + "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==", + "dev": true, + "dependencies": { + "truncate-utf8-bytes": "^1.0.0" + } + }, "node_modules/sanitize-html": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.6.1.tgz", @@ -26000,6 +26163,433 @@ "url": "https://opencollective.com/storybook" } }, + "node_modules/storycap": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/storycap/-/storycap-4.2.0.tgz", + "integrity": "sha512-g+LHM0euk8zLGeSV2uIlCeBWtB9/a71tHPtBF1eKSAliUsc+JFmebM/JlHDDnEXIrfgeiLEO9Ki899Rb/qpC9w==", + "dev": true, + "dependencies": { + "@types/mkdirp": "^1.0.0", + "@types/node": "^18.0.0", + "@types/rimraf": "^3.0.0", + "@types/wait-on": "^5.0.0", + "@types/yargs": "^16.0.0", + "mkdirp": "^2.0.0", + "nanomatch": "^1.2.13", + "puppeteer-core": "^9.0.0", + "rimraf": "^5.0.0", + "sanitize-filename": "^1.6.3", + "storycrawler": "^4.2.0", + "yargs": "^16.0.0" + }, + "bin": { + "storycap": "lib/node/cli.js" + }, + "engines": { + "node": ">=14.13" + } + }, + "node_modules/storycap/node_modules/@types/yargs": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", + "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "dev": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/storycap/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/storycap/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/storycap/node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + }, + "engines": { + "node": ">= 10.17.0" + }, + "optionalDependencies": { + "@types/yauzl": "^2.9.1" + } + }, + "node_modules/storycap/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/storycap/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/storycap/node_modules/mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", + "dev": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/storycap/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/storycap/node_modules/puppeteer-core": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-9.1.1.tgz", + "integrity": "sha512-zbedbitVIGhmgz0nt7eIdLsnaoVZSlNJfBivqm2w67T8LR2bU1dvnruDZ8nQO0zn++Iet7zHbAOdnuS5+H2E7A==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "devtools-protocol": "0.0.869402", + "extract-zip": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.1", + "pkg-dir": "^4.2.0", + "progress": "^2.0.1", + "proxy-from-env": "^1.1.0", + "rimraf": "^3.0.2", + "tar-fs": "^2.0.0", + "unbzip2-stream": "^1.3.3", + "ws": "^7.2.3" + }, + "engines": { + "node": ">=10.18.1" + } + }, + "node_modules/storycap/node_modules/puppeteer-core/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/storycap/node_modules/rimraf": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.1.tgz", + "integrity": "sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==", + "dev": true, + "dependencies": { + "glob": "^10.2.5" + }, + "bin": { + "rimraf": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/storycap/node_modules/rimraf/node_modules/glob": { + "version": "10.3.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz", + "integrity": "sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/storycap/node_modules/ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/storycap/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/storycrawler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/storycrawler/-/storycrawler-4.2.0.tgz", + "integrity": "sha512-81hfN92rfun1eWfXexV1Y/ZiTE2JERayxcJgI+r/QSVCxDrR0HKT4F1gPOkISFcKd7YxOJeoJ0cpZVjgpL3Row==", + "dev": true, + "dependencies": { + "@types/node": "^18.0.0", + "@types/wait-on": "^5.0.0", + "chalk": "^2.4.1", + "puppeteer-core": "^9.0.0", + "wait-on": "^7.0.0" + }, + "engines": { + "node": ">=14.13" + } + }, + "node_modules/storycrawler/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/storycrawler/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/storycrawler/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/storycrawler/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/storycrawler/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/storycrawler/node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + }, + "engines": { + "node": ">= 10.17.0" + }, + "optionalDependencies": { + "@types/yauzl": "^2.9.1" + } + }, + "node_modules/storycrawler/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/storycrawler/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/storycrawler/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/storycrawler/node_modules/puppeteer-core": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-9.1.1.tgz", + "integrity": "sha512-zbedbitVIGhmgz0nt7eIdLsnaoVZSlNJfBivqm2w67T8LR2bU1dvnruDZ8nQO0zn++Iet7zHbAOdnuS5+H2E7A==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "devtools-protocol": "0.0.869402", + "extract-zip": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.1", + "pkg-dir": "^4.2.0", + "progress": "^2.0.1", + "proxy-from-env": "^1.1.0", + "rimraf": "^3.0.2", + "tar-fs": "^2.0.0", + "unbzip2-stream": "^1.3.3", + "ws": "^7.2.3" + }, + "engines": { + "node": ">=10.18.1" + } + }, + "node_modules/storycrawler/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/storycrawler/node_modules/ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/stream-exhaust": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz", @@ -27710,6 +28300,15 @@ "node": ">=8" } }, + "node_modules/truncate-utf8-bytes": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", + "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", + "dev": true, + "dependencies": { + "utf8-byte-length": "^1.0.1" + } + }, "node_modules/ts-dedent": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz", @@ -27999,6 +28598,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/unbzip2-stream": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", + "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", + "dev": true, + "dependencies": { + "buffer": "^5.2.1", + "through": "^2.3.8" + } + }, "node_modules/unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", @@ -28391,6 +29000,12 @@ "react-dom": "16.8.0 - 18" } }, + "node_modules/utf8-byte-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", + "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==", + "dev": true + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -28640,6 +29255,25 @@ "node": ">=14" } }, + "node_modules/wait-on": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.0.1.tgz", + "integrity": "sha512-9AnJE9qTjRQOlTZIldAaf/da2eW0eSRSgcqq85mXQja/DW3MriHxkpODDSUEg+Gri/rKEcXUZHe+cevvYItaog==", + "dev": true, + "dependencies": { + "axios": "^0.27.2", + "joi": "^17.7.0", + "lodash": "^4.17.21", + "minimist": "^1.2.7", + "rxjs": "^7.8.0" + }, + "bin": { + "wait-on": "bin/wait-on" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/walker": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", diff --git a/package.json b/package.json index 929bc9c06..455286ebe 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "prepare": "husky install", "test": "jest", "test:coverage": "jest --coverage", + "test:visual": "npx storycap http://localhost:7009 --captureTimeout=20000", "test:watch": "jest --watchAll" }, "dependencies": { @@ -179,6 +180,7 @@ "sass": "^1.63.6", "sass-loader": "^10.4.1", "storybook": "^7.1.0", + "storycap": "^4.2.0", "style-loader": "^2.0.0", "stylelint": "^14.11.0", "svg-sprite-loader": "^6.0.11", diff --git a/src/blocks/Header/__stories__/Header.stories.tsx b/src/blocks/Header/__stories__/Header.stories.tsx index ca983560d..32c4112eb 100644 --- a/src/blocks/Header/__stories__/Header.stories.tsx +++ b/src/blocks/Header/__stories__/Header.stories.tsx @@ -197,14 +197,29 @@ VerticalOffset.args = { Background.args = { ...DefaultArgs, } as HeaderBlockPropsNoTitle; +Background.parameters = { + screenshot: { + delay: 13500, + }, +}; FullWithBackground.args = { ...DefaultArgs, } as HeaderBlockPropsNoTitle; +FullWithBackground.parameters = { + screenshot: { + delay: 13500, + }, +}; FullWidthMediaBackground.args = { ...DefaultArgs, } as HeaderBlockPropsNoTitle; +FullWidthMediaBackground.parameters = { + screenshot: { + delay: 13500, + }, +}; DarkTheme.args = { ...DefaultArgs,