-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(deps): Bump the storybook group with 14 updates #6741
build(deps): Bump the storybook group with 14 updates #6741
Conversation
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
e2e tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6741 +/- ##
=======================================
Coverage 82.39% 82.39%
=======================================
Files 336 336
Lines 10357 10357
Branches 3467 3467
=======================================
Hits 8534 8534
Misses 1823 1823
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
👀 Docs deployed
Commit 09b9c04 |
0dda738
to
9aead56
Compare
Bumps the storybook group with 14 updates: | Package | From | To | | --- | --- | --- | | [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `7.6.17` | `8.0.4` | | [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/a11y) | `7.6.17` | `8.0.4` | | [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions) | `7.6.17` | `8.0.4` | | [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | `7.6.17` | `8.0.4` | | [@storybook/addon-interactions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/interactions) | `7.6.17` | `8.0.4` | | [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `7.6.17` | `8.0.4` | | [@storybook/blocks](https://github.com/storybookjs/storybook/tree/HEAD/code/ui/blocks) | `7.6.17` | `8.0.4` | | [@storybook/components](https://github.com/storybookjs/storybook/tree/HEAD/code/ui/components) | `7.6.17` | `8.0.4` | | [@storybook/manager-api](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/manager-api) | `7.6.17` | `8.0.4` | | [@storybook/preview-api](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/preview-api) | `7.6.17` | `8.0.4` | | [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `7.6.17` | `8.0.4` | | [@storybook/react-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-webpack5) | `7.6.17` | `8.0.4` | | [@storybook/theming](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/theming) | `7.6.17` | `8.0.4` | | [@storybook/types](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/types) | `7.6.17` | `8.0.4` | Updates `storybook` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/lib/cli) Updates `@storybook/addon-a11y` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/addons/a11y) Updates `@storybook/addon-actions` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/addons/actions) Updates `@storybook/addon-essentials` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/addons/essentials) Updates `@storybook/addon-interactions` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/addons/interactions) Updates `@storybook/addon-links` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/addons/links) Updates `@storybook/blocks` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/ui/blocks) Updates `@storybook/components` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/ui/components) Updates `@storybook/manager-api` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/lib/manager-api) Updates `@storybook/preview-api` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/lib/preview-api) Updates `@storybook/react` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/renderers/react) Updates `@storybook/react-webpack5` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/frameworks/react-webpack5) Updates `@storybook/theming` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/lib/theming) Updates `@storybook/types` from 7.6.17 to 8.0.4 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.0.4/code/lib/types) --- updated-dependencies: - dependency-name: storybook dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/addon-a11y" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/addon-actions" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/addon-essentials" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/addon-interactions" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/addon-links" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/blocks" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/components" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/manager-api" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/preview-api" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/react" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/react-webpack5" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/theming" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook - dependency-name: "@storybook/types" dependency-type: direct:production update-type: version-update:semver-major dependency-group: storybook ... Signed-off-by: dependabot[bot] <[email protected]>
9aead56
to
14df945
Compare
If we really need it we should explicitely assign https://github.com/storybookjs/storybook/blob/4c9967b2c3933930cc7926c214a41f64e475d610/MIGRATION.md#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function import { fn } from "@storybook/test"; export default { component: Button, args: { onClick: fn(), }, }; export const ButtonClick = { play: async ({ args, canvasElement }) => { await userEvent.click(within(canvasElement).getByRole("button")); await expect(args.onClick).toHaveBeenCalled(); }, };
To show the on the Actions tab Make it close to the previous verions of Storybook. In previous version we were using actions: { argTypesRegex: '^on.*' }, which is not recommended anymore See: https://storybook.js.org/docs/essentials/actions#action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🤝 🙏
Ещё остались иконки устаревшие в HasPointer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
По поводу вкладки Возможно, что логика вызова этого события слишком мудрёная. Возможно, что и обычный аддон Storybook не будет показывать исходники, раз он тоже на это событие завязан. В общем тут только один выход, можно нажать на иконку 'Reload Story' и тогда исходники появятся. Причём вызов событий типа |
Обновление до мажорной (8.0.4) версии Storybook.
Изменения
@storybook/icons
..stories.mdx
больше не поддерживается и следует использовать просто.mdx
. Затронуло только пару файлов, в таком формате. Их достаточно было просто переименовать. [doc]react-docgen
, но поддержкаreact-docgen-typescript
остаётся и, на сколько я понимаю, он нам больше подходит так что просто добавил опцию чтобы использовалсяreact-docgen-typescript
actions: { argTypesRegex: '^on[A-Z].*' }
глобально больше не поддерживается. Это настройка чтобы во вкладке actions логировались вызова обработчиков типа onClick, onChage и так далее. Рекомендуют точечно это задавать, если нужно. Я руками проставил в большинстве компонентов, где у нас это в мастере срабатывает.Dependabot description
Bumps the storybook group with 14 updates:
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
7.6.17
8.0.4
Updates
storybook
from 7.6.17 to 8.0.4Release notes
Sourced from storybook's releases.
... (truncated)
Changelog
Sourced from storybook's changelog.
Commits
b66dfe0
Bump version from "8.0.3" to "8.0.4" [skip ci]5149d0f
Merge pull request #26585 from storybookjs/yann/fix-installations-commandf55cb57
Merge pull request #26515 from storybookjs/norbert/fix-mention-next-in-clif30d120
Bump version from "8.0.2" to "8.0.3" [skip ci]01c44fb
Bump version from "8.0.1" to "8.0.2" [skip ci]ef0b71b
Merge pull request #26500 from storybookjs/valentin/use-npm-over-yarn1-while-...9975199
Bump version from "8.0.0" to "8.0.1" [skip ci]7750f00
Fix49f18e8
Bump version from "8.0.0-rc.5" to "8.0.0" [skip ci]9050c69
Bump version from "8.0.0-rc.4" to "8.0.0-rc.5" [skip ci]Updates
@storybook/addon-a11y
from 7.6.17 to 8.0.4Release notes
Sourced from
@storybook/addon-a11y
's releases.... (truncated)
Changelog
Sourced from
@storybook/addon-a11y
's changelog.Commits
b66dfe0
Bump version from "8.0.3" to "8.0.4" [skip ci]f30d120
Bump version from "8.0.2" to "8.0.3" [skip ci]01c44fb
Bump version from "8.0.1" to "8.0.2" [skip ci]6c159e1
Merge pull request #26481 from storybookjs/feat/addon-panel-empty-state9975199
Bump version from "8.0.0" to "8.0.1" [skip ci]49f18e8
Bump version from "8.0.0-rc.5" to "8.0.0" [skip ci]9050c69
Bump version from "8.0.0-rc.4" to "8.0.0-rc.5" [skip ci]bfa0570
Bump version from "8.0.0-rc.3" to "8.0.0-rc.4" [skip ci]d6f8526
Bump version from "8.0.0-rc.2" to "8.0.0-rc.3" [skip ci]ebec658
Bump version from "8.0.0-rc.1" to "8.0.0-rc.2" [skip ci]Updates
@storybook/addon-actions
from 7.6.17 to 8.0.4Release notes
Sourced from
@storybook/addon-actions
's releases.... (truncated)
Changelog
Sourced from
@storybook/addon-actions
's changelog.Commits
b66dfe0
Bump version from "8.0.3" to "8.0.4" [skip ci]f30d120
Bump version from "8.0.2" to "8.0.3" [skip ci]01c44fb
Bump version from "8.0.1" to "8.0.2" [skip ci]9975199
Bump version from "8.0.0" to "8.0.1" [skip ci]687073b
Merge pull request #26524 from storybookjs/fix-ts-expect-errors49f18e8
Bump version from "8.0.0-rc.5" to "8.0.0" [skip ci]9050c69
Bump version from "8.0.0-rc.4" to "8.0.0-rc.5" [skip ci]bfa0570
Bump version from "8.0.0-rc.3" to "8.0.0-rc.4" [skip ci]32de171
Add a comment1d76565
Fix attaching action, after a spy is restored to the original implementationUpdates
@storybook/addon-essentials
from 7.6.17 to 8.0.4Release notes
Sourced from
@storybook/addon-essentials
's releases.... (truncated)
Changelog
Sourced from
@storybook/addon-essentials
's changelog.Commits
b66dfe0
Bump version from "8.0.3" to "8.0.4" [skip ci]f30d120
Bump version from "8.0.2" to "8.0.3" [skip ci]01c44fb
Bump version from "8.0.1" to "8.0.2" [skip ci]9975199
Bump version from "8.0.0" to "8.0.1" [skip ci]49f18e8
Bump version from "8.0.0-rc.5" to "8.0.0" [skip ci]9050c69
Bump version from "8.0.0-rc.4" to "8.0.0-rc.5" [skip ci]bfa0570
Bump version from "8.0.0-rc.3" to "8.0.0-rc.4" [skip ci]d6f8526
Bump version from "8.0.0-rc.2" to "8.0.0-rc.3" [skip ci]ebec658
Bump version from "8.0.0-rc.1" to "8.0.0-rc.2" [skip ci]68f1b28
Bump version from "8.0.0-rc.0" to "8.0.0-rc.1" [skip ci]Updates
@storybook/addon-interactions
from 7.6.17 to 8.0.4Release notes
Sourced from
@storybook/addon-interactions
's releases.... (truncated)
Changelog
Sourced from
@storybook/addon-interactions
's changelog.Commits
b66dfe0
Bump version from "8.0.3" to "8.0.4" [skip ci]f30d120
Bump version from "8.0.2" to "8.0.3" [skip ci]01c44fb
Bump version from "8.0.1" to "8.0.2" [skip ci]6c159e1
Merge pull request #26481 from storybookjs/feat/addon-panel-empty-state9975199
Bump version from "8.0.0" to "8.0.1" [skip ci]a4fc840
Merge pull request #26411 from storybookjs/kasper/perf-regressions49f18e8
Bump version from "8.0.0-rc.5" to "8.0.0" [skip ci]9050c69
Bump version from "8.0.0-rc.4" to "8.0.0-rc.5" [skip ci]bfa0570
Bump version from "8.0.0-rc.3" to "8.0.0-rc.4" [skip ci]3fc8363
Merge pull request #26351 from storybookjs/norbert/remove-testing-libUpdates
@storybook/addon-links
from 7.6.17 to 8.0.4Release notes
Sourced from
@storybook/addon-links
's releases.