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

BREAKING CHANGE(web-react): Rename Tabs props and clean up its types #DS-1096 #1405

Merged
merged 2 commits into from
May 14, 2024

Conversation

crishpeen
Copy link
Member

Description

Additional context

Issue reference

@github-actions github-actions bot added the BC Breaking change label May 9, 2024
Copy link

netlify bot commented May 9, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit 88454e6
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/66432d2ffbf1800007a18193
😎 Deploy Preview https://deploy-preview-1405--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@curdaj curdaj force-pushed the integration/release-v2 branch from 6212b9d to 6bafe41 Compare May 9, 2024 09:31
@literat
Copy link
Collaborator

literat commented May 9, 2024

@crishpeen Please, rebase this first.

@crishpeen crishpeen force-pushed the bc/react-tabs-props branch from 3e4ae81 to ffb2eef Compare May 9, 2024 11:36
@coveralls
Copy link

coveralls commented May 9, 2024

Coverage Status

coverage: 80.157% (+0.2%) from 79.967%
when pulling 88454e6 on bc/react-tabs-props
into aefa9f7 on integration/release-v2.

@curdaj
Copy link
Contributor

curdaj commented May 9, 2024

I've added a few comments in test files, but It could be a topic for discussion about how to write them. So please just take it as an idea.

Copy link
Contributor

@adamkudrna adamkudrna left a comment

Choose a reason for hiding this comment

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

TBH, I don't quite understand all the changes here, but the fix of the API looks good to me.

I also expect there will be an ongoing discussion about Twig vs. React Tabs.

crishpeen added 2 commits May 14, 2024 11:21
…#DS-1096

Rename TabItem prop `forTab` to `forTabPane`.
Rename TabPane prop `tabId` to `id`.

See the Tabs: TabItem and TabPane Props section in the web-react
package Migration Guide to version 2.
Rename TabItem prop `forTab` to `forTabPane`.
Rename TabPane prop `tabId` to `id`.
@crishpeen crishpeen force-pushed the bc/react-tabs-props branch from 34a2319 to 88454e6 Compare May 14, 2024 09:21
@crishpeen crishpeen merged commit 506f268 into integration/release-v2 May 14, 2024
20 checks passed
@crishpeen crishpeen deleted the bc/react-tabs-props branch May 14, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants