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

feat(SideNav): Implementation, Documentation, Tests #2167

Merged
merged 104 commits into from
May 28, 2024

Conversation

saurabhdaware
Copy link
Member

@saurabhdaware saurabhdaware commented May 10, 2024

Description

This PR has

  • Implementation
  • Documentation
  • Tests

Note

Don't be scared of seeing 6k+ changes. Its just documentation, snapshots, tests, etc

Changes

Additional Information

Component Checklist

  • Update Component Status Page
  • Perform Manual Testing in Other Browsers
  • Add KitchenSink Story
  • Add Interaction Tests (if applicable)
  • Add changeset

Copy link

changeset-bot bot commented May 10, 2024

🦋 Changeset detected

Latest commit: 436face

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

This PR includes changesets to release 1 package
Name Type
@razorpay/blade Minor

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

Copy link
Contributor

github-actions bot commented May 10, 2024

✅ PR title follows Conventional Commits specification.

*
* @default true
*/
isLazy?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

When would we need it to be false?

Copy link
Member Author

Choose a reason for hiding this comment

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

In case they are doing document.querySelector somewhere, or if they want to render a portal container inside Drawer (portal container has to exist in DOM all time) which was the usecase for us in SideNav.

We have similar prop in Tabs so exposed it to consumers

Copy link
Collaborator

@chaitanyadeorukhkar chaitanyadeorukhkar 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. I think you only need to figure out that delay thing if its causing some issues, otherwise lets ship it 🚀

@saurabhdaware saurabhdaware merged commit 0d3e260 into master May 28, 2024
14 checks passed
@saurabhdaware saurabhdaware deleted the sidenav/impl-iscurrentpage branch May 28, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants