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

fix(Slug): updates Slug styles to match new floating-ui selectors #16039

Conversation

tw15egan
Copy link
Collaborator

Closes #15935

Updates Slug so that only the new (for the most part) controls show up instorybook, and aligns the styles so that they display properly. I don't think there is a way to throw deprecate warnings for some items inside PropTypes.oneOf, if there is let me know 👍

Changelog

New

  • Updated selectors to match new floating-ui logical properties
  • Updated storybook controls to only show valid options in the select dropdown (old props still show in the control table)

Removed

Testing / Reviewing

Ensure all align orientations work in the unstable__slug --> callout story

Copy link

netlify bot commented Mar 22, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 2ebb7bd
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/660d81db432312000838d53e
😎 Deploy Preview https://deploy-preview-16039--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

LGTM, just needs a snapshot update I think

@tw15egan tw15egan requested a review from a team as a code owner March 26, 2024 22:30
@tw15egan
Copy link
Collaborator Author

@andreancardona just need a thumbs up here and it should be good to merge

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

looks good!

@andreancardona andreancardona added this pull request to the merge queue Apr 3, 2024
Merged via the queue into carbon-design-system:main with commit c573f97 Apr 3, 2024
20 checks passed
preetibansalui pushed a commit to tay1orjones/carbon that referenced this pull request Apr 24, 2024
…rbon-design-system#16039)

* fix(Slug): updates Slug styles to match new floating-ui selectors

* chore: update snapshot

---------

Co-authored-by: Andrea N. Cardona <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Slug storybook controls using outdated alignments
3 participants