storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.68k stars 9.32k forks source link

fix(addon-toolbars): suppress deprecation warning #29545

Open ValeraS opened 1 week ago

ValeraS commented 1 week ago

Closes #25760

What I did

Removed deprecation warnings

image

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

Manual testing

  1. Run a sandbox yarn start
  2. Open Storybook in your browser
  3. Open Theme menu
  4. There are no warnings in the console

Documentation

Checklist for Maintainers

šŸ¦‹ Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

_core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>_

Greptile Summary

Adds __suppressDeprecationWarning prop to Icons component in the toolbar addon to temporarily silence console warnings about deprecated icon usage.

nx-cloud[bot] commented 4 days ago

ā˜ļø Nx Cloud Report

CI is running/has finished running commands for commit 1bf3b54b3442377b6f418715a944b91d42f0b4fc. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

šŸ“‚ See all runs for this CI Pipeline Execution


āœ… Successfully ran 1 target - [`nx run-many -t build --parallel=3`](https://cloud.nx.app/runs/u9epRfd3vF?utm_source=pull-request&utm_medium=comment)

Sent with šŸ’Œ from NxCloud.