diff --git a/.storybook/main.ts b/.storybook/main.ts index 330b1080e7..430b6f5c8b 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -14,6 +14,7 @@ const config: StorybookConfig = { '@storybook/preset-scss', {name: '@storybook/addon-essentials', options: {backgrounds: false}}, './theme-addon/register.tsx', + 'storycap', ], }; diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 03a26e535d..b37344babf 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -2,11 +2,11 @@ import '../styles/fonts.scss'; // eslint-disable-next-line import/order import '../styles/styles.scss'; - import React from 'react'; import {MINIMAL_VIEWPORTS} from '@storybook/addon-viewport'; import type {Decorator, Preview} from '@storybook/react'; +import {withScreenshot} from 'storycap'; import {Lang, MobileProvider, ThemeProvider, configure} from '../src'; import {DocsDecorator} from '../src/demo/DocsDecorator/DocsDecorator'; @@ -31,8 +31,12 @@ const withContextProvider: Decorator = (Story, context) => { ); }; +export const decorators = [ + withScreenshot, // Registration the decorator is required +]; + const preview: Preview = { - decorators: [WithMobile, WithLang, withContextProvider], + decorators: [WithMobile, WithLang, withContextProvider, withScreenshot], parameters: { docs: { theme: themes.light, @@ -52,6 +56,9 @@ const preview: Preview = { method: 'alphabetical', }, }, + screenshot: { + waitAssets: true, + }, }, globalTypes: { theme: { diff --git a/__screenshots__/Colors/Backgrounds.png b/__screenshots__/Colors/Backgrounds.png new file mode 100644 index 0000000000..d58f587045 Binary files /dev/null and b/__screenshots__/Colors/Backgrounds.png differ diff --git a/__screenshots__/Colors/Effects.png b/__screenshots__/Colors/Effects.png new file mode 100644 index 0000000000..749adf1ed0 Binary files /dev/null and b/__screenshots__/Colors/Effects.png differ diff --git a/__screenshots__/Colors/Lines.png b/__screenshots__/Colors/Lines.png new file mode 100644 index 0000000000..89ffb03a43 Binary files /dev/null and b/__screenshots__/Colors/Lines.png differ diff --git a/__screenshots__/Colors/Misc.png b/__screenshots__/Colors/Misc.png new file mode 100644 index 0000000000..d100b68431 Binary files /dev/null and b/__screenshots__/Colors/Misc.png differ diff --git a/__screenshots__/Colors/Private.png b/__screenshots__/Colors/Private.png new file mode 100644 index 0000000000..82ae50d408 Binary files /dev/null and b/__screenshots__/Colors/Private.png differ diff --git a/__screenshots__/Colors/Texts.png b/__screenshots__/Colors/Texts.png new file mode 100644 index 0000000000..ed799a09ee Binary files /dev/null and b/__screenshots__/Colors/Texts.png differ diff --git a/__screenshots__/Components/ActionTooltip/Default.png b/__screenshots__/Components/ActionTooltip/Default.png new file mode 100644 index 0000000000..f41810dd0b Binary files /dev/null and b/__screenshots__/Components/ActionTooltip/Default.png differ diff --git a/__screenshots__/Components/Alert/Examples.png b/__screenshots__/Components/Alert/Examples.png new file mode 100644 index 0000000000..a26df9efb4 Binary files /dev/null and b/__screenshots__/Components/Alert/Examples.png differ diff --git a/__screenshots__/Components/ArrowToggle/ArrowToggle.png b/__screenshots__/Components/ArrowToggle/ArrowToggle.png new file mode 100644 index 0000000000..a72e9e6901 Binary files /dev/null and b/__screenshots__/Components/ArrowToggle/ArrowToggle.png differ diff --git a/__screenshots__/Components/ArrowToggle/Default.png b/__screenshots__/Components/ArrowToggle/Default.png new file mode 100644 index 0000000000..a72e9e6901 Binary files /dev/null and b/__screenshots__/Components/ArrowToggle/Default.png differ diff --git a/__screenshots__/Components/ArrowToggle/Directions.png b/__screenshots__/Components/ArrowToggle/Directions.png new file mode 100644 index 0000000000..bb6536ca20 Binary files /dev/null and b/__screenshots__/Components/ArrowToggle/Directions.png differ diff --git a/__screenshots__/Components/ArrowToggle/Interactive.png b/__screenshots__/Components/ArrowToggle/Interactive.png new file mode 100644 index 0000000000..a03e095655 Binary files /dev/null and b/__screenshots__/Components/ArrowToggle/Interactive.png differ diff --git a/__screenshots__/Components/ArrowToggle/Sizes.png b/__screenshots__/Components/ArrowToggle/Sizes.png new file mode 100644 index 0000000000..371235fa4e Binary files /dev/null and b/__screenshots__/Components/ArrowToggle/Sizes.png differ diff --git a/__screenshots__/Components/Basic/Button/Button.png b/__screenshots__/Components/Basic/Button/Button.png new file mode 100644 index 0000000000..d69d9fb944 Binary files /dev/null and b/__screenshots__/Components/Basic/Button/Button.png differ diff --git a/__screenshots__/Components/Basic/Label/Label.png b/__screenshots__/Components/Basic/Label/Label.png new file mode 100644 index 0000000000..59e3a4b70c Binary files /dev/null and b/__screenshots__/Components/Basic/Label/Label.png differ diff --git a/__screenshots__/Components/Basic/Link/Link.png b/__screenshots__/Components/Basic/Link/Link.png new file mode 100644 index 0000000000..aa0903b7a9 Binary files /dev/null and b/__screenshots__/Components/Basic/Link/Link.png differ diff --git a/__screenshots__/Components/Breadcrumbs/Default.png b/__screenshots__/Components/Breadcrumbs/Default.png new file mode 100644 index 0000000000..ae06856192 Binary files /dev/null and b/__screenshots__/Components/Breadcrumbs/Default.png differ diff --git a/__screenshots__/Components/Breadcrumbs/Showcase.png b/__screenshots__/Components/Breadcrumbs/Showcase.png new file mode 100644 index 0000000000..390ee05e0c Binary files /dev/null and b/__screenshots__/Components/Breadcrumbs/Showcase.png differ diff --git a/__screenshots__/Components/Button/Button In Router.png b/__screenshots__/Components/Button/Button In Router.png new file mode 100644 index 0000000000..1467c7e4f3 Binary files /dev/null and b/__screenshots__/Components/Button/Button In Router.png differ diff --git a/__screenshots__/Components/Button/Custom Component.png b/__screenshots__/Components/Button/Custom Component.png new file mode 100644 index 0000000000..ed299e515f Binary files /dev/null and b/__screenshots__/Components/Button/Custom Component.png differ diff --git a/__screenshots__/Components/Button/Default.png b/__screenshots__/Components/Button/Default.png new file mode 100644 index 0000000000..d69d9fb944 Binary files /dev/null and b/__screenshots__/Components/Button/Default.png differ diff --git a/__screenshots__/Components/Button/Icon.png b/__screenshots__/Components/Button/Icon.png new file mode 100644 index 0000000000..c8ba92c6b5 Binary files /dev/null and b/__screenshots__/Components/Button/Icon.png differ diff --git a/__screenshots__/Components/Button/Link.png b/__screenshots__/Components/Button/Link.png new file mode 100644 index 0000000000..1467c7e4f3 Binary files /dev/null and b/__screenshots__/Components/Button/Link.png differ diff --git a/__screenshots__/Components/Button/Selected.png b/__screenshots__/Components/Button/Selected.png new file mode 100644 index 0000000000..c59c3de20d Binary files /dev/null and b/__screenshots__/Components/Button/Selected.png differ diff --git a/__screenshots__/Components/Button/Showcase.png b/__screenshots__/Components/Button/Showcase.png new file mode 100644 index 0000000000..8401bb12c7 Binary files /dev/null and b/__screenshots__/Components/Button/Showcase.png differ diff --git a/__screenshots__/Components/Button/Size.png b/__screenshots__/Components/Button/Size.png new file mode 100644 index 0000000000..45de5f6bb6 Binary files /dev/null and b/__screenshots__/Components/Button/Size.png differ diff --git a/__screenshots__/Components/Card/Default.png b/__screenshots__/Components/Card/Default.png new file mode 100644 index 0000000000..a81b4ef71e Binary files /dev/null and b/__screenshots__/Components/Card/Default.png differ diff --git a/__screenshots__/Components/Card/Showcase.png b/__screenshots__/Components/Card/Showcase.png new file mode 100644 index 0000000000..9a73794246 Binary files /dev/null and b/__screenshots__/Components/Card/Showcase.png differ diff --git a/__screenshots__/Components/Checkbox/Controlled.png b/__screenshots__/Components/Checkbox/Controlled.png new file mode 100644 index 0000000000..77d4f95e74 Binary files /dev/null and b/__screenshots__/Components/Checkbox/Controlled.png differ diff --git a/__screenshots__/Components/Checkbox/Default.png b/__screenshots__/Components/Checkbox/Default.png new file mode 100644 index 0000000000..322c814747 Binary files /dev/null and b/__screenshots__/Components/Checkbox/Default.png differ diff --git a/__screenshots__/Components/Checkbox/Disabled.png b/__screenshots__/Components/Checkbox/Disabled.png new file mode 100644 index 0000000000..5ff810235a Binary files /dev/null and b/__screenshots__/Components/Checkbox/Disabled.png differ diff --git a/__screenshots__/Components/Checkbox/Indeterminate.png b/__screenshots__/Components/Checkbox/Indeterminate.png new file mode 100644 index 0000000000..7235aa1fbe Binary files /dev/null and b/__screenshots__/Components/Checkbox/Indeterminate.png differ diff --git a/__screenshots__/Components/Checkbox/Label.png b/__screenshots__/Components/Checkbox/Label.png new file mode 100644 index 0000000000..9d54ec38b6 Binary files /dev/null and b/__screenshots__/Components/Checkbox/Label.png differ diff --git a/__screenshots__/Components/Checkbox/Showcase.png b/__screenshots__/Components/Checkbox/Showcase.png new file mode 100644 index 0000000000..264c9430b6 Binary files /dev/null and b/__screenshots__/Components/Checkbox/Showcase.png differ diff --git a/__screenshots__/Components/Checkbox/Size.png b/__screenshots__/Components/Checkbox/Size.png new file mode 100644 index 0000000000..f34b0f529c Binary files /dev/null and b/__screenshots__/Components/Checkbox/Size.png differ diff --git a/__screenshots__/Components/ClipboardButton/Default.png b/__screenshots__/Components/ClipboardButton/Default.png new file mode 100644 index 0000000000..9d2bb0f59d Binary files /dev/null and b/__screenshots__/Components/ClipboardButton/Default.png differ diff --git a/__screenshots__/Components/Dialog/Default.png b/__screenshots__/Components/Dialog/Default.png new file mode 100644 index 0000000000..0ae820e89e Binary files /dev/null and b/__screenshots__/Components/Dialog/Default.png differ diff --git a/__screenshots__/Components/Dialog/Showcase.png b/__screenshots__/Components/Dialog/Showcase.png new file mode 100644 index 0000000000..b4af0ae8bc Binary files /dev/null and b/__screenshots__/Components/Dialog/Showcase.png differ diff --git a/__screenshots__/Components/Disclosure/Arrow Position.png b/__screenshots__/Components/Disclosure/Arrow Position.png new file mode 100644 index 0000000000..225886c51c Binary files /dev/null and b/__screenshots__/Components/Disclosure/Arrow Position.png differ diff --git a/__screenshots__/Components/Disclosure/Custom.png b/__screenshots__/Components/Disclosure/Custom.png new file mode 100644 index 0000000000..3881d3b410 Binary files /dev/null and b/__screenshots__/Components/Disclosure/Custom.png differ diff --git a/__screenshots__/Components/Disclosure/Default.png b/__screenshots__/Components/Disclosure/Default.png new file mode 100644 index 0000000000..48c110304c Binary files /dev/null and b/__screenshots__/Components/Disclosure/Default.png differ diff --git a/__screenshots__/Components/Disclosure/Size.png b/__screenshots__/Components/Disclosure/Size.png new file mode 100644 index 0000000000..b5f468e337 Binary files /dev/null and b/__screenshots__/Components/Disclosure/Size.png differ diff --git a/__screenshots__/Components/DropdownMenu/Default.png b/__screenshots__/Components/DropdownMenu/Default.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Default.png differ diff --git a/__screenshots__/Components/DropdownMenu/Different options for each action.png b/__screenshots__/Components/DropdownMenu/Different options for each action.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Different options for each action.png differ diff --git a/__screenshots__/Components/DropdownMenu/Disabled.png b/__screenshots__/Components/DropdownMenu/Disabled.png new file mode 100644 index 0000000000..7c8593e1fe Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Disabled.png differ diff --git a/__screenshots__/Components/DropdownMenu/Icon theme.png b/__screenshots__/Components/DropdownMenu/Icon theme.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Icon theme.png differ diff --git a/__screenshots__/Components/DropdownMenu/Menu Size.png b/__screenshots__/Components/DropdownMenu/Menu Size.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Menu Size.png differ diff --git a/__screenshots__/Components/DropdownMenu/Non-standard icon.png b/__screenshots__/Components/DropdownMenu/Non-standard icon.png new file mode 100644 index 0000000000..28b986b4b5 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Non-standard icon.png differ diff --git a/__screenshots__/Components/DropdownMenu/Options with groups.png b/__screenshots__/Components/DropdownMenu/Options with groups.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Options with groups.png differ diff --git a/__screenshots__/Components/DropdownMenu/Overwritten switcher.png b/__screenshots__/Components/DropdownMenu/Overwritten switcher.png new file mode 100644 index 0000000000..97636c2bcc Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Overwritten switcher.png differ diff --git a/__screenshots__/Components/DropdownMenu/Size.png b/__screenshots__/Components/DropdownMenu/Size.png new file mode 100644 index 0000000000..c1a8bb0c54 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Size.png differ diff --git a/__screenshots__/Components/DropdownMenu/Status switch component.png b/__screenshots__/Components/DropdownMenu/Status switch component.png new file mode 100644 index 0000000000..1b292e6698 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Status switch component.png differ diff --git a/__screenshots__/Components/DropdownMenu/Submenu.png b/__screenshots__/Components/DropdownMenu/Submenu.png new file mode 100644 index 0000000000..3b955794c8 Binary files /dev/null and b/__screenshots__/Components/DropdownMenu/Submenu.png differ diff --git a/__screenshots__/Components/Hotkey/Default.png b/__screenshots__/Components/Hotkey/Default.png new file mode 100644 index 0000000000..079c391349 Binary files /dev/null and b/__screenshots__/Components/Hotkey/Default.png differ diff --git a/__screenshots__/Components/Hotkey/Examples.png b/__screenshots__/Components/Hotkey/Examples.png new file mode 100644 index 0000000000..32f1962611 Binary files /dev/null and b/__screenshots__/Components/Hotkey/Examples.png differ diff --git a/__screenshots__/Components/Icon/Default.png b/__screenshots__/Components/Icon/Default.png new file mode 100644 index 0000000000..aeebf31743 Binary files /dev/null and b/__screenshots__/Components/Icon/Default.png differ diff --git a/__screenshots__/Components/Label/Default.png b/__screenshots__/Components/Label/Default.png new file mode 100644 index 0000000000..7626e259de Binary files /dev/null and b/__screenshots__/Components/Label/Default.png differ diff --git a/__screenshots__/Components/Label/Icon.png b/__screenshots__/Components/Label/Icon.png new file mode 100644 index 0000000000..2b445c41f5 Binary files /dev/null and b/__screenshots__/Components/Label/Icon.png differ diff --git a/__screenshots__/Components/Label/Interactions.png b/__screenshots__/Components/Label/Interactions.png new file mode 100644 index 0000000000..0550b80e2a Binary files /dev/null and b/__screenshots__/Components/Label/Interactions.png differ diff --git a/__screenshots__/Components/Label/Showcase.png b/__screenshots__/Components/Label/Showcase.png new file mode 100644 index 0000000000..8b5be446b4 Binary files /dev/null and b/__screenshots__/Components/Label/Showcase.png differ diff --git a/__screenshots__/Components/Label/Size.png b/__screenshots__/Components/Label/Size.png new file mode 100644 index 0000000000..8f511f561f Binary files /dev/null and b/__screenshots__/Components/Label/Size.png differ diff --git a/__screenshots__/Components/Label/Theme.png b/__screenshots__/Components/Label/Theme.png new file mode 100644 index 0000000000..a707f90cb4 Binary files /dev/null and b/__screenshots__/Components/Label/Theme.png differ diff --git a/__screenshots__/Components/Link/Default.png b/__screenshots__/Components/Link/Default.png new file mode 100644 index 0000000000..aa0903b7a9 Binary files /dev/null and b/__screenshots__/Components/Link/Default.png differ diff --git a/__screenshots__/Components/Link/Showcase.png b/__screenshots__/Components/Link/Showcase.png new file mode 100644 index 0000000000..0bd590d321 Binary files /dev/null and b/__screenshots__/Components/Link/Showcase.png differ diff --git a/__screenshots__/Components/List/Default.png b/__screenshots__/Components/List/Default.png new file mode 100644 index 0000000000..fc4dbc4e25 Binary files /dev/null and b/__screenshots__/Components/List/Default.png differ diff --git a/__screenshots__/Components/List/Item/Active.png b/__screenshots__/Components/List/Item/Active.png new file mode 100644 index 0000000000..8fae992b4b Binary files /dev/null and b/__screenshots__/Components/List/Item/Active.png differ diff --git a/__screenshots__/Components/List/Item/Can Be Sorted.png b/__screenshots__/Components/List/Item/Can Be Sorted.png new file mode 100644 index 0000000000..fd10c21176 Binary files /dev/null and b/__screenshots__/Components/List/Item/Can Be Sorted.png differ diff --git a/__screenshots__/Components/List/Item/Custom Render.png b/__screenshots__/Components/List/Item/Custom Render.png new file mode 100644 index 0000000000..03228b3425 Binary files /dev/null and b/__screenshots__/Components/List/Item/Custom Render.png differ diff --git a/__screenshots__/Components/List/Item/Default.png b/__screenshots__/Components/List/Item/Default.png new file mode 100644 index 0000000000..c9d739dda5 Binary files /dev/null and b/__screenshots__/Components/List/Item/Default.png differ diff --git a/__screenshots__/Components/List/Item/Selected.png b/__screenshots__/Components/List/Item/Selected.png new file mode 100644 index 0000000000..33f35537f0 Binary files /dev/null and b/__screenshots__/Components/List/Item/Selected.png differ diff --git a/__screenshots__/Components/List/Render Item.png b/__screenshots__/Components/List/Render Item.png new file mode 100644 index 0000000000..faa9778fb9 Binary files /dev/null and b/__screenshots__/Components/List/Render Item.png differ diff --git a/__screenshots__/Components/List/Showcase.png b/__screenshots__/Components/List/Showcase.png new file mode 100644 index 0000000000..6bfe254e61 Binary files /dev/null and b/__screenshots__/Components/List/Showcase.png differ diff --git a/__screenshots__/Components/List/Sortable.png b/__screenshots__/Components/List/Sortable.png new file mode 100644 index 0000000000..1fc9f2f0c9 Binary files /dev/null and b/__screenshots__/Components/List/Sortable.png differ diff --git a/__screenshots__/Components/Loader/Default.png b/__screenshots__/Components/Loader/Default.png new file mode 100644 index 0000000000..b02a779a57 Binary files /dev/null and b/__screenshots__/Components/Loader/Default.png differ diff --git a/__screenshots__/Components/Loader/Size.png b/__screenshots__/Components/Loader/Size.png new file mode 100644 index 0000000000..cc3d863b2f Binary files /dev/null and b/__screenshots__/Components/Loader/Size.png differ diff --git a/__screenshots__/Components/Menu/Default.png b/__screenshots__/Components/Menu/Default.png new file mode 100644 index 0000000000..b99359c82d Binary files /dev/null and b/__screenshots__/Components/Menu/Default.png differ diff --git a/__screenshots__/Components/Menu/Group.png b/__screenshots__/Components/Menu/Group.png new file mode 100644 index 0000000000..297ca0c829 Binary files /dev/null and b/__screenshots__/Components/Menu/Group.png differ diff --git a/__screenshots__/Components/Menu/Item Active.png b/__screenshots__/Components/Menu/Item Active.png new file mode 100644 index 0000000000..f981348b7a Binary files /dev/null and b/__screenshots__/Components/Menu/Item Active.png differ diff --git a/__screenshots__/Components/Menu/Item Disabled.png b/__screenshots__/Components/Menu/Item Disabled.png new file mode 100644 index 0000000000..3d55155658 Binary files /dev/null and b/__screenshots__/Components/Menu/Item Disabled.png differ diff --git a/__screenshots__/Components/Menu/Item Icon.png b/__screenshots__/Components/Menu/Item Icon.png new file mode 100644 index 0000000000..9836024f61 Binary files /dev/null and b/__screenshots__/Components/Menu/Item Icon.png differ diff --git a/__screenshots__/Components/Menu/Item Link.png b/__screenshots__/Components/Menu/Item Link.png new file mode 100644 index 0000000000..767daf0668 Binary files /dev/null and b/__screenshots__/Components/Menu/Item Link.png differ diff --git a/__screenshots__/Components/Menu/Item Selected.png b/__screenshots__/Components/Menu/Item Selected.png new file mode 100644 index 0000000000..d07248d07f Binary files /dev/null and b/__screenshots__/Components/Menu/Item Selected.png differ diff --git a/__screenshots__/Components/Menu/Item Theme.png b/__screenshots__/Components/Menu/Item Theme.png new file mode 100644 index 0000000000..ed939ba59a Binary files /dev/null and b/__screenshots__/Components/Menu/Item Theme.png differ diff --git a/__screenshots__/Components/Modal/Default.png b/__screenshots__/Components/Modal/Default.png new file mode 100644 index 0000000000..9dd0d57b1f Binary files /dev/null and b/__screenshots__/Components/Modal/Default.png differ diff --git a/__screenshots__/Components/Pagination/Compact.png b/__screenshots__/Components/Pagination/Compact.png new file mode 100644 index 0000000000..357978dd44 Binary files /dev/null and b/__screenshots__/Components/Pagination/Compact.png differ diff --git a/__screenshots__/Components/Pagination/Default.png b/__screenshots__/Components/Pagination/Default.png new file mode 100644 index 0000000000..21faec4ad2 Binary files /dev/null and b/__screenshots__/Components/Pagination/Default.png differ diff --git a/__screenshots__/Components/Pagination/Hide Pages.png b/__screenshots__/Components/Pagination/Hide Pages.png new file mode 100644 index 0000000000..8be5e03779 Binary files /dev/null and b/__screenshots__/Components/Pagination/Hide Pages.png differ diff --git a/__screenshots__/Components/Pagination/Pages Set.png b/__screenshots__/Components/Pagination/Pages Set.png new file mode 100644 index 0000000000..5412866ff8 Binary files /dev/null and b/__screenshots__/Components/Pagination/Pages Set.png differ diff --git a/__screenshots__/Components/Pagination/Total Unknown.png b/__screenshots__/Components/Pagination/Total Unknown.png new file mode 100644 index 0000000000..4cf09f16bb Binary files /dev/null and b/__screenshots__/Components/Pagination/Total Unknown.png differ diff --git a/__screenshots__/Components/Persona/Clickable.png b/__screenshots__/Components/Persona/Clickable.png new file mode 100644 index 0000000000..e37d1370ef Binary files /dev/null and b/__screenshots__/Components/Persona/Clickable.png differ diff --git a/__screenshots__/Components/Persona/Closable.png b/__screenshots__/Components/Persona/Closable.png new file mode 100644 index 0000000000..05d3da8541 Binary files /dev/null and b/__screenshots__/Components/Persona/Closable.png differ diff --git a/__screenshots__/Components/Persona/Default.png b/__screenshots__/Components/Persona/Default.png new file mode 100644 index 0000000000..e37d1370ef Binary files /dev/null and b/__screenshots__/Components/Persona/Default.png differ diff --git a/__screenshots__/Components/Persona/Email.png b/__screenshots__/Components/Persona/Email.png new file mode 100644 index 0000000000..cd1abd8eaf Binary files /dev/null and b/__screenshots__/Components/Persona/Email.png differ diff --git a/__screenshots__/Components/Persona/Empty.png b/__screenshots__/Components/Persona/Empty.png new file mode 100644 index 0000000000..af7b2497b3 Binary files /dev/null and b/__screenshots__/Components/Persona/Empty.png differ diff --git a/__screenshots__/Components/Persona/Image.png b/__screenshots__/Components/Persona/Image.png new file mode 100644 index 0000000000..baf06ee3b0 Binary files /dev/null and b/__screenshots__/Components/Persona/Image.png differ diff --git a/__screenshots__/Components/Popover/Accessible.png b/__screenshots__/Components/Popover/Accessible.png new file mode 100644 index 0000000000..5d126c00ee Binary files /dev/null and b/__screenshots__/Components/Popover/Accessible.png differ diff --git a/__screenshots__/Components/Popover/Full Featured.png b/__screenshots__/Components/Popover/Full Featured.png new file mode 100644 index 0000000000..2b55e49fdf Binary files /dev/null and b/__screenshots__/Components/Popover/Full Featured.png differ diff --git a/__screenshots__/Components/Popover/Playground.png b/__screenshots__/Components/Popover/Playground.png new file mode 100644 index 0000000000..05e03fe706 Binary files /dev/null and b/__screenshots__/Components/Popover/Playground.png differ diff --git a/__screenshots__/Components/Popover/Size.png b/__screenshots__/Components/Popover/Size.png new file mode 100644 index 0000000000..27e377d6ae Binary files /dev/null and b/__screenshots__/Components/Popover/Size.png differ diff --git a/__screenshots__/Components/Popover/Theme.png b/__screenshots__/Components/Popover/Theme.png new file mode 100644 index 0000000000..be9f0f8760 Binary files /dev/null and b/__screenshots__/Components/Popover/Theme.png differ diff --git a/__screenshots__/Components/Popover/With Almost Long Action Items.png b/__screenshots__/Components/Popover/With Almost Long Action Items.png new file mode 100644 index 0000000000..2b55e49fdf Binary files /dev/null and b/__screenshots__/Components/Popover/With Almost Long Action Items.png differ diff --git a/__screenshots__/Components/Popover/With Custom Anchor.png b/__screenshots__/Components/Popover/With Custom Anchor.png new file mode 100644 index 0000000000..53d40c3acc Binary files /dev/null and b/__screenshots__/Components/Popover/With Custom Anchor.png differ diff --git a/__screenshots__/Components/Popover/With Long Action Items.png b/__screenshots__/Components/Popover/With Long Action Items.png new file mode 100644 index 0000000000..2b55e49fdf Binary files /dev/null and b/__screenshots__/Components/Popover/With Long Action Items.png differ diff --git a/__screenshots__/Components/Popup/Default.png b/__screenshots__/Components/Popup/Default.png new file mode 100644 index 0000000000..9dd0d57b1f Binary files /dev/null and b/__screenshots__/Components/Popup/Default.png differ diff --git a/__screenshots__/Components/Popup/Placement.png b/__screenshots__/Components/Popup/Placement.png new file mode 100644 index 0000000000..ef04ef03cb Binary files /dev/null and b/__screenshots__/Components/Popup/Placement.png differ diff --git a/__screenshots__/Components/Popup/Position.png b/__screenshots__/Components/Popup/Position.png new file mode 100644 index 0000000000..b4a4361044 Binary files /dev/null and b/__screenshots__/Components/Popup/Position.png differ diff --git a/__screenshots__/Components/Portal/Default.png b/__screenshots__/Components/Portal/Default.png new file mode 100644 index 0000000000..44704e2ea3 Binary files /dev/null and b/__screenshots__/Components/Portal/Default.png differ diff --git a/__screenshots__/Components/Progress/Animation.png b/__screenshots__/Components/Progress/Animation.png new file mode 100644 index 0000000000..3a9c7a9e43 Binary files /dev/null and b/__screenshots__/Components/Progress/Animation.png differ diff --git a/__screenshots__/Components/Progress/Default.png b/__screenshots__/Components/Progress/Default.png new file mode 100644 index 0000000000..247c1e6e34 Binary files /dev/null and b/__screenshots__/Components/Progress/Default.png differ diff --git a/__screenshots__/Components/Progress/Size.png b/__screenshots__/Components/Progress/Size.png new file mode 100644 index 0000000000..c984461407 Binary files /dev/null and b/__screenshots__/Components/Progress/Size.png differ diff --git a/__screenshots__/Components/Progress/Stack.png b/__screenshots__/Components/Progress/Stack.png new file mode 100644 index 0000000000..f2920f4d15 Binary files /dev/null and b/__screenshots__/Components/Progress/Stack.png differ diff --git a/__screenshots__/Components/Progress/Theme.png b/__screenshots__/Components/Progress/Theme.png new file mode 100644 index 0000000000..1ca96952bc Binary files /dev/null and b/__screenshots__/Components/Progress/Theme.png differ diff --git a/__screenshots__/Components/Radio/Default.png b/__screenshots__/Components/Radio/Default.png new file mode 100644 index 0000000000..e05edafbde Binary files /dev/null and b/__screenshots__/Components/Radio/Default.png differ diff --git a/__screenshots__/Components/Radio/Showcase.png b/__screenshots__/Components/Radio/Showcase.png new file mode 100644 index 0000000000..369e6a592c Binary files /dev/null and b/__screenshots__/Components/Radio/Showcase.png differ diff --git a/__screenshots__/Components/RadioButton/Default.png b/__screenshots__/Components/RadioButton/Default.png new file mode 100644 index 0000000000..51ccb61fc2 Binary files /dev/null and b/__screenshots__/Components/RadioButton/Default.png differ diff --git a/__screenshots__/Components/RadioButton/Showcase.png b/__screenshots__/Components/RadioButton/Showcase.png new file mode 100644 index 0000000000..5e0902d83b Binary files /dev/null and b/__screenshots__/Components/RadioButton/Showcase.png differ diff --git a/__screenshots__/Components/RadioGroup/Default.png b/__screenshots__/Components/RadioGroup/Default.png new file mode 100644 index 0000000000..b23d7ad56b Binary files /dev/null and b/__screenshots__/Components/RadioGroup/Default.png differ diff --git a/__screenshots__/Components/RadioGroup/Direction.png b/__screenshots__/Components/RadioGroup/Direction.png new file mode 100644 index 0000000000..db599d42b5 Binary files /dev/null and b/__screenshots__/Components/RadioGroup/Direction.png differ diff --git a/__screenshots__/Components/RadioGroup/Showcase.png b/__screenshots__/Components/RadioGroup/Showcase.png new file mode 100644 index 0000000000..36aa01475e Binary files /dev/null and b/__screenshots__/Components/RadioGroup/Showcase.png differ diff --git a/__screenshots__/Components/Select/Default.png b/__screenshots__/Components/Select/Default.png new file mode 100644 index 0000000000..af1274296e Binary files /dev/null and b/__screenshots__/Components/Select/Default.png differ diff --git a/__screenshots__/Components/Select/Popup Width.png b/__screenshots__/Components/Select/Popup Width.png new file mode 100644 index 0000000000..c123bed07d Binary files /dev/null and b/__screenshots__/Components/Select/Popup Width.png differ diff --git a/__screenshots__/Components/Select/Showcase.png b/__screenshots__/Components/Select/Showcase.png new file mode 100644 index 0000000000..2ec9c1476f Binary files /dev/null and b/__screenshots__/Components/Select/Showcase.png differ diff --git a/__screenshots__/Components/Sheet/Default.png b/__screenshots__/Components/Sheet/Default.png new file mode 100644 index 0000000000..56c6612a4d Binary files /dev/null and b/__screenshots__/Components/Sheet/Default.png differ diff --git a/__screenshots__/Components/Sheet/Showcase.png b/__screenshots__/Components/Sheet/Showcase.png new file mode 100644 index 0000000000..56c6612a4d Binary files /dev/null and b/__screenshots__/Components/Sheet/Showcase.png differ diff --git a/__screenshots__/Components/Sheet/With Menu Showcase.png b/__screenshots__/Components/Sheet/With Menu Showcase.png new file mode 100644 index 0000000000..961629f638 Binary files /dev/null and b/__screenshots__/Components/Sheet/With Menu Showcase.png differ diff --git a/__screenshots__/Components/Sheet/With Menu.png b/__screenshots__/Components/Sheet/With Menu.png new file mode 100644 index 0000000000..961629f638 Binary files /dev/null and b/__screenshots__/Components/Sheet/With Menu.png differ diff --git a/__screenshots__/Components/Skeleton/Default.png b/__screenshots__/Components/Skeleton/Default.png new file mode 100644 index 0000000000..9d3e9fcc31 Binary files /dev/null and b/__screenshots__/Components/Skeleton/Default.png differ diff --git a/__screenshots__/Components/Skeleton/Showcase.png b/__screenshots__/Components/Skeleton/Showcase.png new file mode 100644 index 0000000000..92e947c8ee Binary files /dev/null and b/__screenshots__/Components/Skeleton/Showcase.png differ diff --git a/__screenshots__/Components/Switch/Controlled.png b/__screenshots__/Components/Switch/Controlled.png new file mode 100644 index 0000000000..2554ba2966 Binary files /dev/null and b/__screenshots__/Components/Switch/Controlled.png differ diff --git a/__screenshots__/Components/Switch/Default.png b/__screenshots__/Components/Switch/Default.png new file mode 100644 index 0000000000..5059d29927 Binary files /dev/null and b/__screenshots__/Components/Switch/Default.png differ diff --git a/__screenshots__/Components/Switch/Disabled.png b/__screenshots__/Components/Switch/Disabled.png new file mode 100644 index 0000000000..d2a4177730 Binary files /dev/null and b/__screenshots__/Components/Switch/Disabled.png differ diff --git a/__screenshots__/Components/Switch/Label.png b/__screenshots__/Components/Switch/Label.png new file mode 100644 index 0000000000..181c95f6c5 Binary files /dev/null and b/__screenshots__/Components/Switch/Label.png differ diff --git a/__screenshots__/Components/Switch/Showcase.png b/__screenshots__/Components/Switch/Showcase.png new file mode 100644 index 0000000000..29b5b99b11 Binary files /dev/null and b/__screenshots__/Components/Switch/Showcase.png differ diff --git a/__screenshots__/Components/Switch/Size.png b/__screenshots__/Components/Switch/Size.png new file mode 100644 index 0000000000..955d5ae19f Binary files /dev/null and b/__screenshots__/Components/Switch/Size.png differ diff --git a/__screenshots__/Components/Table/Adaptive.png b/__screenshots__/Components/Table/Adaptive.png new file mode 100644 index 0000000000..555af92cb6 Binary files /dev/null and b/__screenshots__/Components/Table/Adaptive.png differ diff --git a/__screenshots__/Components/Table/Default.png b/__screenshots__/Components/Table/Default.png new file mode 100644 index 0000000000..caee3cbc85 Binary files /dev/null and b/__screenshots__/Components/Table/Default.png differ diff --git a/__screenshots__/Components/Table/Empty Custom.png b/__screenshots__/Components/Table/Empty Custom.png new file mode 100644 index 0000000000..9ad3f5199f Binary files /dev/null and b/__screenshots__/Components/Table/Empty Custom.png differ diff --git a/__screenshots__/Components/Table/Empty Default.png b/__screenshots__/Components/Table/Empty Default.png new file mode 100644 index 0000000000..8a678f98d8 Binary files /dev/null and b/__screenshots__/Components/Table/Empty Default.png differ diff --git a/__screenshots__/Components/Table/HOC With Table Actions.png b/__screenshots__/Components/Table/HOC With Table Actions.png new file mode 100644 index 0000000000..91220e014d Binary files /dev/null and b/__screenshots__/Components/Table/HOC With Table Actions.png differ diff --git a/__screenshots__/Components/Table/HOC With Table Copy.png b/__screenshots__/Components/Table/HOC With Table Copy.png new file mode 100644 index 0000000000..78ddbd8dc4 Binary files /dev/null and b/__screenshots__/Components/Table/HOC With Table Copy.png differ diff --git a/__screenshots__/Components/Table/HOC With Table Selection.png b/__screenshots__/Components/Table/HOC With Table Selection.png new file mode 100644 index 0000000000..a48fe3f3fb Binary files /dev/null and b/__screenshots__/Components/Table/HOC With Table Selection.png differ diff --git a/__screenshots__/Components/Table/HOC With Table Settings.png b/__screenshots__/Components/Table/HOC With Table Settings.png new file mode 100644 index 0000000000..0d88cc64a0 Binary files /dev/null and b/__screenshots__/Components/Table/HOC With Table Settings.png differ diff --git a/__screenshots__/Components/Table/HOC With Table Sorting.png b/__screenshots__/Components/Table/HOC With Table Sorting.png new file mode 100644 index 0000000000..4096c59d1d Binary files /dev/null and b/__screenshots__/Components/Table/HOC With Table Sorting.png differ diff --git a/__screenshots__/Components/Table/On Row Click.png b/__screenshots__/Components/Table/On Row Click.png new file mode 100644 index 0000000000..caee3cbc85 Binary files /dev/null and b/__screenshots__/Components/Table/On Row Click.png differ diff --git a/__screenshots__/Components/Tabs/Default.png b/__screenshots__/Components/Tabs/Default.png new file mode 100644 index 0000000000..1c0a275415 Binary files /dev/null and b/__screenshots__/Components/Tabs/Default.png differ diff --git a/__screenshots__/Components/Tabs/With Children.png b/__screenshots__/Components/Tabs/With Children.png new file mode 100644 index 0000000000..1c0a275415 Binary files /dev/null and b/__screenshots__/Components/Tabs/With Children.png differ diff --git a/__screenshots__/Components/Tabs/With Wrap To.png b/__screenshots__/Components/Tabs/With Wrap To.png new file mode 100644 index 0000000000..69c9e420d0 Binary files /dev/null and b/__screenshots__/Components/Tabs/With Wrap To.png differ diff --git a/__screenshots__/Components/Text/Default.png b/__screenshots__/Components/Text/Default.png new file mode 100644 index 0000000000..66bd2746ca Binary files /dev/null and b/__screenshots__/Components/Text/Default.png differ diff --git a/__screenshots__/Components/Text/Ellipsis.png b/__screenshots__/Components/Text/Ellipsis.png new file mode 100644 index 0000000000..c22f85b9b8 Binary files /dev/null and b/__screenshots__/Components/Text/Ellipsis.png differ diff --git a/__screenshots__/Components/Text/Using Text Utilities.png b/__screenshots__/Components/Text/Using Text Utilities.png new file mode 100644 index 0000000000..536889d92c Binary files /dev/null and b/__screenshots__/Components/Text/Using Text Utilities.png differ diff --git a/__screenshots__/Components/Text/Word Break.png b/__screenshots__/Components/Text/Word Break.png new file mode 100644 index 0000000000..ef72e6c5ea Binary files /dev/null and b/__screenshots__/Components/Text/Word Break.png differ diff --git a/__screenshots__/Components/TextArea/Default.png b/__screenshots__/Components/TextArea/Default.png new file mode 100644 index 0000000000..2dcd511bbc Binary files /dev/null and b/__screenshots__/Components/TextArea/Default.png differ diff --git a/__screenshots__/Components/TextArea/Showcase.png b/__screenshots__/Components/TextArea/Showcase.png new file mode 100644 index 0000000000..36dda356dd Binary files /dev/null and b/__screenshots__/Components/TextArea/Showcase.png differ diff --git a/__screenshots__/Components/TextInput/Default.png b/__screenshots__/Components/TextInput/Default.png new file mode 100644 index 0000000000..2dcd511bbc Binary files /dev/null and b/__screenshots__/Components/TextInput/Default.png differ diff --git a/__screenshots__/Components/TextInput/Showcase.png b/__screenshots__/Components/TextInput/Showcase.png new file mode 100644 index 0000000000..56a8d72be8 Binary files /dev/null and b/__screenshots__/Components/TextInput/Showcase.png differ diff --git a/__screenshots__/Components/Toaster/Default.png b/__screenshots__/Components/Toaster/Default.png new file mode 100644 index 0000000000..1cb331e23f Binary files /dev/null and b/__screenshots__/Components/Toaster/Default.png differ diff --git a/__screenshots__/Components/Tooltip/Default.png b/__screenshots__/Components/Tooltip/Default.png new file mode 100644 index 0000000000..fd1f706c1c Binary files /dev/null and b/__screenshots__/Components/Tooltip/Default.png differ diff --git a/__screenshots__/Components/User/Default.png b/__screenshots__/Components/User/Default.png new file mode 100644 index 0000000000..1ec934b102 Binary files /dev/null and b/__screenshots__/Components/User/Default.png differ diff --git a/__screenshots__/Components/UserAvatar/Default.png b/__screenshots__/Components/UserAvatar/Default.png new file mode 100644 index 0000000000..dc5a7b098b Binary files /dev/null and b/__screenshots__/Components/UserAvatar/Default.png differ diff --git a/__screenshots__/Components/UserAvatar/Size.png b/__screenshots__/Components/UserAvatar/Size.png new file mode 100644 index 0000000000..4a12130b0e Binary files /dev/null and b/__screenshots__/Components/UserAvatar/Size.png differ diff --git a/__screenshots__/Components/UserAvatar/With Src Set.png b/__screenshots__/Components/UserAvatar/With Src Set.png new file mode 100644 index 0000000000..9d3e9fcc31 Binary files /dev/null and b/__screenshots__/Components/UserAvatar/With Src Set.png differ diff --git a/__screenshots__/Hooks/useFileInput/Default.png b/__screenshots__/Hooks/useFileInput/Default.png new file mode 100644 index 0000000000..bddd9ee573 Binary files /dev/null and b/__screenshots__/Hooks/useFileInput/Default.png differ diff --git a/__screenshots__/Layout/Col/All Mods.png b/__screenshots__/Layout/Col/All Mods.png new file mode 100644 index 0000000000..b6a747e9b1 Binary files /dev/null and b/__screenshots__/Layout/Col/All Mods.png differ diff --git a/__screenshots__/Layout/Col/Dynamic.png b/__screenshots__/Layout/Col/Dynamic.png new file mode 100644 index 0000000000..101d2e0bd5 Binary files /dev/null and b/__screenshots__/Layout/Col/Dynamic.png differ diff --git a/__screenshots__/Layout/Col/Static.png b/__screenshots__/Layout/Col/Static.png new file mode 100644 index 0000000000..9cbf4cd4b6 Binary files /dev/null and b/__screenshots__/Layout/Col/Static.png differ diff --git a/__screenshots__/Layout/Container/Default.png b/__screenshots__/Layout/Container/Default.png new file mode 100644 index 0000000000..469d00b635 Binary files /dev/null and b/__screenshots__/Layout/Container/Default.png differ diff --git a/__screenshots__/Layout/Flex/Children With Bg Color.png b/__screenshots__/Layout/Flex/Children With Bg Color.png new file mode 100644 index 0000000000..fa4e4a1051 Binary files /dev/null and b/__screenshots__/Layout/Flex/Children With Bg Color.png differ diff --git a/__screenshots__/Layout/Flex/Default.png b/__screenshots__/Layout/Flex/Default.png new file mode 100644 index 0000000000..5e353c7e2d Binary files /dev/null and b/__screenshots__/Layout/Flex/Default.png differ diff --git a/__screenshots__/Layout/Flex/Flex Gap.png b/__screenshots__/Layout/Flex/Flex Gap.png new file mode 100644 index 0000000000..d8c9b761e9 Binary files /dev/null and b/__screenshots__/Layout/Flex/Flex Gap.png differ diff --git a/__screenshots__/Layout/Flex/Gap And Row Gap.png b/__screenshots__/Layout/Flex/Gap And Row Gap.png new file mode 100644 index 0000000000..3291c8a581 Binary files /dev/null and b/__screenshots__/Layout/Flex/Gap And Row Gap.png differ diff --git a/__screenshots__/Layout/Flex/With Null Children.png b/__screenshots__/Layout/Flex/With Null Children.png new file mode 100644 index 0000000000..024c64966d Binary files /dev/null and b/__screenshots__/Layout/Flex/With Null Children.png differ diff --git a/__screenshots__/Layout/Layout.png b/__screenshots__/Layout/Layout.png new file mode 100644 index 0000000000..9d3e9fcc31 Binary files /dev/null and b/__screenshots__/Layout/Layout.png differ diff --git a/__screenshots__/Layout/Row/Default.png b/__screenshots__/Layout/Row/Default.png new file mode 100644 index 0000000000..b132f0204f Binary files /dev/null and b/__screenshots__/Layout/Row/Default.png differ diff --git a/__screenshots__/Layout/Row/Zero Spacings.png b/__screenshots__/Layout/Row/Zero Spacings.png new file mode 100644 index 0000000000..7f109c2764 Binary files /dev/null and b/__screenshots__/Layout/Row/Zero Spacings.png differ diff --git a/__screenshots__/Typography/Fonts.png b/__screenshots__/Typography/Fonts.png new file mode 100644 index 0000000000..30ac785a3f Binary files /dev/null and b/__screenshots__/Typography/Fonts.png differ diff --git a/__screenshots__/Typography/Variants.png b/__screenshots__/Typography/Variants.png new file mode 100644 index 0000000000..55cdba360e Binary files /dev/null and b/__screenshots__/Typography/Variants.png differ diff --git a/package-lock.json b/package-lock.json index 8379041145..6cc4c0e74e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -77,6 +77,7 @@ "rimraf": "^3.0.2", "sass": "^1.66.1", "sass-loader": "^13.3.2", + "storycap": "^4.2.0", "stylelint": "^14.16.1", "ts-jest": "^29.1.1", "typescript": "^4.9.5" @@ -3384,6 +3385,21 @@ "integrity": "sha512-C7uWrCTD6g+rvSFYTPaOMMf4YUWyA5eRSXsJ1AsigGc7yQC/lhugGNqeUo5efz+zpmZ80oG/BIJPCx0nIZizDg==", "dev": true }, + "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.10", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", @@ -5103,6 +5119,27 @@ "@babel/runtime": "^7.13.10" } }, + "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", @@ -7453,6 +7490,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", @@ -7587,12 +7634,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": "20.4.7", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.7.tgz", @@ -7701,6 +7763,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/scheduler": { "version": "0.16.3", "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", @@ -7762,6 +7834,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/yargs": { "version": "17.0.24", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.24.tgz", @@ -7777,6 +7858,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.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", @@ -9004,6 +9095,30 @@ "node": ">=4" } }, + "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/axobject-query": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz", @@ -11326,6 +11441,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", @@ -13563,6 +13684,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", @@ -18479,6 +18620,19 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "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-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -22814,6 +22968,15 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -22849,6 +23012,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/sass": { "version": "1.66.1", "resolved": "https://registry.npmjs.org/sass/-/sass-1.66.1.tgz", @@ -23796,6 +23968,461 @@ "integrity": "sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==", "dev": true }, + "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/node": { + "version": "18.17.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", + "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==", + "dev": true + }, + "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/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/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "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/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "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/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/storycap/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "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/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "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/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/storycap/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "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/@types/node": { + "version": "18.17.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", + "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==", + "dev": true + }, + "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/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "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/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/storycrawler/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/storycrawler/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "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/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", @@ -25015,6 +25642,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", @@ -25336,6 +25972,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", @@ -25758,6 +26404,12 @@ } } }, + "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": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", @@ -25981,6 +26633,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 d00fc3873e..863024637c 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watchAll", + "test:visual": "npx storycap http://localhost:7007", "clean": "gulp clean", "build": "gulp", "start": "sb dev -p 7007", @@ -142,6 +143,7 @@ "rimraf": "^3.0.2", "sass": "^1.66.1", "sass-loader": "^13.3.2", + "storycap": "^4.2.0", "stylelint": "^14.16.1", "ts-jest": "^29.1.1", "typescript": "^4.9.5" diff --git a/src/components/Persona/__stories__/Persona.stories.tsx b/src/components/Persona/__stories__/Persona.stories.tsx index 94cca93833..8d5adec158 100644 --- a/src/components/Persona/__stories__/Persona.stories.tsx +++ b/src/components/Persona/__stories__/Persona.stories.tsx @@ -26,12 +26,22 @@ Image.args = { text: person, image: personImg, }; +Image.parameters = { + screenshot: { + skip: true, + }, +}; export const Email = Template.bind({}); Email.args = { text: email, type: 'email', }; +Email.parameters = { + screenshot: { + skip: true, + }, +}; export const Empty = Template.bind({}); Empty.args = { diff --git a/src/components/Spin/__stories__/Spin.stories.tsx b/src/components/Spin/__stories__/Spin.stories.tsx index 153ee84c3c..95c49a7d36 100644 --- a/src/components/Spin/__stories__/Spin.stories.tsx +++ b/src/components/Spin/__stories__/Spin.stories.tsx @@ -8,6 +8,11 @@ import type {SpinProps} from '../Spin'; export default { title: 'Components/Spin', component: Spin, + parameters: { + screenshot: { + skip: true, + }, + }, } as Meta; const DefaultTemplate: StoryFn = (args) => ; diff --git a/src/stories/Branding/Example.stories.tsx b/src/stories/Branding/Example.stories.tsx index 535252d9d6..f2f5963dad 100644 --- a/src/stories/Branding/Example.stories.tsx +++ b/src/stories/Branding/Example.stories.tsx @@ -6,6 +6,11 @@ import {BrandingConfigurator} from './BrandingConfugurator/BrandingConfigurator' export default { title: 'Branding/Example', + parameters: { + screenshot: { + skip: true, + }, + }, } as Meta; export const Example: StoryFn = (_, ctx) => { diff --git a/src/stories/Branding/PaletteGenerator.stories.tsx b/src/stories/Branding/PaletteGenerator.stories.tsx index 79f4786beb..bcc78cb024 100644 --- a/src/stories/Branding/PaletteGenerator.stories.tsx +++ b/src/stories/Branding/PaletteGenerator.stories.tsx @@ -6,6 +6,11 @@ import {PaletteGenerator} from './PaletteGenerator/PaletteGenerator'; export default { title: 'Branding/Palette Generator', + parameters: { + screenshot: { + skip: true, + }, + }, } as Meta; export const Default: StoryFn = (_, ctx) => {