@storybook/addon-viewport version 7.3.1 is a minor release following closely on the heels of version 7.3.0, both designed to empower developers to build and test responsive components directly within Storybook. This addon allows for dynamic adjustment of the Storybook viewport, simulating various screen sizes and orientations for a comprehensive responsive design workflow. Key features include the ability to define custom viewports, pre-set device profiles, and easy switching between different viewport configurations within the Storybook UI.
While the core functionality remains consistent between versions 7.3.0 and 7.3.1, the primary difference lies in the synchronized versioning of its internal dependencies. Specifically, version 7.3.1 upgrades the @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger dependencies to version 7.3.1, aligning everything with the latest Storybook ecosystem releases. This ensures compatibility and access to any underlying bug fixes or performance improvements introduced in those core packages. For developers, this means a smoother integration within their Storybook projects and a reduced risk of dependency conflicts. If you are already using 7.3.0, updating to 7.3.1 is recommended to maintain optimal stability and take advantage of the latest Storybook enhancements.
The are not vulnerabilities for the version 7.3.1 of the package @storybook/addon-viewport