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

Migrate to sku version 13, and fix minor bug in useToast for React 18.3.0 #1534

Merged
merged 8 commits into from
Jul 22, 2024

Conversation

felixhabib
Copy link
Contributor

Migrating to sku 13, involving a few supporting changes:

  • Handles Storybook configuration, replacing dist-storybook uses with the default storybook-static
  • Updates component contracts to support new HTML properties
  • Fixes minor bug in useToast. Remove key as a provided value in one use of addToast to prevent warning in React 18.3.0 (Warn when spreading key)

@felixhabib felixhabib requested a review from a team as a code owner July 15, 2024 01:03
Copy link

changeset-bot bot commented Jul 15, 2024

🦋 Changeset detected

Latest commit: 7e79f8b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
braid-design-system Patch
@braid-design-system/integration-tests Patch
site Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Co-authored-by: Michael Taranto <michaeltaranto@users.noreply.github.com>
Comment on lines +2 to +3
// Todo - shouldn't need eslint disable
// eslint-disable-next-line import/no-unresolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Any ideas on what is happening here?

Copy link
Contributor Author

@felixhabib felixhabib Jul 15, 2024

Choose a reason for hiding this comment

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

Not sure currently, we have the same issue in Metropolis. Even though the IDE is able to find the plugin it shows a lint error

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's an eslint-plugin-import issue import-js/eslint-plugin-import#1810.

Supposedly using eslint-import-resolver-typescript fixes it, but we already use it in eslint-config-seek, so I'm not sure why it's not working. Could be because this is in a .js file, so the typescript resolver doesn't get used.

Not worth fussing over IMO.

@felixhabib felixhabib merged commit 33efcf5 into master Jul 22, 2024
6 checks passed
@felixhabib felixhabib deleted the sku-13-migration-2 branch July 22, 2024 02:01
@seek-oss-ci seek-oss-ci mentioned this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants