-
Notifications
You must be signed in to change notification settings - Fork 20
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
improve(ui): DateRanger style #885
Conversation
王志超 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
@linhf123 国际化和选错时间交互也需要补充在这里 |
: v.format(YEAR_DATE_TIME_SECOND_FORMAT); | ||
? v.format(isCn ? YEAR_DATE_TIME_FORMAT_CN : YEAR_DATE_TIME_FORMAT) | ||
: v.format( | ||
isCn ? YEAR_DATE_TIME_SECOND_FORMAT_CN : YEAR_DATE_TIME_SECOND_FORMAT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
日期时间格式在 locale 里有定义,可以直接使用,不用单独定义,可以参考 demo https://design.oceanbase.com/components/date-picker#packages-design-src-date-picker-demo-global-format
@@ -4,11 +4,14 @@ | |||
|
|||
.@{prefix} { | |||
cursor: pointer; | |||
min-width: 1120px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最小宽度为 1120px 的原因是什么呢?
📦 Modified package
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
2. forward btn is no longer disabled & update text color
3. refresh is not supported when custom label is selected
4. fix style missing
5. add hover style
6. add quick time operation tooltip
7. time picker does not support cleared
8. support english date format
9. add min width is 1120
2. 不再禁用后退时间按钮
3. 刷新时间按钮在选中自定义时间时隐藏
4. 加回丢失的样式(优化按钮组边框)
5. 选择框增加 hover 样式
6. 前进/后退时间按钮添加 tooltip
7.时间选择组件不支持清空值
8. 支持英文格式日期时间
9. 优化选择框圆角和字体颜色。
☑️ Self-Check before Merge