Skip to content
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

[7.17] Sync Storybook version #159854

Merged
merged 19 commits into from
Jun 27, 2023
Merged

Conversation

Ikuni17
Copy link
Contributor

@Ikuni17 Ikuni17 commented Jun 15, 2023

Brings 7.17 Storybook version in sync with main. Closes #159508. Refer to issue for PRs which were backported.

@Ikuni17 Ikuni17 self-assigned this Jun 15, 2023
Comment on lines +33 to +34
// FAILING: https://github.com/elastic/kibana/issues/141543
describe.skip('renderApp (APM)', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test has a known issue (#141543) and doesn't exist on main anymore. I'm guessing the React upgrade caused it to resurface here.

@elastic elastic deleted a comment from kibana-ci Jun 20, 2023
@elastic elastic deleted a comment from kibana-ci Jun 20, 2023
@elastic elastic deleted a comment from kibana-ci Jun 20, 2023
@Ikuni17 Ikuni17 added release_note:skip Skip the PR/issue when compiling release notes backport labels Jun 20, 2023
* Update Storybook to 6.5

* Add @types/react-syntax-highlighter

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix type error

* include some deduping and patch version bumping to encourage yarn to do the right thing

* fix path to canvas addon

* remove addon build

* fix some type issues

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* 6.5.12

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spencer@elastic.co>
@elastic elastic deleted a comment from kibana-ci Jun 21, 2023
renovate bot and others added 2 commits June 21, 2023 15:06
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/addon-a11y](https://togithub.com/storybookjs/storybook/tree/main/addons/a11y)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-a11y/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-a11y/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-a11y/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-a11y/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-a11y/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addon-actions](https://togithub.com/storybookjs/storybook/tree/main/addons/actions)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-actions/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addon-controls](https://togithub.com/storybookjs/storybook/tree/next/addons/controls)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-controls/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-controls/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-controls/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-controls/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-controls/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addon-docs](https://togithub.com/storybookjs/storybook/tree/main/addons/docs)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-docs/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-docs/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-docs/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-docs/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-docs/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/main/addons/essentials)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addon-storyshots](https://togithub.com/storybookjs/storybook/tree/main/addons/storyshots/storyshots-core)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-storyshots/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-storyshots/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-storyshots/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-storyshots/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-storyshots/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/addons](https://togithub.com/storybookjs/storybook/tree/main/lib/addons)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddons/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddons/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddons/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddons/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddons/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/api](https://togithub.com/storybookjs/storybook/tree/main/lib/api)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fapi/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fapi/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fapi/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fapi/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fapi/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/client-api](https://togithub.com/storybookjs/storybook/tree/main/lib/client-api)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fclient-api/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fclient-api/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fclient-api/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fclient-api/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fclient-api/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/components](https://togithub.com/storybookjs/storybook/tree/main/lib/components)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fcomponents/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fcomponents/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fcomponents/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fcomponents/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fcomponents/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/core](https://togithub.com/storybookjs/storybook/tree/main/lib/core)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fcore/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fcore/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fcore/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fcore/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fcore/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/core-common](https://togithub.com/storybookjs/storybook/tree/main/lib/core)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fcore-common/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-common/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-common/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-common/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-common/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/core-events](https://togithub.com/storybookjs/storybook/tree/main/lib/core-events)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fcore-events/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-events/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-events/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-events/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fcore-events/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/node-logger](https://togithub.com/storybookjs/storybook/tree/main/lib/node-logger)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fnode-logger/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fnode-logger/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fnode-logger/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fnode-logger/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fnode-logger/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/preview-web](https://togithub.com/storybookjs/storybook/tree/main/lib/preview-web)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2fpreview-web/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2fpreview-web/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2fpreview-web/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2fpreview-web/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2fpreview-web/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/react](https://togithub.com/storybookjs/storybook/tree/main/app/react)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2freact/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@storybook/theming](https://togithub.com/storybookjs/storybook/tree/main/lib/theming)
([source](https://togithub.com/storybookjs/storybook)) | [`^6.5.15` ->
`^6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2ftheming/6.5.15/6.5.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2ftheming/6.5.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2ftheming/6.5.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2ftheming/6.5.16/compatibility-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2ftheming/6.5.16/confidence-slim/6.5.15)](https://docs.renovatebot.com/merge-confidence/)
|

---

<details>
<summary>storybookjs/storybook</summary>

[`v6.5.16`](https://togithub.com/storybookjs/storybook/releases/tag/v6.5.16)

[Compare
Source](https://togithub.com/storybookjs/storybook/compare/v6.5.15...v6.5.16)

- Angular: Fix handling of docsMode option in angular builder
[#&elastic#8203;20608](https://togithub.com/storybooks/storybook/pull/20608)
- Angular: Fix webpackStatsJson types in angular-builder
[#&elastic#8203;20296](https://togithub.com/storybooks/storybook/pull/20296)

- Security: Upgrade json5 dependency
[#&elastic#8203;20526](https://togithub.com/storybooks/storybook/pull/20526)

</details>

---

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM0LjExOS41In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jon <jon@elastic.co>
@Ikuni17
Copy link
Contributor Author

Ikuni17 commented Jun 22, 2023

There are some issues in the SB preview, but they are also present in #160221. Unsure how long they have existed, or if they are a concern. If so, I'd say we open a separate issue to fix them.

@Ikuni17 Ikuni17 marked this pull request as ready for review June 22, 2023 17:22
@Ikuni17 Ikuni17 requested a review from a team June 22, 2023 17:23
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/storybook 20 29 +9

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 2.4MB 2.4MB +69.0B
securitySolution 4.7MB 4.7MB +10.0B
total +79.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
kibana 863 869 +6

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-css 597.0KB 599.0KB +2.0KB
kbnUiSharedDeps-npmDll 5.7MB 5.7MB -390.0B
total +1.6KB
Unknown metric groups

API count

id before after diff
@kbn/storybook 20 39 +19

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @Ikuni17

@Ikuni17 Ikuni17 merged commit 0b080cd into elastic:7.17 Jun 27, 2023
@Ikuni17 Ikuni17 deleted the chore/159508/sync-storybook branch June 27, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:build-storybooks release_note:skip Skip the PR/issue when compiling release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants