Skip to content

feat: expose outsideClickIgnoreClass #5645

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

meriouma
Copy link
Contributor

@meriouma meriouma commented May 23, 2025

Description

Problem
We'd like to configure the name of the click outside ignore class.

Changes
Add clickOutsideIgnoreClass to the DatePicker component

To reviewers

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

Copy link

codecov bot commented May 23, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.96%. Comparing base (b9c85a2) to head (3e3d80f).
Report is 38 commits behind head on main.

Files with missing lines Patch % Lines
src/index.tsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5645      +/-   ##
==========================================
- Coverage   96.98%   96.96%   -0.03%     
==========================================
  Files          30       30              
  Lines        3355     3365      +10     
  Branches     1416     1421       +5     
==========================================
+ Hits         3254     3263       +9     
- Misses         99      100       +1     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meriouma meriouma force-pushed the dev/expose-outsideClickIgnoreClass branch from bf631a0 to 8eee286 Compare May 23, 2025 15:11
@meriouma meriouma force-pushed the dev/expose-outsideClickIgnoreClass branch from 8eee286 to b1150b1 Compare May 23, 2025 15:12
@martijnrusschen
Copy link
Member

Can you check the code coverage and see if there's something you can add to get to our coverage levels?

@martijnrusschen
Copy link
Member

@claude review this code

Copy link
Contributor

claude bot commented May 24, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

martijnrusschen and others added 5 commits May 25, 2025 14:38
Adds test case to cover the scenario where outsideClickIgnoreClass is
explicitly set to undefined, ensuring the fallback to default props
is properly tested and improves test coverage for line 1327 in index.tsx.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@meriouma
Copy link
Contributor Author

Can you check the code coverage and see if there's something you can add to get to our coverage levels?

I tried, I think the issue is with codecov, as I believe the code should be covered with the tests.

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.

2 participants