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(module: datepicker): use custom suffix icon in RangePicker compo… #2935

Merged

Conversation

wss-javeney
Copy link
Contributor

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

The RangePicker component accepts a RenderFragment for SuffixIcon but was not using it. This PR has the base date picker component for End Date accept the RenderFragment.

💡 Background and solution

image

📝 Changelog

Language Changelog
🇺🇸 English Use SuffixIcon passed to RangePicker to allow for a custom suffix icon
🇨🇳 Chinese 使用傳遞給 RangePicker 的 SuffixIcon 以允許自定義後綴圖標

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@pr-triage pr-triage bot added the PR: draft label Dec 7, 2022
@dnfadmin
Copy link

dnfadmin commented Dec 7, 2022

CLA assistant check
All CLA requirements met.

@github-actions
Copy link

github-actions bot commented Dec 7, 2022

@wss-javeney wss-javeney marked this pull request as ready for review December 7, 2022 20:43
@ElderJames
Copy link
Member

Thank you for contribution @wss-javeney . Pleaes sign the CLA.

@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

Base: 43.58% // Head: 43.57% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (4430a4b) compared to base (67eff2b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2935      +/-   ##
==========================================
- Coverage   43.58%   43.57%   -0.01%     
==========================================
  Files         551      551              
  Lines       25934    25934              
  Branches      263      263              
==========================================
- Hits        11304    11302       -2     
- Misses      14590    14592       +2     
  Partials       40       40              
Impacted Files Coverage Δ
components/date-picker/RangePicker.razor 44.00% <ø> (ø)
components/core/Component/Overlay/Overlay.razor.cs 73.83% <0.00%> (-1.75%) ⬇️
...ponents/date-picker/internal/DatePickerInput.razor 94.59% <0.00%> (+2.70%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wss-javeney
Copy link
Contributor Author

Hello @ElderJames, I am still waiting for my company's review of the CLA before I am able to sign it.

@ElderJames
Copy link
Member

All right 😅. This CLA just from the dotnet foundation, as same as the official dotnet projects.

@ElderJames ElderJames merged commit eb1ac6b into ant-design-blazor:master Dec 15, 2022
kooliokey pushed a commit to kooliokey/ant-design-blazor that referenced this pull request Jan 15, 2023
…blazor#2935)

* feat(module: datepicker): use custom suffix icon in RangePicker component

* fix whitespace in test file

* Update suffix-icon.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
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.

None yet

3 participants