Skip to content

Conversation

@wzc520pyfm
Copy link
Collaborator

@wzc520pyfm wzc520pyfm commented Apr 21, 2025

Omit the style prop form the params passed to antd picker.

📦 Modified package

  • @oceanbase/design
  • @oceanbase/ui
  • @oceanbase/icons
  • @oceanbase/charts
  • @oceanbase/util
  • @oceanbase/codemod
  • Other (about what?)

🤔 This is a ...

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

🔗 Related issue link

💡 Background and solution

外部传进来的 styleclassName 参数应当仅作用于DateRanger 跟组件,不应该传入到DatePicker.RangePicker

📝 Changelog

Language Changelog
🇺🇸 English - fix(ui): [date-ranger]: omit the style and className prop form the params passed to antd picker.
🇨🇳 Chinese - 🐞 修复 DateRanger styleclassName 应该仅对根组件生效、不应该对 RangePicker 生效的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Tests is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link

github-actions bot commented Apr 21, 2025

@wzc520pyfm wzc520pyfm changed the title fix(ui): [date-ranger]: omit style prop form params passed to antd picker fix(ui): [date-ranger]: omit style and className prop form params passed to antd picker Apr 23, 2025
@dengfuping dengfuping merged commit ee236fa into master Apr 25, 2025
6 checks passed
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.

3 participants